Open Bug 1836802 Opened 1 year ago Updated 29 days ago

clipboard conflicts with xsel

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 113
defect

Tracking

()

UNCONFIRMED

People

(Reporter: rafd1788, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0

Steps to reproduce:

  1. Copy any text from firefox.
  2. Go to the terminal and type 'echo $(xsel -ob)'
  3. The xsel clipboard buffer is empty.
  4. Set new content on the clipboard 'echo test | xsel -ib'
  5. Go to firefox or any other GUI application and paste the content.
  6. The previous firefox content gets pasted.

Actual results:

xsel can't get the clipboard content from firefox, what's worse is that xsel can't clear the clipboard or set a new one.

So when any other application I tested (joplin or visual studio code) copies to the clipboard, xsel can recognize the text at PRIMARY or CLIPBOARD buffers. But firefox seems to have a "more persistent" clipboard that xsel can't recognize or clear.

To re-establish xsel behavior, I need to copy any text from other GUI application. xsel version 1.2.0.
test made on Fedora 38 KDE

Expected results:

xsel should have seen the content from firefox and any modification on the clipboard made in xsel should have been pasted on firefox.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Blocks: gtkclipboard
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.