Firefox doesn't send any data with pre-selected links to be copied by clipboard manager Klipper




4 years ago
a year ago


(Reporter: sudhir, Unassigned, NeedInfo)



33 Branch

Firefox Tracking Flags

(Not tracked)




4 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0
Build ID: 20141113113219

Steps to reproduce:

Set Klipper to "Synchronize contents of the clipboard and the selection" which copies anything that gets selected. 

Sites that have links that are pre-selected when you left-click on them should also be copied to Klipper when I left click them. An example of such site would be which will give you pre-selected links for image uploaded.

Here is a video to show the problem

Here is the upstream Klipper bug.

Actual results:

No data is sent to Klipper

Expected results:

Anythingh that is selected should be copied to Klipper is it is set to "Synchronize contents of the clipboard and the selection"

Comment 1

4 years ago
Reading the upstream bug, I don't understand. AIUI middle click normally (ie without Klipper) pastes from the clipboard, not from a magical selection buffer. If the text is selected and e.g. hitting ctrl-c copies it (which it does for me on imgur), I don't understand what you think Firefox should do differently.
Flags: needinfo?(sudhir)
Flags: needinfo?(mgraesslin)

Comment 2

4 years ago
Thanks for taking the time to look into it, Gijs.

I have set Klipper to copy everything that gets selected. That way I don't have to constantly Ctrl-C over and over throughout the day.

Problem with Imgur or ownCloud or any other service, that pre-selects the link/text, is that the link/text gets selected, by a single left-click, but it doesn't get copied to Klipper. Selecting pre-selected-links by single-left-click basically ignores the "Synchronize contents of the clipboard and the selection" of Klipper and it doesnt' get copied.

As you can see in the video attached that Chrome honors "Synchronize contents of the clipboard and the selection" setting and simply single-left-click copies the pre-selected-link to Klipper. There is no need to hit Ctrl-C. On Firefox, you have to hit Ctrl-C for Klipper to copy the pre-selected-link

So either Firefox is not sending the data or Klipper is copying/accepting the data.

Please let me know if I am not clear enough.
Flags: needinfo?(sudhir)

Comment 3

4 years ago
What I meant was, this bug needs more technical details indicating what Firefox is or isn't doing (right) here. I am unfamiliar with X's inner workings, but a bit of googling implies that per your expectations, Firefox should be updating the app's PRIMARY selection clipboard, and isn't doing that here. I don't know what causes that to not happen. The bug could be anywhere from the DOM methods that these websites are using to the GTK code that deals with X. Either way, this bug would really benefit from a reduced testcase that reproduces the problem, and more technical details as to what is/isn't happening (instead of me guessing :-) ).
Component: Untriaged → Untriaged
Keywords: testcase-wanted
Product: Firefox → Core

Comment 4

3 years ago
Hi Sudhir, 

As I can see, the video describing the problem is no longer available (  

Could you please provide a reduced test case example? You can find  useful information at and

If you can't provide that could you, at least, give the exact steps to follow (which links you click on, etc).
Flags: needinfo?(sudhir)

Comment 5

3 years ago
I have no idea what a test case is. I have moved on. Thanks.
Last Resolved: 3 years ago
Flags: needinfo?(sudhir)
Resolution: --- → INVALID
Moving from Core::Untriaged to Core::General
Component: Untriaged → General
You need to log in before you can comment on or make changes to this bug.