Submenu arrows have the wrong color, in dark private windows' menus and context menus
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: dholbert, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
STR:
- On Ubuntu 22.04 system settings, ensure you have "Appearance: Light"
- Start Firefox Nightly with a fresh profile (or at least, with the default theme)
- Open a private browsing window (Ctrl+Shift+P)
- In that private browsing window: open a second tab, visit some page in that tab, and then close that tab.
- Alt+S to open your History menu, and compare how the "Recently Closed Tabs" entry looks, vs. the "Recently Closed Windows"
EXPECTED RESULTS:
The text and the submenu-arrow (>
) should be the same color.
ACTUAL RESULTS:
The text and the submenu-arrow are opposite colors.
- The "Recently Closed Tabs" text looks enabled, but its
>
looks grayed out / disabled. - The "Recently Closed Windows" text looks disabled, but its
>
looks solid / enabled.
(The text is correct, as you can see if you hover them.)
Additionally: if you hover the "Recently Closed Tabs" menu item, then its ">" can no longer be seen, since its improperly-grayed-out color happens to be the same color as the highlight background-color.
Mozregression shows this goes back to the pref-flip that enabled browser.theme.dark-private-windows
as part of bug 1751481. (This probably goes back further than that, but I didn't dig further.)
This affects context menus, too (e.g. the "Move Tab" context-menu entry in a multi-tab private browsing window, which you can tell has the wrong color if you hover it and see the arrow disappear).
Reporter | ||
Comment 1•1 year ago
•
|
||
If I do either of the following things, then the bug goes away:
(A) choose "appearance: dark" in Ubuntu system settings (this makes Firefox's default theme use a dark look for regular windows)
(B) choose Firefox's built-in "dark" or "light" themes (these themes force regular&private windows to both use the theme color)
Presumably these things make the bug go away because they make Firefox draw private browsing windows with the same theme as regular windows, which bypasses the special-case code that "dark private windows" use which is seemingly responsible for this.
Reporter | ||
Comment 2•1 year ago
|
||
Reporter | ||
Comment 3•1 year ago
|
||
Reporter | ||
Comment 4•1 year ago
|
||
Note, bug 1796849 (fixed) brought up a kinda-similar issue (though it was potentially KDE-specific?). Toggling ni=emilio since he took a look there and I think is the most-adept at poking at color-scheme related issues. :)
If it's relevant, my about:support has:
OS Theme Yaru / Yaru
Window Protocol wayland
Desktop Environment ubuntu:gnome
Reporter | ||
Updated•1 year ago
|
Comment 5•1 year ago
|
||
Set release status flags based on info from the regressing bug 1751481
Reporter | ||
Comment 6•1 year ago
|
||
I just tested on Windows and can't reproduce there (with OS theme set to "light" to get the same light-regular-windows/dark-pb-windows scenario).
So: presumably this is Linux-specific, and related to GTK theme management similar to bug 1796849.
--> reclassifying to Widget:GTK
Assignee | ||
Comment 7•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 9•1 year ago
|
||
Set release status flags based on info from the regressing bug 1751481
Comment 10•1 year ago
|
||
bugherder |
Comment 11•1 year ago
|
||
The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox118
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 12•1 year ago
|
||
Reproduced with Fx 117.0b6 on Ubuntu 22.
Verified fixed with Fx 120.0a1 (2023-09-28) and Fx 119.0b2 on Ubuntu 22.
Description
•