Closed
Bug 1163974
Opened 10 years ago
Closed 10 years ago
[Gtk3] [Dark theme] text in highlighted preferences (about:preferences) is unreadable
Categories
(Firefox :: Settings UI, defect)
Tracking
()
RESOLVED
FIXED
Firefox 41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
Details
Attachments
(3 files, 1 obsolete file)
28.77 KB,
image/png
|
Details | |
1.26 KB,
patch
|
Gijs
:
review+
|
Details | Diff | Splinter Review |
1.04 KB,
patch
|
Details | Diff | Splinter Review |
Fedora/Gtk3/Dark theme
Dark theme in Gtk3 means that system uses white text on black background. On the preferences pannel (about:preferences), highlighted texts (on mouse over) are rendered by white color on white background.
moz-buttonhovertext is used for the highlighted text color. Other colors seems to be hardcoded. I expect we should also hardcode the color for selected item.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Example of the highlighted text in dark color theme.
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8608761 [details] [diff] [review]
simple fix
Can you please look at it? Thanks!
Attachment #8608761 -
Flags: feedback?(jaws)
Updated•10 years ago
|
Assignee: nobody → stransky
Status: NEW → ASSIGNED
Comment 4•10 years ago
|
||
Comment on attachment 8608761 [details] [diff] [review]
simple fix
Review of attachment 8608761 [details] [diff] [review]:
-----------------------------------------------------------------
Sorry, but I'm not sure about this change either, redirecting to Gijs who may have a more solid opinion on it.
Attachment #8608761 -
Flags: feedback?(jaws) → feedback?(gijskruitbosch+bugs)
Comment 5•10 years ago
|
||
Comment on attachment 8608761 [details] [diff] [review]
simple fix
What is this patch actually trying to do? Just adjust the text color of the labels of hovered radio items? Where is the rule that is setting this to begin with? You're updating the hover color for the entire radio checkmark tree. Is that really necessary?
New rules should be specific to the case in question, and ideally linux-only (use http://mxr.mozilla.org/mozilla-central/source/toolkit/themes/linux/global/in-content/common.css instead of common.inc.css, unless the problem is the same on Windows with dark themes, or something (seems unlikely, but possible)).
Attachment #8608761 -
Flags: feedback?(gijskruitbosch+bugs)
Assignee | ||
Comment 6•10 years ago
|
||
The origin is here:
http://mxr.mozilla.org/mozilla-central/source/toolkit/themes/linux/global/checkbox.css#81
81 checkbox:not([disabled="true"]):hover {
82 color: -moz-buttonhovertext;
83 text-shadow: none;
84 }
where -moz-buttonhovertext is white on dark color themes so we need a fixed color for this. This bug affects Linux only.
Assignee | ||
Comment 7•10 years ago
|
||
What about this one? It uses the same color for normal/hovered text color (like on Windows).
Attachment #8608761 -
Attachment is obsolete: true
Attachment #8616859 -
Flags: review?(gijskruitbosch+bugs)
Comment 8•10 years ago
|
||
Comment on attachment 8616859 [details] [diff] [review]
patch
Review of attachment 8616859 [details] [diff] [review]:
-----------------------------------------------------------------
Please make this one rule (ie combine the selectors) and append it after the other radio rules, and add a comment before it explaining why we need to do this.
Attachment #8616859 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 9•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 10•10 years ago
|
||
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
You need to log in
before you can comment on or make changes to this bug.
Description
•