RFR: 8367370: Accent color platform preference not updating in macOS 26 (Tahoe)
Michael Strauß
mstrauss at openjdk.org
Wed Sep 10 23:17:38 UTC 2025
1. Replace undocumented `AppleColorPreferencesChangedNotification` with `NSSystemColorsDidChangeNotification`.
2. Replace undocumented `AppleInterfaceThemeChangedNotification` with a KVO registration for `NSApp.effectiveAppearance`.
This fix can be tested using either PlatformPreferencesChangedTest, or Monkey Tester > Tools > Platform preferences monitor.
-------------
Commit messages:
- observe NSApp.effectiveAppearance
- use NSSystemColorsDidChangeNotification
Changes: https://git.openjdk.org/jfx/pull/1895/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1895&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8367370
Stats: 32 lines in 1 file changed: 6 ins; 18 del; 8 mod
Patch: https://git.openjdk.org/jfx/pull/1895.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1895/head:pull/1895
PR: https://git.openjdk.org/jfx/pull/1895
More information about the openjfx-dev
mailing list