SUMMARY Received an event primary_selection requiring version >= 2 while proxy zwlr_data_control_device_v1@5 is version 1. Error: Wayland compositor communication error Caused by: Dispatch for object zwlr_data_control_device_v1@5 errored. See original issue, https://github.com/YaLTeR/wl-clipboard-rs/issues/34 This is a kwin bug (YaLTeR said) STEPS TO REPRODUCE 1. Run https://github.com/YaLTeR/wl-clipboard-rs cargo r --example clipboard 2. 3. OBSERVED RESULT wl-clipboard-rs doesnt work, but https://github.com/bugaevc/wl-clipboard works EXPECTED RESULT wl-clipboard-rs works without issue SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Kubuntu 21.10 (available in About System) KDE Plasma Version: 5.25.5 KDE Frameworks Version: 5.98.0 Qt Version: ADDITIONAL INFORMATION
Correction, the command is `cargo r --bin wl-paste` under directory wl-clipboard-rs-tools
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3587
Git commit d084629f3cc56ba1f84af451399360706f97c3ca by David Edmundson. Committed on 13/02/2023 at 09:38. Pushed by davidedmundson into branch 'master'. wayland: Version check before send_primary_selection calls This is only in v2 M +4 -2 src/wayland/datacontroldevice_v1_interface.cpp https://invent.kde.org/plasma/kwin/commit/d084629f3cc56ba1f84af451399360706f97c3ca
Git commit 3331c63ef351feb7dced2663e62e0f7459cb259a by David Edmundson. Committed on 13/02/2023 at 10:03. Pushed by davidedmundson into branch 'cherry-pick-d084629f'. wayland: Version check before send_primary_selection calls This is only in v2 (cherry picked from commit d084629f3cc56ba1f84af451399360706f97c3ca) M +4 -2 src/wayland/datacontroldevice_v1_interface.cpp https://invent.kde.org/plasma/kwin/commit/3331c63ef351feb7dced2663e62e0f7459cb259a
Git commit 0bc6600ce88703843ca314b8b3aa96ea4e51a444 by Vlad Zahorodnii, on behalf of David Edmundson. Committed on 13/02/2023 at 11:41. Pushed by vladz into branch 'Plasma/5.27'. wayland: Version check before send_primary_selection calls This is only in v2 (cherry picked from commit d084629f3cc56ba1f84af451399360706f97c3ca) M +4 -2 src/wayland/datacontroldevice_v1_interface.cpp https://invent.kde.org/plasma/kwin/commit/0bc6600ce88703843ca314b8b3aa96ea4e51a444