Bug 340734 - Klipper fails to copy pre-selected links in Firefox but does in Chrome
Summary: Klipper fails to copy pre-selected links in Firefox but does in Chrome
Status: RESOLVED NOT A BUG
Alias: None
Product: klipper
Classification: Applications
Component: general (show other bugs)
Version: 4.96.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Flöser
URL: https://www.youtube.com/watch?v=w9q-o...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-07 15:56 UTC by Sudhir Khanger
Modified: 2014-11-23 05:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sudhir Khanger 2014-11-07 15:56:36 UTC
I have set Klipper to "Synchronize contents of the clipboard and the selection". From what I understand by the setting is to copy anything that gets selected. Some websites, a notable example would be Imgur, preselect links to be copied. They get selected with a single click but Klipper doesn't copy them on Firefox but copies them in Chrome. Klipper fails to copy pre-selected links in Firefox. Please see an example video at https://www.youtube.com/watch?v=w9q-o37ELgs&feature=youtu.be

Reproducible: Always

Steps to Reproduce:
1. Upload an image on Imgur.com
2. Set Klipper to Synchronize contents of the clipboard and the selection
3. click any of the links shown by Imgur.

Actual Results:  
Pre-selected links aren't copied.

Expected Results:  
If a user makes it clear to to "Synchronize contents of the clipboard and the selection" then anything that gets selected should be copied to clipboard/Klipper.
Comment 1 Martin Flöser 2014-11-07 16:36:32 UTC
are the entries added to klipper at all? It sounds to me like Firefox never sets the data on the selection.
Comment 2 Sudhir Khanger 2014-11-07 17:09:15 UTC
No entries are added to the Klipper in single click. You have to click a few times for it copy to Klipper. The problem with pre-selected clicks is also that you can't un-select them and then select manually. All you can do it click them a few times and hope that they get copied.
Comment 3 Martin Flöser 2014-11-07 19:11:11 UTC
sorry, but that sounds like it's a firefox issue. Please also test whether a middle click would insert it. If it doesn't, it's firefox.
Comment 4 Sudhir Khanger 2014-11-07 19:41:14 UTC
No, not even middle click registers it with Klipper in Firefox. On Chrome both left and middle click will make an entry in Klipper.
Comment 5 Martin Flöser 2014-11-10 08:06:03 UTC
no that's not what I meant: when one selects with the left mouse button the application (in this case Firefox) is supposed to copy the selection into a special buffer which can then be used by middle click into a different window.

E.g.
1. select in Firefox with left click
2. switch to a kwrite window
3. middle click

Expected Result:
text copied into kwrite

Actual Result:
???
Comment 6 Sudhir Khanger 2014-11-10 16:31:10 UTC
After left-clicking the pre-selected link and then middle click in Kwrite pastes the previously copied item and not the pre-selected link that should have been copied.
Comment 7 Martin Flöser 2014-11-10 18:02:04 UTC
Sorry, that's then inside firefox. It doesn't provide any data and Klipper cannot magically generate it ;-)
Comment 8 Sudhir Khanger 2014-11-20 12:59:55 UTC
Created a bug report for Mozilla guys to look into the issue. https://bugzilla.mozilla.org/show_bug.cgi?id=1102205