Open
Bug 339398
Opened 19 years ago
Updated 4 years ago
Selection highlighting on app blur differs for editable/non-editable areas
Categories
(Core :: DOM: Selection, defect, P5)
Tracking
()
NEW
People
(Reporter: zerodpx, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
When the application window blurs, any existing selections change their highlight style. For selections in non-editable content, we use SELECTION_DISABLED (I think; I don't have access to my build right now), which is generally just a "dimmed" selection. However, for selections in editable content, the selection disappears entirely. When the window receives focus again, the selection reappears.
These should be made consistent (both using SELECTION_DISABLED, presumably).
Reporter | ||
Comment 1•19 years ago
|
||
Turns out fixing this exposes how broken our selection behavior is when it comes to ensuring there is a single selection at any time. I'll attach a patch shortly, but it can't be applied until bug 339400 gets fixed.
Depends on: 339400
Reporter | ||
Comment 2•19 years ago
|
||
This patch changes the selection type correctly, but since we don't properly handle selections in non-focused areas, it looks really bad. Just try the patch and start making selections in various editable areas if you want to see what I mean :)
Updated•17 years ago
|
Assignee: selection → nobody
QA Contact: selection
![]() |
||
Comment 3•15 years ago
|
||
Not yet fixed on Mozilla/5.0 (Windows; Windows NT 6.1; WOW64; rv:2.0b3pre) Gecko/20100727 Minefield/4.0b3pre ID:20100727085918
This visual issue causes unexpected behavior drag & drop text onto texterea.
The hidden selected text in the textarea will be replaced by the dragdropped text.
Comment 4•4 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.
If you have reason to believe this is wrong, please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•