Closed Bug 1964228 Opened 13 days ago Closed 10 days ago

Fix media query for accent color in titlebar + mica.

Categories

(Firefox :: Theme, defect, P1)

Desktop
Windows 11
defect

Tracking

()

VERIFIED FIXED
140 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox138 --- unaffected
firefox139 --- verified
firefox140 --- verified

People

(Reporter: emilio, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files)

No description provided.

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

Mica with that windows setting needs to behave like that as the system
backdrop doesn't provide anything else.

Severity: -- → S3
Priority: -- → P1
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/61567ba22d5a Fix media query for windows mica + use accent color in titlebar. r=desktop-theme-reviewers,dao
Status: NEW → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch

The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

Mica with that windows setting needs to behave like that as the system
backdrop doesn't provide anything else.

Original Revision: https://phabricator.services.mozilla.com/D247695

Attachment #9486004 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined: in some non-default configurations there's low contrast on the tab bar
  • Code covered by automated testing: yes
  • Fix verified in Nightly: no
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: Set windows appearance settings to: Light mode, Use accent color in titlebar and window borders. Enable widget.windows.mica
  • Risk associated with taking this patch: low
  • Explanation of risk level: non-default configuration, one line css fix
  • String changes made/needed: none
  • Is Android affected?: no
Flags: qe-verify+
Flags: needinfo?(emilio)
Attachment #9486004 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [uplift][qa-ver-needed-c140/b139]

Emilio, can you explain what the issue is here? There is no actual/expected results that I can use to verify the fix. Thanks!

Has STR: --- → no
Flags: needinfo?(emilio)
QA Contact: dbodea
Attached image screenshot

Sure, see the color of e.g. the new tab button on this screenshot (pre patch), when having the configuration described in comment 7 (Light mode, Use accent color in titlebar and window borders, widget.windows.mica=true).

Flags: needinfo?(emilio)
Attached image Screenshot post-patch

This is with the patch applied.

This appears to be an issue specific to Windows 11. This "widget.windows.mica" pref does not have any changes on Windows 10.

I can reproduce this issue in Nightly v140.0a1 from 2025-05-02 and Beta 139.0b1 and I can confirm the fix in Nightly v140.0a1 from 2025-05-12 and Beta v139.0b7. The buttons from the Top bar are displayed in light color and not dark grey (under the circumstances mentioned). Furthermore, the color properly changes when the pref is flipped.

Status: RESOLVED → VERIFIED
QA Whiteboard: [uplift][qa-ver-needed-c140/b139] → [uplift][qa-ver-done-c140/b139]
Flags: qe-verify+
OS: Unspecified → Windows 11
Hardware: Unspecified → Desktop
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: