wl-clipboard icon indicating copy to clipboard operation
wl-clipboard copied to clipboard

wl-paste --watch requires extra copy actions to copy text from LibreWolf

Open SturgeonInc opened this issue 9 months ago • 1 comments

If I try to copy text from a webpage in LibreWolf, sometimes the selected text does not get copied. Using the line

wl-paste --watch cat 

I can see that it instead outputs the previously copied text sometimes rather than the newly selected stuff. However, spamming copy a couple more times usually gets the selected text eventually.

This includes copy buttons, like the one that appears if you hover over code in GitHub (like the command above) or by selecting text and using the right-click menu.

I have not tested this on any other browsers other than LibreWolf, but terminals never seem to have this issue. Additionally, the address bar and images always seem to copy correctly.

I am on openSUSE Tumbleweed with Niri 25.05.1 and wl-clipboard 2.2.1

Edit: discovery-- the issue goes away if wl-clip-persist is not active. Should I file this bug with them?

SturgeonInc avatar Jun 02 '25 19:06 SturgeonInc

Hi,

Edit: discovery-- the issue goes away if wl-clip-persist is not active. Should I file this bug with them?

That sounds like it's the culprit then, yes.

bugaevc avatar Jun 03 '25 08:06 bugaevc