Open Bug 1070518 Opened 10 years ago Updated 2 months ago

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

Categories

(MailNews Core :: Composition, defect)

x86_64
Linux
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: mozilla-bugs, Unassigned)

References

Details

(Whiteboard: [patchlove])

Attachments

(1 file)

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.
Is this a new problem or has it always been like that?
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.
Here is a proof of concept patch to go along with the patch at 
https://bugzilla.gnome.org/show_bug.cgi?id=643391
Can this patch be incorporated into the next release please?

Thanks.
Component: Untriaged → Composition
Product: Thunderbird → MailNews Core
Whiteboard: [patchlove]
Version: 31 Branch → 31
I would also like this patch to be merged; can confirm that at least 5+ years ago, Firefox worked well with X's PRIMARY selection, and SHIFT-INSERT did paste PRIMARY rather than CLIPBOARD.

This should be assigned to the "Firefox" product.

I'm not sure why the Product was changed to Thunderbird -> MailNews Core when this bug is clearly talking about Firefox. But I can confirm that it also affects Thunderbird.

I would like to see this bug's status changed to "CONFIRMED", since it's clear that X11 users are all struggling with the usability of the current handling of the primary selection. I'll note that both the ICCM and Freedesktop.Org human interface guidelines say that highlighted text is automatically the X11 primary selection. Firefox does not follow these guidelines, which I believe is the root cause of the current bug's usability issues.

This bug is definitely relevant to firefox and is blocking myself and may others I know from switching back to firefox. The product field was incorrectly changed 4 years ago. Should I just file a new bug and refer to this one?

Severity: normal → S3

why has this patch not been accepted!?

it is a serious UX inconsistency under X
(the likes of which would not be tolerated in macOS, for example)

it's also astounding that it has persisted for more than two decades: bug 228011

please fix it!

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

Attachment

General

Created:
Updated:
Size: