Closed Bug 75345 Opened 25 years ago Closed 24 years ago

Non-mouse selection of text doesn't copy to clipboard

Categories

(Core :: DOM: Selection, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED FIXED
mozilla1.0.1

People

(Reporter: matt, Assigned: mjudge)

References

Details

(Whiteboard: [select])

Build 2001040910, Linux 2.4.3-ac3 i686, RedHat 6.1, XFree86 4.0.2 If I I use the shift key plus the arrow/home/end/page-up/page-down keys to select text in the URL bar, a text field, or a text area, the selection doesn't go into the clipboard; however, if I use the mouse to highlight the same selection of text, it does go into the clipboard.
Cc akkana, we probably need to add some mechanism that calls into the copy code from the caret/selection navigation code. Note that this copy mechanism needs to use a timer to avoid excessive copying when continuously arrowing down.
this must be a linux only issue, select and copy/paste on win32 and Mac works correctly
Priority: -- → P3
Target Milestone: --- → mozilla0.9.2
adding Kin to cc list -- Kin can you try this out on Linux and see if you can come up with any ideas as to why this is happening
Keywords: correctness
Whiteboard: [select]
Target Milestone: mozilla0.9.2 → mozilla1.0
I've seen the same behavior in the mail display window. I can select text with a mouse, and then yank it into an emacs, but if I select all the text with a Cntrl-A it doesn't work. (I'm also using Linux, the RedHat 6.2 distribution).
I assume this bug is about the primary selection, not the X11 clipboard (which is independend of the selection until you issue a copy command). See also bug #70519 for more info on this issue. Duplicate?
Yes, primary. At least, I'm not the submitter, but as a longtime X user I find the current behavior surprising and would expect these selections to be autocopied to primary. Not sure if it's a dup of bug 70519 or not; my first guess is that these are two different patches of code in unrelated places which both need to be changed to do the autocopy properly. (Selection extension is in the Frame code somewhere, while I suspect SelectAll might be somewhere else, maybe doc shell?) They might need the same fix, but in two different places.
*** Bug 110245 has been marked as a duplicate of this bug. ***
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 (you can query for this string to delete spam or retrieve the list of bugs I've moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
This bug is fixed as of build 2001120308; in fact, it's been fixed for a week or so.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.