Title bar is barely visible in Customize mode if system theme is set to dark
Categories
(Firefox :: Toolbars and Customization, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox-esr115 | --- | unaffected |
firefox117 | --- | unaffected |
firefox118 | --- | unaffected |
firefox119 | --- | verified |
People
(Reporter: csasca, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
Found in
- Firefox 119.0a1
Affected versions
- Firefox 119.0a1
Tested platforms
- Affected platforms: Windows 11, macOS 13.5.2
- Unaffected platforms: Ubuntu 22.04
Preconditions
- Have the system theme set to dark
Steps to reproduce
- Launch Firefox with a clean profile
- Access customize mode
- Look over the Title bar option
Expected result
- The Title bar option is visible
Actual result
- The Title bar option is barely visible
Regression range
- Will see for a regression
Additional notes
- The issue can be seen in the attachment
- This only happens if the system theme is set to Dark and Firefox has the Auto theme. Will not reproduce if dark is manually selected from Themes within Firefox.
Comment 1•1 year ago
|
||
:csasca, if you think that's a regression, could you try to find a regression range using for example mozregression?
Comment 2•1 year ago
|
||
Hey kcochrane - do you think this is similar to what you experienced with the dark theme on Firefox View?
Reporter | ||
Comment 3•1 year ago
|
||
Looked for regression and this is what I got in the info panel:
Bug 1843044 - Make the default theme work with dark color schemes. r=dao,pbz
This builds on the light-dark() function added in bug 1845679 to provide
custom colors for both the default light and dark themes, and remove the
"default theme in dark mode" bits.
This is all to be landed after the soft-freeze in any case. Untested on
macOS for now, but no reason it shouldn't work. Will test later today.
On the light theme we were relying on Field / FieldText being black /
white for toolbar-field-focus, so make that explicit too:
InspectorUtils.colorToRGBA("Field", document) // Object { a: 1, b: 255, g: 255, r: 255 }
InspectorUtils.colorToRGBA("FieldText", document) // Object { a: 1, b: 0, g: 0, r: 0 }.
Comment 4•1 year ago
|
||
mconley, yeah it looks like this was caused by the same patch that affected dark mode in Firefox View! I've written that up in bug 1852603. In our case, we were previously able to access --newtab
variables from Firefox View using styles applied to the :root element in contentTheme.js. After bug 1843044, we know longer get access to those variables, so our page background is falling back to --in-content-page-background
which looks much too dark in dark mode. The theming on Firefox View should match the new tab page. Let me know if I can be of any more help here!
Comment 5•1 year ago
|
||
Set release status flags based on info from the regressing bug 1843044
:emilio, since you are the author of the regressor, bug 1843044, could you take a look?
For more information, please visit BugBot documentation.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 6•1 year ago
|
||
Assignee | ||
Comment 7•1 year ago
|
||
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 9•1 year ago
|
||
bugherder |
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Reproduced with Fx 119.0a1 (2023-09-12) on Windows 10 .
Verified fixed with Fx 120.0a1(2023-10-01) and Fx 119.0b3 on Windows 10, macOS 13 and Ubuntu 22..
Description
•