Open jarod opened 8 months ago
I'm guessing this is GNOME? It is expected that wl-clipboard-rs doesn't work there since mutter doesn't implement the wlr-data-control protocol. The way wl-clipboard works is with a hack where it spawns a 1x1 window for a splitsecond, then relies on the compositor to give it focus automatically, and uses the standard Wayland clipboard protocol. This hack is not implemented in wl-clipboard-rs.
I'm guessing this is GNOME? It is expected that wl-clipboard-rs doesn't work there since mutter doesn't implement the wlr-data-control protocol. The way wl-clipboard works is with a hack where it spawns a 1x1 window for a splitsecond, then relies on the compositor to give it focus automatically, and uses the standard Wayland clipboard protocol. This hack is not implemented in wl-clipboard-rs.
Thanks for explaining the cause. My machine is running on Ubuntu with GNOME. Is there a plan to implement the hack for wl-clipboard-rs? it will making wl-clipboard-rs a more useful tool.
No concrete plans.
Same issue with Crostini (Linux VMs in ChromeOS), and yes, wl-clipboard
works fine there.
while
wl-clipboard 2.2.0
works fine on the same system.