Closed Bug 1858711 Opened 1 year ago Closed 1 year ago

Some menus does not follow OS theme

Categories

(Firefox :: Theme, defect)

defect

Tracking

()

VERIFIED FIXED
120 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox118 --- unaffected
firefox119 --- wontfix
firefox120 --- verified

People

(Reporter: t.matsuu, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Steps to reproduce:

  1. Start Firefox
  2. Apply Fall Foggy Forest theme
  3. Show App menu, Extensions menu, Fx account menu, or Tabs list menu

Expected result:
Background of menus follow OS theme.

Actual Result:
Background of menus does not follow OS theme.

Additional Information:
Context menus follow OS theme.

Regression range by mozregression:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=65a367e340b27cb67622b6650cb01bed4c844139&tochange=11fb2a6e434951fbef0791563a159cbbdd42f4c8

Could you please provide screenshots here and/or explain how exactly the current behavior is problematic? Thanks!

Flags: needinfo?(t.matsuu)
Attached image Screenshot

Screenshot on Win11 x64.
The problem occurs in the menu boxed in red.
Red one under Tabs menu (and in the URL bar) is generated by "Share Backported" extension.

I set OS theme to dark.
Before the fix of bug 1853188, the menu has white letters with black background which follows OS theme.

Flags: needinfo?(t.matsuu)

Set release status flags based on info from the regressing bug 1853188

:emilio, since you are the author of the regressor, bug 1853188, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)

When a theme doesn't specify popup colors, it makes sense to follow the
system-preferred color scheme. Refactor theming attributes so that we
can distinguish this. Instead of a single [lwt-popup-brighttext], we get
lwt-popup="dark"/"light", and handle it appropriately.

Same for the other relevant attributes.

Refactor sidebar theming (which already did this tri-state thing via
lwt-sidebar and lwt-sidebar-brighttext) to do the same using a single
lwt-sidebar attribute, and update the docs.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/518d9d15677f Refactor lwtheme attributes to account for missing colors. r=dao,desktop-theme-reviewers
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Regressions: 1859137

:emilio could you set a severity on this, should this ride the train with Fx120 or should we consider a a Fx119 dot release ride along?

Flags: needinfo?(emilio)

I think this should ride the trains, unless someone strongly objects.

Flags: needinfo?(emilio)
Regressions: 1860392

I was able to reproduce the issue on Win11 using FF build 119.0a1(2023-09-19).
Verified as fixed on Win11 using FF build 120.0b4 and 121.0a1(2023-10-31).

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Regressions: 1865897
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: