Open
Bug 47796
Opened 24 years ago
Updated 2 years ago
selected text loses background color when dialog box opens
Categories
(Core :: DOM: Selection, defect, P4)
Tracking
()
NEW
Future
People
(Reporter: newt, Unassigned)
References
()
Details
(Whiteboard: [nsbeta3-][p:4])
Linux/x86/glibc with talkback nightly 2000-08-05-04-M17. Select some text on a page; on Linux, color changes from default black-on-gray192 to white-on-blue. Do "save image as..." or another operation that opens a dialog box; as soon as dialog box appears, blue background changes to gray176, but foreground remains white (and text remains selected/pastable). In my tests, the dialog box opens completely outside the browser window (upper left corner of display); the selected text is never covered. Subsequently covering the selected text, either with another window or by scrolling, fails to affect the white-on-gray176 appearance.
Comment 1•24 years ago
|
||
This looks like the issue raised in bug 36848, "Should only be one selection per window" again, as you predicted, Eli. Greg, the selected text does revert back to normal white-on-blue colours once you close the dialog, right? If so, take a look at bug 36848 and say whether you think this bug is about the same issue (and whether you agree with WONTFIX); if not, please give details about what *does* happen. Thanks.
Reporter | ||
Comment 2•24 years ago
|
||
Yes, it's similar or identical to bug 36848. It does NOT revert to "normal" highlight colors when the dialog box goes away, nor (per 36848) when I click on the scrollbar, nor when I hit the Tab key. Eli and/or Mike, it's your call whether this one remains open or the older one reopens, but it's definitely broken. To wit: (1) The dialog box contains no highlighted text, yet the main-window selection turns gray. (2) The selection is still active (i.e., what gets pasted) even though it's gray. (3) Selecting main-window text, then URL-bar text, then *clicking* in the URL bar to make its highlight go away, does not deactivate the formerly selected text in the URL bar; it's still active, but it isn't highlighted. I was also able to trigger a crash this way (once), but I can't reproduce that. (4) Pasting ex-URL-bar text into the main window area causes the grayed-out selection there to re-blue itself, but the pasting actually goes *into* the URL bar (replacing the entire contents *and entering it* even though the selection did not include a newline), and a new page comes up shortly thereafter. Also, the brief blue-highlight does not "take"; the ex-URL-bar text remains active even though the main-window text was blue before going to the new page. (5) Mozilla has no clue about selected X text in *other* applications, so its selections remain blue even when they're not active. It only turns gray when the other text is pasted in Mozilla's window, by which time it's too late. (6) If the selected text is already white-on-blue, there is absolutely no visual feedback that it's also selected. I assume this is similarly true of white-on-gray176. So call this a feature if you wish, but it violates the Principle of Least Astonishment in multiple regards and will cause you endless grief until you do something sensible about it. My recommendation would be to disable it entirely until it's at least vaguely close to working. (And maybe talk to some UI experts, too. :-) ) Greg
Comment 4•24 years ago
|
||
*SPAM*: Changing the QA contact of all open/resolved Selection bugs from elig@netscape.com to BlakeR1234@aol.com. After the many great years of service Eli has given to Mozilla, it's time for him to move on; he has accepted a position at Eazel. We'll be sad to see him go, and I'll do my best to fill his spot...
QA Contact: elig → BlakeR1234
Comment 5•24 years ago
|
||
will try to get to this before nsbeta3
Priority: P3 → P4
Whiteboard: [nsbeta3+] → [nsbeta3+][p:4]
this appears to be different on different window managers. I am looking into the ability for mozilla with autocopy on to not grey the selection on blur. and to only grey it when it is notified that it has lost the clipboard. not sure if i can get to this or not. i need pavlov for assistance i believe.
Status: NEW → ASSIGNED
i have been looking at this. it is a problem on akkanas machine but not on saari's machine. it seems that blurs/focus are being fired differently depending on your window manager.i honestly dont have a clue here whats going on the unix side. part of me wants to give this to saari, but i know he has allot to do right now. So if I give it to him I dont know how he will fix it since its so hard for him to reproduce on his machine. I will talk to him again about this today.
Reporter | ||
Comment 9•24 years ago
|
||
FWIW, I'm using fvwm2 on Slackware 7.0 (glibc 2.1.2, basically pretty up-to-date).
Comment 10•24 years ago
|
||
moving this out to future
Whiteboard: [nsbeta3+][p:4] → [nsbeta3-][p:4]
Target Milestone: M18 → Future
Comment 14•21 years ago
|
||
Changing OS to All per the bug I just duped here, I can reproduce on Win 2000 by selecting text and opening the Find dialog (Ctrl-F).
OS: Linux → All
Updated•15 years ago
|
Assignee: mjudge → nobody
Status: ASSIGNED → NEW
QA Contact: tpreston → selection
Comment 15•14 years ago
|
||
Up to date situation: - Ctrl+O (Open File...), Ctrl+S (Save Page As...) don't change the background color of text selection (HEX 5075CE) - Ctrl+L (Open Location...), Ctrl+F (Find in page...), Ctrl+J (Downloads Panel) do change the background color of text selection (HEX B0B0B0) Mozilla/5.0 (Windows; Windows NT 5.1; en-US; rv:2.0b2pre) Gecko/20100716 Minefield/4.0b2pre
Comment 16•10 years ago
|
||
Noticed this behaviour while debugging some ::-moz-selection CSS, while in the style editor it keeps reverting to the default grey selection. Additionally window focus triggers this. Comment 15 mentions Ctrl+O etc don’t change the background colour; this might have reverted since, as that also does so now. > Aurora 32 on Linux
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•