Closed Bug 1165718 Opened 9 years ago Closed 9 years ago

Dev theme, Menu text and toolbutton is almost invisible on Windows7 Classic

Categories

(Firefox :: Theme, defect)

41 Branch
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 42
Tracking Status
firefox40 --- ?
firefox41 + verified
firefox42 --- verified

People

(Reporter: alice0775, Assigned: bgrins)

References

Details

(Keywords: regression)

Attachments

(3 files)

[Tracking Requested - why for this release]:

Build Identifier:
https://hg.mozilla.org/mozilla-central/rev/2f6ea66057fe
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 ID:20150517030204

This happens on Windows7 Classic Style.
This happens if Titlebar disabled and not maximized window.

STR
1. Switch to Dev theme if not


Actual Results:
Menu text is almost invisible.
   (Black text and Dark blue background)

Toolbutton is not invert color in NavBar and MenuBar
   (Black button image and Dark blue background)

Expected Results:
The browser UI should be readable
I can confirm this:

Build: https://hg.mozilla.org/releases/mozilla-aurora/rev/24460b808b17
ID: 20150517004004

Firefox 32-bit, on Win7 x64 with classic style and no aero - multiprocess not enabled.
Tracking for firefox41 given the negative user experience of unreadable browser menu.
Gijs, would you be able to help me find an owner for this bug? There hasn't been any activity on this once since ~2 months. Thanks!
Flags: needinfo?(gijskruitbosch+bugs)
Brian, do you have cycles to look at this?
Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(bgrinstead)
screenshot of the problem on the light theme
It's inheriting `color: #000;` that's being set on the main window due to the lightweight theme: https://dxr.mozilla.org/mozilla-central/source/toolkit/modules/LightweightThemeConsumer.jsm#121.  For normal lightweight themes it doesn't matter because the theme's accentcolor is the background on which the menu is printed.
Attached patch win7-classic-deved-menu.patch (deleted) — Splinter Review
Had to copy in some styles from browser.css, but remove the not(:-moz-lwtheme) from it.  Not sure if there is a better way to deal with stuff like this.  Relevant styles: https://dxr.mozilla.org/mozilla-central/source/browser/themes/windows/browser.css#122-137
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Flags: needinfo?(bgrinstead)
Attachment #8632269 - Flags: review?(gijskruitbosch+bugs)
screenshot with patch applied
Comment on attachment 8632269 [details] [diff] [review]
win7-classic-deved-menu.patch

Review of attachment 8632269 [details] [diff] [review]:
-----------------------------------------------------------------

Makes sense to me.

You may want to add a note to the original CSS asking people to update this CSS as well if they change anything.
Attachment #8632269 - Flags: review?(gijskruitbosch+bugs) → review+
remote:   https://hg.mozilla.org/integration/fx-team/rev/bcd122bc666a
Whiteboard: [fixed-in-fx-team]
Flags: qe-verify+
https://hg.mozilla.org/mozilla-central/rev/bcd122bc666a
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 42
Blocks: 1172716
Comment on attachment 8632269 [details] [diff] [review]
win7-classic-deved-menu.patch

Approval Request Comment
[Feature/regressing bug #]: n/a
[User impact if declined]:  Almost invisible text and toolbutton on Windows7 Classic and wrong colors in DevEdition Win 10 (since bug 1172716 depends on this patch)
[Describe test coverage new/current, TreeHerder]: n/a
[Risks and why]: Wrong colors
[String/UUID change made/needed]: n/a
Attachment #8632269 - Flags: approval-mozilla-aurora?
Comment on attachment 8632269 [details] [diff] [review]
win7-classic-deved-menu.patch

Approved as it's a patch with a very low risk associated and it's been in m-c for a few days.
Attachment #8632269 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Confirming this fix using the STR from the description using:
- latest Nightly, build ID: 20150722030205;
- latest Aurora, build ID: 20150722004007.
Status: RESOLVED → VERIFIED
QA Contact: cornel.ionce
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: