Closed
Bug 695035
Opened 12 years ago
Closed 12 years ago
[GTK/X11] middle clicking in scratchpad should paste the X primary selection
Categories
(DevTools :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 11
People
(Reporter: dbaron, Assigned: msucan)
References
Details
(Whiteboard: [sourceeditor][orion])
On the Linux/X11 desktop (definitely in GNOME apps, and I think in KDE as well), selecting text should make that text the X primary selection ("PRIMARY"), such that middle clicking in an app taking text input will paste that text.
(This is because X has a longstanding copy/paste model that's somewhat more like the mental model of dragging and dropping text than the Windows/Mac copy/paste model, except using select and middle-click. The GNOME and KDE desktops have added a more Windows/Mac-like model with Copy and Paste operations in *addition* to that traditional model, but many X users use the traditional model.)
This bug reports that scratchpad does not accept the middle click input in this model (in contrast to bug 695032 which reports it doesn't place text in the selection when text is selected).
Steps to reproduce:
1. select some text in a browser window
2. Tools -> Web Developer -> Scratchpad
3. middle click in the text editor
Expected results: The text that you selected in step 1 gets pasted
Actual results: nothing
Comment 1•12 years ago
|
||
Please see https://bugzilla.gnome.org/show_bug.cgi?id=333514 for a lengthy description (written by me) of how PRIMARY/middle-mouse is supposed to work. Please note further that the discussion in that bug includes several people arguing that it should not be fixed. Those people are wrong.
| Assignee | ||
Comment 2•12 years ago
|
||
Thank you David for the bug report, and thank you Zack for your explanation of how things should work.
Whiteboard: [sourceeditor][orion]
| Assignee | ||
Comment 3•12 years ago
|
||
Bug reported upstream: https://bugs.eclipse.org/bugs/show_bug.cgi?id=361474
Updated•12 years ago
|
Priority: -- → P2
| Assignee | ||
Comment 4•12 years ago
|
||
This bug is now fixed upstream and the code has been integrated into Firefox, see bug 702331.
Assignee: nobody → mihai.sucan
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 11
Updated•5 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•