Closed Bug 1468645 Opened 6 years ago Closed 6 years ago

62 Nightly, Focused item in Menu Bar is wrong highlight color in Windows 7 with Classic Theme

Categories

(Firefox :: Theme, defect, P1)

Unspecified
Windows 7
defect

Tracking

()

VERIFIED FIXED
Firefox 63
Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- unaffected
firefox60 --- unaffected
firefox61 --- unaffected
firefox62 + verified
firefox63 --- verified

People

(Reporter: bugzilla, Assigned: dao)

References

Details

(Keywords: nightly-community, regression, reproducible)

Attachments

(5 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0 Build ID: 20180613100146 Steps to reproduce: Just click on menu item in Nightly build 20180613100146 Actual results: It's highlighted in dark blue with black text. Normally an indented greyish color. Looks like this now: https://i.imgur.com/XB6SI8a.png Expected results: It should look like this: https://i.imgur.com/lflOpak.png This is a followup to this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1437052 I ran a moz regression and got: 2018-06-13T17:18:56: INFO : Narrowed inbound regression window from [bbc9b2b5, 55ac4685] (3 builds) to [bbc9b2b5, b015b36a] (2 builds) (~1 steps left) 2018-06-13T17:18:56: DEBUG : Starting merge handling... 2018-06-13T17:18:56: DEBUG : Using url: https://hg.mozilla.org/integration/autoland/json-pushes?changeset=b015b36a001c72400eec5734dc9fcabc4ec74bff&full=1 2018-06-13T17:18:56: DEBUG : Found commit message: Bug 1437052 - Consolidate #main-menubar > menu appearance and color rules. r=Felipe MozReview-Commit-ID: 7RicXHVrbEQ 2018-06-13T17:18:56: INFO : The bisection is done. 2018-06-13T17:18:56: INFO : Stopped
Summary: Focused item in Menu Bar was wrong highlight color in Windows 7 with Classic Theme → 62 Nightly, Focused item in Menu Bar was wrong highlight color in Windows 7 with Classic Theme
Summary: 62 Nightly, Focused item in Menu Bar was wrong highlight color in Windows 7 with Classic Theme → 62 Nightly, Focused item in Menu Bar is wrong highlight color in Windows 7 with Classic Theme
Blocks: 1437052
Component: Untriaged → Theme
Keywords: regression
OS: Unspecified → Windows 7
Has Regression Range: --- → yes
Has STR: --- → yes
Dão, Felipe, could one of you take a look? The text seems unreadable with these colors.
Flags: needinfo?(felipc)
Flags: needinfo?(dao+bmo)
Assignee: nobody → dao+bmo
Flags: needinfo?(felipc)
Flags: needinfo?(dao+bmo)
Priority: -- → P1
Attached image XB6SI8a.png
The latest Nightly Build ID 20180626100238 and 62beta3 have the same problem, even with clean profiles.
Can any userChrome.css or userContent.css override these colors? Tried the following with no effect: #main-menubar > menu { -moz-appearance: none !important; background-color: transparent !important; } #main-menubar > menu:-moz-any(:hover,[open],[_moz-menuactive]) { background: Highlight !important; color: HighlightText !important; }
I did get the userChrome.css override to work after removing some other conflicting code. At least the text is white now.
Hey Dao, do we think we can get this into 62 still?
Flags: needinfo?(dao+bmo)
Hey Mike, is this a P1 and do we need it for 62?
Flags: needinfo?(mdeboer)
Yes, it is. (I'm following Dão's assessment here.) Dão, could you take a look at this? There are two options here: 1. Backout the patch from bug 1437052 from the 62 (beta) branch. This seems low effort to me and will give you more time to worry about and work on a proper fix here. 2. Prepare a fix in here after all and uplift to beta - also feasible I think, because the patch will be small and low-risk. Your call!
Flags: needinfo?(mdeboer)
Flags: needinfo?(dao+bmo)
Comment on attachment 8995480 [details] Bug 1468645 - Set active menu bar item color to -moz-menuhovertext instead of -moz-menubarhovertext since we've not using -moz-appearance:menuitem anymore. https://reviewboard.mozilla.org/r/259910/#review267076
Attachment #8995480 - Flags: review?(felipc) → review+
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/653f9be185f8 Set active menu bar item color to -moz-menuhovertext instead of -moz-menubarhovertext since we've not using -moz-appearance:menuitem anymore. r=Felipe
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Depends on: 1479874
Comment on attachment 8995480 [details] Bug 1468645 - Set active menu bar item color to -moz-menuhovertext instead of -moz-menubarhovertext since we've not using -moz-appearance:menuitem anymore. Approval Request Comment [Feature/Bug causing the regression]: bug 1437052 [User impact if declined]: see comment 0 [Is this code covered by automated tests?]: no [Has the fix been verified in Nightly?]: not yet [Needs manual test from QE? If yes, steps to reproduce]: see comment 0 [List of other uplifts needed for the feature/fix]: bug 1479874 but I just included that followup in this patch [Is the change risky?]: not much [Why is the change risky/not risky?]: it's possible there other edge cases I missed, but overall this should be moving in the right direction [String changes made/needed]: /
Attachment #8995480 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Hi! I've checked the issue on the latest Nightly v63.0a1 Build ID: 20180805231147 on Win7 Professional x64 and the results were the following: 1. The text color is changed to white as mentioned in comment 5, but doesn't look like the screenshot from the bug description at Expected results. (see attached: classic theme menu bar.png) 2. The issue is still reproducible (see attached: classic theme menu bar repro.png) with the following steps: - Open latest Nightly on Win7 with Classic Theme - Change Win 7 Theme to Basic while the browser is open - Change Win 7 Theme back to Classic while the browser is open - Inspect the menu bar If one after the above steps closes the browser and reopens it again the menu bar highlighting is done like in the "classic theme menu bar.png" Dao, could you please tell me if the situation from number 1 above is the expected behavior? What about situation number 2?
Flags: needinfo?(dao+bmo)
Changing the OS theme while Firefox is running causes various quirks that may look like this bug but are different issues. For this bug we're only interested in the case where Firefox is restarted after the theme change.
Flags: needinfo?(dao+bmo)
Comment on attachment 8995480 [details] Bug 1468645 - Set active menu bar item color to -moz-menuhovertext instead of -moz-menubarhovertext since we've not using -moz-appearance:menuitem anymore. Fix for readability of menus, let's uplift for beta 16.
Attachment #8995480 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
I've checked again on the latest Nightly v63.0a1 Build ID: 20180807220134 on Win7 Professional x64 and the result was the same as in attachment "classic theme menu bar.png". Marking as verified on Nightly. I will check back on the issue after uplift to Beta is done.
Status: RESOLVED → VERIFIED
Hello, I have verified this issue on Beta v62.0b18. The text is now white when the button/menu is highlighted. Marking as verified in 62 and removing qe-verify+ flag.
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: