Closed
Bug 985267
Opened 12 years ago
Closed 12 years ago
Australis menu bar hard to read on Windows 7 dark third-party themes
Categories
(Firefox :: Theme, defect)
Tracking
()
RESOLVED
FIXED
Firefox 31
People
(Reporter: paridain, Assigned: Gijs)
References
Details
(Keywords: access, Whiteboard: [Australis:P3-])
Attachments
(3 files, 1 obsolete file)
|
183.17 KB,
image/png
|
Details | |
|
198.23 KB,
image/png
|
Details | |
|
3.17 KB,
patch
|
dao
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release)
Build ID: 20140318030202
Steps to reproduce:
Use a Windows 8 RT dark theme on a Windows 7 (x64) machine. Open up the Nightly build. Right-click near the top of the window and check "Menu Bar". View the lack-of-contrast in the menu bar.
Actual results:
The menu bar has very little contrast for the text and the background. It's relatively difficult to read and is very unsightly to say the least.
Expected results:
The menu bar should have been clearly readable.
I've checked https://bugzilla.mozilla.org/show_bug.cgi?id=863862, in which I observe the actual opposite happening: the inactive menu is more readable than the active menu.
This is similar to the following bug, yet that bug is marked as Windows XP-specific:
https://bugzilla.mozilla.org/show_bug.cgi?id=925156
I should note that I've used this theme without problems on the current Firefox release. It only appears to be an issue with Australis.
Comment 2•12 years ago
|
||
I think the problem is that we can't adjust the menu bar fog based on the system theme colours using CSS-alone. We would need to write code to figure out the colour value and then do something like LightweightThemes and figure out if that colour is "light" or "dark".
I think we can probably fix this more easily by moving this rule to only apply when -moz-windows-default-theme is true since the original commit said this was just for Glass. Do third-party Win7 themes use glass-like transparency? Does anyone use them?
An easier fix would be to remove or reduce the opacity of this fog now that we have the glass fog from the tabs.
Marking P3- as this can stop the menubar from being usable, especially for people who need more contrast.
Comment 3•12 years ago
|
||
We could also just make the text color black (instead of the current CaptionText/InactiveCaptionText) like we do for background tabs in this case IIRC.
| Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Matthew N. [:MattN] from comment #3)
> We could also just make the text color black (instead of the current
> CaptionText/InactiveCaptionText) like we do for background tabs in this case
> IIRC.
This. We should just not be using CaptionText for these wherever we have the fog (but we *should* be using it elsewhere, see the XP bugs mentioned originally)
| Assignee | ||
Comment 5•12 years ago
|
||
This should work. Checked that it disabled the rules on win8 with compositor. I still don't know exactly what makes this fog, but I've verified that it isn't there in aero basic, so I believe that 'not compositor' should cover it correctly.
Attachment #8393552 -
Flags: review?(jaws)
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Comment 6•12 years ago
|
||
Comment on attachment 8393552 [details] [diff] [review]
don't use captiontext when we have menubar fog (in compositor),
Seems like we'd fall back to MenuText without these rules. That's not guaranteed to be visible on the hardcoded white background either.
Attachment #8393552 -
Flags: review?(jaws) → review-
| Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 8393552 [details] [diff] [review]
don't use captiontext when we have menubar fog (in compositor),
No, we don't. See http://mxr.mozilla.org/mozilla-central/source/browser/themes/windows/browser-aero.css#131
Attachment #8393552 -
Flags: review- → review?(dao)
Comment 8•12 years ago
|
||
Comment on attachment 8393552 [details] [diff] [review]
don't use captiontext when we have menubar fog (in compositor),
The code you linked to won't change the MenuText color from menu.css, as that targets the menu elements directly.
I guess you could just use color:inherit here to pick up the right color from the toolbar.
Attachment #8393552 -
Flags: review?(dao) → review-
| Assignee | ||
Comment 9•12 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #8)
> Comment on attachment 8393552 [details] [diff] [review]
> don't use captiontext when we have menubar fog (in compositor),
>
> The code you linked to won't change the MenuText color from menu.css, as
> that targets the menu elements directly.
>
> I guess you could just use color:inherit here to pick up the right color
> from the toolbar.
Blargh. I totally blame the devtools inspector, which doesn't show these rules when inspecting the menu element in the inspector view, just the browser.css ones - oddly enough, the rules do show up under the 'computed style' view. Go figure.
| Assignee | ||
Comment 10•12 years ago
|
||
(filed bug 985547 about the devtools issue, new patch coming up)
| Assignee | ||
Updated•12 years ago
|
Attachment #8393552 -
Attachment is obsolete: true
Comment 12•12 years ago
|
||
Comment on attachment 8393602 [details] [diff] [review]
don't use captiontext when we have menubar fog (in compositor),
>+/* Make the menu inherit the toolbar's color. On non-compositor (Aero Basic, XP modern, classic)
>+ * this is defined above. Otherwise (Aero Glass, Windows 8), this is hardcoded to black in
>+ * browser-aero.css. */
>+#main-menubar > menu {
>+ color: inherit;
>+}
nit: add :not(:-moz-lwtheme), as your comment also only applies in that case. menu.css takes care of :-moz-lwtheme.
Attachment #8393602 -
Flags: review?(dao) → review+
| Assignee | ||
Comment 13•12 years ago
|
||
status-firefox29:
--- → affected
status-firefox30:
--- → affected
status-firefox31:
--- → affected
Whiteboard: [Australis:P3-] → [Australis:P3-][fixed-in-fx-team]
Comment 14•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P3-][fixed-in-fx-team] → [Australis:P3-]
Target Milestone: --- → Firefox 31
Updated•12 years ago
|
| Assignee | ||
Comment 15•12 years ago
|
||
Comment on attachment 8393602 [details] [diff] [review]
don't use captiontext when we have menubar fog (in compositor),
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Australis
User impact if declined: menu bar text is hard to read on some themes, harder to uplift the win 8 titlebar color work
Testing completed (on m-c, etc.): on m-c
Risk to taking this patch (and alternatives if risky): low
String or IDL/UUID changes made by this patch: none
Attachment #8393602 -
Flags: approval-mozilla-beta?
Attachment #8393602 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
Attachment #8393602 -
Flags: approval-mozilla-beta?
Attachment #8393602 -
Flags: approval-mozilla-beta+
Attachment #8393602 -
Flags: approval-mozilla-aurora?
Attachment #8393602 -
Flags: approval-mozilla-aurora+
| Assignee | ||
Comment 16•12 years ago
|
||
Updated•12 years ago
|
QA Whiteboard: [good first verify]
Comment 17•12 years ago
|
||
I think this should get some QA testing since we had several complaints around this and similar issues.
QA Whiteboard: [good first verify]
Keywords: verifyme
Comment 18•12 years ago
|
||
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Verified using several Windows 8 RT dark themes on Windows 7 64bit with Firefox 31 beta 5(build ID: 20140626181429).
The Australis menu bar is now visible when Active.
You need to log in
before you can comment on or make changes to this bug.
Description
•