Allow pasting X primary selection using the keyboard (Shift-Insert)

UNCONFIRMED
Unassigned

Status

Thunderbird
Untriaged
UNCONFIRMED
4 years ago
27 days ago

People

(Reporter: Daniel Hahler, Unassigned)

Tracking

31 Branch
x86_64
Linux

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

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

Steps to reproduce:

While the X primary selection (what you have selected using the mouse somewhere) can be pasted using a middle mouse click, there is no way to paste it using the clipboard.

The usual shortcut for this is Shift-Insert, but this pastes the primary clipboard and therefore appears to be an alias for Ctrl-V.

I would expect Shift-Insert to behave as an alias on Windows etc (where there's no distinction between clipboard and selection), but as middle-clicking in Linux.

Comment 1

4 years ago
Is this a new problem or has it always been like that?

Comment 2

4 years ago
Could this be caused by the same bug in GTK+, where shift+insert has been bound to paste from the CLIPBOARD selection?
https://bugzilla.gnome.org/show_bug.cgi?id=643391

Philip, I don't know for sure for how long this has been around. I think it was not always like that, that some years ago Firefox worked much better with X's PRIMARY selection, but I may be mistaken.
Created attachment 8682894 [details] [diff] [review]
Proof of concept implementation

Here is a proof of concept patch to go along with the patch at 
https://bugzilla.gnome.org/show_bug.cgi?id=643391

Comment 4

27 days ago
Can this patch be incorporated into the next release please?

Thanks.
You need to log in before you can comment on or make changes to this bug.