https://bugs.kde.org/show_bug.cgi?id=507792

Karcsesz <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #18 from Karcsesz <[email protected]> ---
Been also running into this issue on EndeavorOS (Arch Linux) for a few versions
now. Currently running Plasma 6.5.3

I've done some surface level debugging using WAYLAND_DEBUG=1 and managed to
compare a successful copy and a failed copy. It seems that the image copy flow
gets interrupted by the selection getting set to nil.

Successful copy:
-------------------------
[...]
[2520665.344] {Default Queue}
ext_data_control_offer_v1#4278190087.offer("image/webp")
[2520665.346] {Default Queue}
ext_data_control_offer_v1#4278190087.offer("image/xbm")
[2520665.348] {Default Queue}
ext_data_control_offer_v1#4278190087.offer("image/xpm")
[2520665.350] {Default Queue}
ext_data_control_device_v1#49.selection(ext_data_control_offer_v1#4278190087)
[2520665.353] {Default Queue}  ->
ext_data_control_offer_v1#4278190083.destroy()
[2520665.358] {Default Queue} wl_callback#67.done(167492)
[2520666.050] {Default Queue} wl_data_source#77.send("application/x-qt-image",
fd 32)
[2520670.153] {Default Queue} wl_data_source#77.send("application/x-qt-image",
fd 37)
[...]
-------------------------

Failed copy:
-------------------------
[...]
[3038509.436] {Default Queue}
ext_data_control_offer_v1#4278190087.offer("image/webp")
[3038509.437] {Default Queue}
ext_data_control_offer_v1#4278190087.offer("image/xbm")
[3038509.439] {Default Queue}
ext_data_control_offer_v1#4278190087.offer("image/xpm")
[3038509.440] {Default Queue}
ext_data_control_device_v1#49.selection(ext_data_control_offer_v1#4278190087)
[3038509.442] {Default Queue}  ->
ext_data_control_offer_v1#4278190083.destroy()
[3038509.446] {Default Queue} wl_data_device#13.selection(nil)
[3038509.447] {Default Queue}  -> wl_data_offer#4278190086.destroy()
[3038509.450] {Default Queue} ext_data_control_device_v1#49.selection(nil)
[3038509.452] {Default Queue}  ->
ext_data_control_offer_v1#4278190087.destroy()
[3038509.455] {Default Queue} wl_data_source#65.cancelled()
[3038509.457] {Default Queue}  -> wl_data_source#65.destroy()
[3038509.459] {Default Queue} wl_callback#66.done(154796)
[...]
-------------------------

I've managed to reproduce the issue with Spectacle launched from command line,
launched via PrtScr, and copies failed both when pressing Ctrl+C in Spectacle
and when clicking on the copy button.

Is there some way to monitor all Wayland messages sent and received by KWin?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to