Closed Bug 1702892 Opened 5 years ago Closed 5 years ago

Improve LookAndFeel dynamic change detection

Categories

(Core :: Widget: Cocoa, task)

All
macOS
task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: mstange, Assigned: mstange)

Details

Attachments

(2 external files)

No description provided.

The system changes always affect all windows, and it makes sense to have change
listening in the same file where the state is read.
This also removes the need to unregister our listener, because we only have one
global leaked listener.

Depends on D110767

Pushed by mstange@themasta.com: https://hg.mozilla.org/integration/autoland/rev/bb42ffa29c18 Move dynamic change handling from nsChildView to LookAndFeel. r=emilio https://hg.mozilla.org/integration/autoland/rev/319887a3f470 To detect Dark Mode changes on macOS, use key-value observing for NSApp.effectiveAppearance. r=mac-reviewers,bradwerth
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: