bugaevc / wl-clipboard

Command-line copy/paste utilities for Wayland
GNU General Public License v3.0
1.62k stars 60 forks source link

--paste-once not working (wayland chrome) #139

Closed cartok closed 2 years ago

cartok commented 2 years ago

Hello, I use swayshot which uses wl-copy with the --paste-once option. The man page of wl-clipboard has the information that it might not work properly with XWayland windows. In my case I try to paste an image into chrome (wayland, ms-teams). Not 100% sure if this is the right place for the report or if it should be chrome? Without the option it works fine.

YaLTeR commented 2 years ago

This is not wl-clipboard, it's just how xwayland apps generally work with the clipboard, that is incompatible with --paste-once.

cartok commented 2 years ago

Im running chrome in wayland not xwayland though

YaLTeR commented 2 years ago

Then it's likely a chrome issue.

cartok commented 2 years ago

Ok chrome depends on gtk3 and gdk did not implement persistant storage for wayland yet, found this: https://github.com/jtheoof/swappy#limitations