Closed
Bug 416559
Opened 16 years ago
Closed 16 years ago
Hard-coded auto-completion pop-ups foreground color
Categories
(Toolkit :: Autocomplete, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.9beta5
People
(Reporter: adelfino, Assigned: ispence)
Details
Attachments
(3 files)
125.42 KB,
image/png
|
Details | |
127.40 KB,
image/png
|
Details | |
1.17 KB,
patch
|
asaf
:
review+
damons
:
approval1.9+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b4pre) Gecko/2008020908 Minefield/3.0b4pre Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b4pre) Gecko/2008020908 Minefield/3.0b4pre Hard coded black color makes it difficult for persons using dark themes to see the suggestions. See attachment. Reproducible: Always
Reporter | ||
Updated•16 years ago
|
Version: unspecified → Trunk
Reporter | ||
Comment 1•16 years ago
|
||
Screen shot.
Comment 2•16 years ago
|
||
Does this only apply to the search box autocomplete results, or are all autocomplete popups affected? Do you know where the color is hardcoded?
Updated•16 years ago
|
Summary: Hard coded search suggestions foreground color → Hardcoded search suggestions foreground color
Reporter | ||
Comment 3•16 years ago
|
||
(In reply to comment #2) > Does this only apply to the search box autocomplete results, or are all > autocomplete popups affected? Do you know where the color is hardcoded? > All auto-complete pop-ups are affected (location bar, File ▸ Open Location... window, form auto-complete, search suggestions).
Summary: Hardcoded search suggestions foreground color → Hardcoded auto-completion pop-ups foreground color
Reporter | ||
Updated•16 years ago
|
Flags: blocking-firefox3?
Comment 4•16 years ago
|
||
Can you use the DOM Inspector to find where the foreground color is hardcoded?
Component: Search → Autocomplete
Flags: blocking-firefox3?
Product: Firefox → Toolkit
QA Contact: search → autocomplete
Comment 5•16 years ago
|
||
I guess that might be hard to do because the autocomplete popup goes away when you switch windows. I don't see anything obvious in http://lxr.mozilla.org/seamonkey/source/toolkit/themes/gnomestripe/global/autocomplete.css .
Reporter | ||
Comment 6•16 years ago
|
||
Reporter | ||
Comment 7•16 years ago
|
||
No, I don't know where the color is hardcoded. I can use DOM Inspector to get to the auto-complete list, but I'm not sure I know how to use the information it provides. You can get to it following this steps: 1. In DOM Inspector, Search ▸ Select Element by Click 2. Go to browser window with a key binding 3. Focus search bar with <Ctrl> + K 4. Type something 5. Click any suggestion
Reporter | ||
Comment 8•16 years ago
|
||
(In reply to comment #7) > 1. In DOM Inspector, Search ▸ Select Element by Click > 2. Go to browser window with a key binding > 3. Focus search bar with <Ctrl> + K > 4. Type something > 5. Click any suggestion This steps should be done after selecting a browser window chrome document to inspect.
Reporter | ||
Updated•16 years ago
|
Flags: blocking1.9?
Comment 10•16 years ago
|
||
Ventnor to confirm.
Comment 11•16 years ago
|
||
High-contrast inverse (the most common dark theme) doesn't show this problem. So I'd like to know what system colour we use for dropdowns, and also how to get the system colour shown in the native dropdowns.
Comment 12•16 years ago
|
||
General note: many dark gtk themes are broken by design, either because the gtkrc does not cover all common use cases or because the engine does not support it properly. Many custom widgets have problems with dark themes, too. There was even discussion to make a dark theme the default on the next unstable gnome to better see where problems occur. Long story short: if some dark themes show problems, you will have to look very closely if firefox is really the problem.
Assignee | ||
Comment 13•16 years ago
|
||
Throwing out a possible cause We essentially have "menupopup > tree" According to a quick glance at the style rules shown in the dom inspector, the elements have the color -moz-fieldtext while being painted over a rectangle with the CSS "-moz-appearance: menupopup;" In the style he is using, the text entries use black text since the background is a light gray. However, menupopup has a much darker background, leading to this problem. So a fix is likely to add the following .autocomplete-tree, .autocomplete-richlistbox { color: MenuText !important; } in toolkit/themes/gnomestripe/global/autocomplete.css
Reporter | ||
Comment 14•16 years ago
|
||
(In reply to comment #12) > Long story short: if some dark themes show problems, you will have to look very > closely if firefox is really the problem. But I have already shown that auto-complete looks OK in native GTK+, see attachment 416559 [details].
Reporter | ||
Updated•16 years ago
|
Summary: Hardcoded auto-completion pop-ups foreground color → Hard-coded auto-completion pop-ups foreground color
Assignee | ||
Comment 15•16 years ago
|
||
My guess in comment #13 was actually pretty close This fixes the issue with normal autocompletes as well as the awesomebar
Assignee: nobody → ispence
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #309087 -
Flags: review?(mano)
Comment 16•16 years ago
|
||
Comment on attachment 309087 [details] [diff] [review] Fixes text color for autocomplete dropdowns r=mano
Attachment #309087 -
Flags: review?(mano) → review+
Assignee | ||
Updated•16 years ago
|
Attachment #309087 -
Flags: approval1.9?
Updated•16 years ago
|
Component: Autocomplete → Theme
Product: Toolkit → Firefox
QA Contact: autocomplete → theme
Comment 17•16 years ago
|
||
Comment on attachment 309087 [details] [diff] [review] Fixes text color for autocomplete dropdowns a1.9+=damons
Attachment #309087 -
Flags: approval1.9? → approval1.9+
Updated•16 years ago
|
Keywords: checkin-needed
Updated•16 years ago
|
Component: Theme → Autocomplete
Product: Firefox → Toolkit
QA Contact: theme → autocomplete
Comment 18•16 years ago
|
||
Checking in toolkit/themes/gnomestripe/global/autocomplete.css; /cvsroot/mozilla/toolkit/themes/gnomestripe/global/autocomplete.css,v <-- autocomplete.css new revision: 1.19; previous revision: 1.18 done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9beta5
Reporter | ||
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•