xwayland-satellite/tests
En-En 334933b212 test: demo crash on huge Wayland to X transfer
I found an oversight where trying to transfer too much data (16 MiB
in my case) from a Wayland selection to an X window causes the X
connection to be unable to poll the event with a `ClosedReqLenExceed`
error.

To replicate, start `xwls`, use `wl-copy` to copy more data than the
`maximum-request-size` to the Wayland selection, then attempt to
transfer that selection to an X program. I found this easy to do
transferring a large, random `.bmp` file to Krita by creating its new
image from clipboard functionality.

This test replicates the observed behavior and obtains the same
panic, to be used as a starting point for implementing incremental
selections from Wayland to X.
2025-10-24 18:40:12 -04:00
..
integration.rs test: demo crash on huge Wayland to X transfer 2025-10-24 18:40:12 -04:00