RFR: 8367370: Accent color platform preference not updating in macOS 26 (Tahoe)
Martin Fox
mfox at openjdk.org
Tue Sep 16 23:05:29 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 fine to me and are working on macOS 13, 15, and 26.
-------------
Marked as reviewed by mfox (Committer).
PR Review: https://git.openjdk.org/jfx/pull/1895#pullrequestreview-3231952501
More information about the openjfx-dev
mailing list