Closed Bug 1702427 Opened 4 years ago Closed 3 years ago

[Windows 10][Proton] FirefoxColor themes that are not very dark can get dark background context menus

Categories

(Firefox :: Theme, defect, P3)

Firefox 89
Desktop
Windows 10
defect

Tracking

()

RESOLVED DUPLICATE of bug 1760317

People

(Reporter: acid.crash.lv, Unassigned)

References

Details

(Whiteboard: [proton-context-menus])

Attachments

(2 files)

Attached image Color.png

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

Steps to reproduce:

Enable Proton context menus

EnableProtonUI
browser.proton.enabled
browser.proton.contextmenus.enabled
browser.proton.doorhangers.enabled

Activate the following FirefoxColor theme
https://color.firefox.com/?theme=XQAAAAJyAQAAAAAAAABBKYhm849SCia6aSqEGccwS-xMDPsqvMQuvAF6DfFcVnIO2RlYPn7K96jxJl9euVMPIG3hXZanKHmO0SR6HAFypXPQodXI0IApXyo0vUL2bJ6TKo55agaySyLYVycfJRH5JWbW5mhasxmWu8vufdYBik_o42A2KoDCzaT56Bd6rOBwJgRAvXB0fdFkbgIbV8iw1NjTyaQNPYTpc0jo_tHq-a2R9pExRHQqLOaMwjpL_48SQ-GIQr_P35VJTKhJVPIbWMj_TJ1fJmfWYQlu9aX_6rYvZA

Actual results:

Context menus applied Dark theme despite the fact that it was not defined in the FirefoxColor (and Default OR Light theme is selected within Nightly)

Expected results:

Context menus should either remain unthemed (use color of the selected theme) OR Use the Popup Background and Popup Text from the FirefoxColor (because these seem to be used for all the rest popups)

Component: Untriaged → Toolbars and Customization
Whiteboard: [proton-context-menus]

This is because the theme is using bright text (white, in fact) for the background of the tabstrip, which means the root element matches :-moz-lwtheme-brighttext.

I don't see what we can reasonably do about this without breaking other things.

Component: Toolbars and Customization → Theme
Summary: Proton Context Menus - FirefoxColor Theming → FirefoxColor themes that are not very dark can get dark background context menus
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → Windows 10
Hardware: Unspecified → Desktop
Summary: FirefoxColor themes that are not very dark can get dark background context menus → [Windows 10][Proton] FirefoxColor themes that are not very dark can get dark background context menus
Priority: -- → P3

(In reply to :Gijs (he/him) from comment #1)

This is because the theme is using bright text (white, in fact) for the background of the tabstrip, which means the root element matches :-moz-lwtheme-brighttext.

I don't see what we can reasonably do about this without breaking other things.

Using [lwt-popup-brighttext] instead of :-moz-lwtheme-brighttext sounds potentially reasonable? or following arrowpanel color variables?

(In reply to Tim Nguyen :ntim from comment #2)

Using [lwt-popup-brighttext] instead of :-moz-lwtheme-brighttext sounds potentially reasonable?

It's not really clear to me what sets that, or how it would improve things. It looks like it's mostly meant for autocomplete popups, which isn't really the same thing as a context menu...

or following arrowpanel color variables?

These don't appear to match the design so that's not an option (and changing their values would presumably change other backgrounds...).

(In reply to :Gijs (he/him) from comment #3)

(In reply to Tim Nguyen :ntim from comment #2)

Using [lwt-popup-brighttext] instead of :-moz-lwtheme-brighttext sounds potentially reasonable?

It's not really clear to me what sets that, or how it would improve things. It looks like it's mostly meant for autocomplete popups, which isn't really the same thing as a context menu...

It's set for arrow panels too (it's the webextension theme popup color prop). The bookmarks menu is one of them. The bookmarks submenus would at least follow the bookmarks menu definition of dark/light, which would allow some consistency?

Attached image Menu of the menu bar

The menu of the menu bar is also affected.

Items in the dropdown for folders on the bookmarks toolbar also have a dark background (I'm using 'Dark Blue' theme which has a gray background for the toolbar). But the bookmarks menu button (which I also have on the toolbar) has a popup menu with a light background (which seems rather inconsistent.)

See Also: → 1705501

Also reported at https://github.com/mozilla/FirefoxColor/issues/979

More reports are coming in now that Proton menus shipped to release.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: