Closed Bug 1741931 Opened 3 years ago Closed 3 years ago

The background of various website pages and Firefox GUI items are dark with the certain Theme after landing patches from bug #1740089

Categories

(Firefox :: Theme, defect)

Firefox 96
x86_64
Windows 7
defect

Tracking

()

VERIFIED FIXED
96 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox94 --- unaffected
firefox95 --- unaffected
firefox96 + verified

People

(Reporter: Virtual, Assigned: emilio)

References

(Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(3 files)

[Tracking Requested - why for this release]: The regression from bug #1740089.

The background of various website pages (like e.g. Bugzilla) and Firefox GUI items (like e.g. New Tab, Hamburger Menu) are dark with the certain Theme (like e.g. Virtualfox) after landing patches from bug #1740089.

It is worth to mention that when "System theme - auto" theme is used, the background of various website pages (like e.g. Bugzilla) and Firefox GUI items (like e.g. New Tab, Hamburger Menu) are not dark and have proper color.

STR:

  1. Install Virtualfox theme from https://addons.mozilla.org/addon/virtualfox/
  2. Notice that background of various website pages and Firefox GUI items are dark

mozillaregression-GUI points that this regression is caused by:

commit message:
Bug 1740089 - Fall back to frame (accentcolor) to determine toolbar theme. r=desktop-theme-reviewers,harry

Depends on D130669

Differential Revision: https://phabricator.services.mozilla.com/D130670

Flags: needinfo?(emilio)
Has Regression Range: --- → yes
Has STR: --- → yes

This is sorta expected because that theme has "frame": "#000000", "tab_background_text": "#000000" (so it's saying it's dark text with a dark background). I guess it might make more sense to look at the text color as that can't be covered up by an image.

Flags: needinfo?(emilio)

It's easy for themes that have image backgrounds to have bogus
background colors.

Text color should give a better indication of the color-scheme since
it's always used, even with image backgrounds.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1a065d19bef1
Use text color rather than background color to determine theme color scheme. r=harry,dao
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Regressions: 1743010
Flags: qe-verify+

Reproduced the issue with Fx 96.0a1(2021-11-18) Windows 7x64.
Verified as fixed with Fx 97.0a1 and Fx 96.0b4 Windows 7x64 and Win 10x64.

Status: RESOLVED → VERIFIED
Flags: qe-verify+

As OP, I'm also confirming that the bug is fixed, starting in Mozilla Firefox Nightly 96.0a1 (2021-11-20).
Thank you very much! \o/

Regressed by: 1749837
No longer regressed by: 1749837
Regressions: 1749837
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: