Closed
Bug 1288453
Opened 8 years ago
Closed 8 years ago
nsAutoCopyListener::NotifySelectionChanged doesn't get triggered for a selection changed when you click and drag to switch to a greyed out selection
Categories
(Core :: DOM: Selection, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: jimicy, Unassigned)
References
Details
Attachments
(1 file)
2.77 MB,
image/gif
|
Details |
https://developer.mozilla.org/en/docs/Web/HTML/Element/textarea
STR
1. Hold and Drag to make selection1 on paragraph text
2. Make selection2 in a focusable editor(address bar, textarea on the content page)
== selection1 becomes greyed out, but still highlighted. ==
3. Click and drag on selection1 to switch selection.
4. Middle click to paste. You will get selection2 despite selection1 being the current highlighted selection
Reporter | ||
Comment 1•8 years ago
|
||
Got more info from :acomminos who works on GTK linux. Seems the correct behavior is not to update the selection in this case. Chrome on linux has the same behavior.
For Bug 1261299, specific for macOS I'll have NotifySelectionChanged called in this case to change the current selection that will be sent to macOS services.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•