Closed Bug 1344917 Opened 8 years ago Closed 7 years ago

Need to know when Windows is configured to color the title bars

Categories

(Core :: Widget: Win32, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla56
Iteration:
56.2 - Jul 10
Tracking Status
firefox56 --- fixed

People

(Reporter: mconley, Assigned: jwatt)

References

Details

(Keywords: dev-doc-complete, Whiteboard: [photon-visual][p1][tpi:+])

Attachments

(2 files, 2 obsolete files)

In Windows 10 (and perhaps lower), there's a user setting for putting an accent colour in the title bar of windowed applications. For proper integration, we should detect that setting and colour our title bar appropriately.
Priority: -- → P3
Whiteboard: tpi:+
Dao: it's not clear we have a bug to actually use this info in the theme (similarly for bug 1344910), can we get that filed w/ relevant UX spec?
Flags: needinfo?(dao+bmo)
Yep, will do.
Flags: needinfo?(dao+bmo)
Blocks: 1196266
No longer blocks: photon-visual
Priority: P3 → P1
Whiteboard: tpi:+ → [tpi:+][photon]
Whiteboard: [tpi:+][photon] → [tpi:+][photon-visual]
Flags: qe-verify-
Priority: P1 → P2
Whiteboard: [tpi:+][photon-visual] → [photon-visual][p1][tpi:+]
Assignee: nobody → jwatt
Status: NEW → ASSIGNED
Priority: P2 → P1
Attachment #8879765 - Flags: review?(cam) → review+
Attachment #8879766 - Flags: review?(cam) → review+
Pushed by jwatt@jwatt.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/352c30687dea part 1 - Add a '-moz-windows-accent-color-applies' media query. r=heycam https://hg.mozilla.org/integration/mozilla-inbound/rev/b1e72c299049 part 2 - Add tests for the '-moz-windows-accent-color-applies' media query. r=heycam
That crash wasn't caused by the patches here (it was caused by the patch for bug 1369508). That said, this bug did cause tier 2 stylo failures. Simon has written a stylo patch to fix those issues at https://github.com/servo/servo/pull/17449/ and once that has the necessary reviews we can reland this patch and that one together.
Flags: needinfo?(jwatt)
Because these changes need to be synchronized with Servo changes it seems like I'll need to use MozReview so that I can land using Autoland. I'll put up MozReview patches and r+ them ready for landing shortly.
Comment on attachment 8881623 [details] Bug 1344917, part 1 - Add a '-moz-windows-accent-color-applies' media query. https://reviewboard.mozilla.org/r/152786/#review157908
Attachment #8881623 - Flags: review?(cam) → review+
Comment on attachment 8881624 [details] Bug 1344917, part 2 - Add tests for the '-moz-windows-accent-color-applies' media query. https://reviewboard.mozilla.org/r/152788/#review157910
Attachment #8881624 - Flags: review?(cam) → review+
Attachment #8879765 - Attachment is obsolete: true
Attachment #8879766 - Attachment is obsolete: true
Pushed by ecoal95@gmail.com: https://hg.mozilla.org/integration/autoland/rev/d07b25fd6533 part 1 - Add a '-moz-windows-accent-color-applies' media query. r=heycam https://hg.mozilla.org/integration/autoland/rev/d7dca95a5bc8 part 2 - Add tests for the '-moz-windows-accent-color-applies' media query. r=heycam
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
sorry for asking but why is it even needed for firefox to know the system color or anything, I mean how did firefox never have a problem in older OSes than windows 10? and why not use that way?
Iteration: --- → 56.2 - Jul 10
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: