YaLTeR / wl-clipboard-rs

A safe Rust crate for working with the Wayland clipboard.
Apache License 2.0
240 stars 17 forks source link

Copying file does nothing under kwin #44

Open MrDrMcCoy opened 4 months ago

MrDrMcCoy commented 4 months ago

Hello,

I have tried to copy files into the clipboard as in the provided examples, but nothing happens.

7.5ms 07:15pm 06/06 $ wl-copy -prv < bueller.gif
11.6ms 07:16pm 06/06 $ wl-copy -prvt image/gif < bueller.gif
13.2ms 07:16pm 06/06 $ wl-copy -v < bueller.gif
13.6ms 07:18pm 06/06 $

None of these commands populate the clipboard under KDE 6.0.5 Wayland. Copying text does work, however.

Interestingly, when I add --foreground, the app hangs.

I've attached the output of strace -vkinyyYo strace-wl-copy.txt wl-copy -fprvt image/gif < bueller.gif, in case that helps. strace-wl-copy.txt