Closed Bug 1707384 Opened 3 years ago Closed 3 years ago

Choices in drop-down list are very difficult to read with proton dark theme enabled

Categories

(Firefox :: Foxfooding, defect)

Firefox 90
defect

Tracking

()

VERIFIED FIXED
90 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox88 --- unaffected
firefox89 --- verified
firefox90 --- verified

People

(Reporter: liamre, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [proton-foxfooding] [foxfooding] [proton-uplift])

Attachments

(6 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

Actual user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0

  1. Visit about:addons, click Themes, and enable dark theme
  2. Visit https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

Actual results:

The choices in the drop-down menus are very difficult to read because of dark text on a dark background.

Expected results:

The text should be readable.

The Bugbug bot thinks this bug should belong to the 'Toolkit::Add-ons Manager' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Add-ons Manager
Product: Firefox → Toolkit

Hello,

I can fully reproduce the issue on the latest Nightly (90.0a1/20210425214750) and maybe, possibly partially on Beta (89.0b4/20210425185730) under Windows 10 x64 and Ubuntu 16.04 LTS. Release (88.0/20210415204500) does not appear affected. Alongside the page mentioned in the original description, I found another one where the issue occurs: https://www.nvidia.com/Download/index.aspx.

To be more specific about what I said above, please see the observations below and the attached screenshots as well:

Nightly – text color in drop-downs is black on dark grey background
Beta – text color in dropw-downs is white on dark grey background
Release – text color is black in drop-downs on white background.

It appears that the new Proton UI has caused styling from the theme to leak to drop-down menus.

Also performed a bisection with the following results:

8:17.23 INFO: No more integration revisions, bisection finished.
8:17.23 INFO: Last good revision: 8908151379dc2ae9f5594558ede67711e3617010
8:17.23 INFO: First bad revision: 593396efa9385dc05a072be49ed6bceda05efdf1
8:17.23 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=8908151379dc2ae9f5594558ede67711e3617010&tochange=593396efa9385dc05a072be49ed6bceda05efdf1

Regressor: https://bugzilla.mozilla.org/show_bug.cgi?id=1706496 - Specify background along with color for menupopups

Please note that during the bisection:

  • dropw-downs with white text against dark grey background (text being visible) were considered GOOD.
  • dropw-downs with black text against dark grey background (text not being properly visible) were considered BAD.
Status: UNCONFIRMED → NEW
Has Regression Range: --- → yes
Ever confirmed: true
Attached image Nightly dropdown.png
Attached image Beta dropdown.png
Attached image Release dropdown.png

This bug doesn't look to be in the right component, the only relationship with the Add-ons Manager is the fact that as part of the STR there is a mention to the about:addons page, but to switch to the dark theme which is a builtin theme.

Besides that, this issue seems to be related to the a drop down part of a content page while the builtin dark theme is enabled.

Moving it to foxfooding to give it more visibility.

Component: Add-ons Manager → General
Product: Toolkit → Firefox
Component: General → Foxfooding

needinfo'ing @rtestard for thoughts on this bug since this is not related to add-ons manager but to the built-in theme

Flags: needinfo?(rtestard)
Whiteboard: [proton-foxfooding] [foxfooding]

I'm marking bug 1707296 as a dupe since this bug seems to have more details.
The identified regressor (bug 1706496) has not yet been uplifted to Beta, which likely explains why the same issue does not apply to Beta.
I'm adding a comment to avoid uplift of bug 1706496 and make sure QA is done in dark mode per STR here.

Flags: needinfo?(rtestard)

Please next time ni? me on regressions, or at least flag them as such so I don't miss them :)

I'll look at this asap.

Assignee: nobody → emilio
Regressed by: 1706496
Flags: needinfo?(emilio)
Flags: needinfo?(emilio)

This used to work by chance actually, because for the content select menuitems explicitly
inherit their color.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c194dac64e0 Fix menu.css color declaration to apply to the popup rather than the menuitems. r=Gijs
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch

Emilio, is the uplift in bug 1706496 dependent on uplifting this bug as well?

Flags: needinfo?(emilio)

Comment on attachment 9218624 [details]
Bug 1707384 - Fix menu.css color declaration to apply to the popup rather than the menuitems. r=dao,Gijs

Beta/Release Uplift Approval Request

  • User impact if declined: comment 0
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: comment 0
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): One-liner CSS fix.
  • String changes made/needed: none
Flags: needinfo?(emilio)
Attachment #9218624 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Verified the fix on the latest Nightly (90.0a1/20210428100720) under Windows 10 x64 and Ubuntu 16.04 LTS.

The menu items are now white and visible on the dark grey background of the popup. For further details, see the attached screenshot.

Status: RESOLVED → VERIFIED
Attached image 2021-04-28_15h50_37.png
Whiteboard: [proton-foxfooding] [foxfooding] → [proton-foxfooding] [foxfooding] [proton-uplift]

Comment on attachment 9218624 [details]
Bug 1707384 - Fix menu.css color declaration to apply to the popup rather than the menuitems. r=dao,Gijs

Approved for 89 beta 6, thanks.

Attachment #9218624 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

Verified the fix on the latest Beta (89.0b7/20210502185943) under Windows 10 x64 and Ubuntu 16.04 LTS.

The menu items are now white and visible on the dark grey background of the popup. For further details, see the attached screenshot.

Flags: qe-verify+
Attached image 2021-05-04_13h07_36.png
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: