RFR: 8367370: Accent color platform preference not updating in macOS 26 (Tahoe)
Kevin Rushforth
kcr at openjdk.org
Mon Sep 22 17:44:19 UTC 2025
On Wed, 10 Sep 2025 23:10:22 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
> 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.
Changes look good to me. I tested on macOS 14 (no change in behavior) and 26 (notification now works where it didn't before).
-------------
Marked as reviewed by kcr (Lead).
PR Review: https://git.openjdk.org/jfx/pull/1895#pullrequestreview-3254273011
More information about the openjfx-dev
mailing list