RFR: 8301302: Platform preferences API [v42]

Andy Goryachev angorya at openjdk.org
Wed Dec 6 19:36:27 UTC 2023


On Wed, 6 Dec 2023 19:23:38 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> Please read [this document](https://gist.github.com/mstr2/9f46f92c98d3c86aa6a0b4224a9a6548) for an introduction to the Platform Preferences API, and how it interacts with the proposed style theme and stage appearance features.
>
> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
> 
>   consistently use NULL

Looks like it's sending changes for values that have not changed:

<img width="1170" alt="Screenshot 2023-12-06 at 11 30 04" src="https://github.com/openjdk/jfx/assets/107069028/e7591236-f882-4ce9-9877-841f5441af71">

To reproduce on macOS 13.5.2:
change System Settings -> Appearance -> Accent Color from green to yellow.

I don't expect `macOS.NSColor.alternatingContentBackgroundColors=[0xffffffff, 0xf4f5f5ff]` to be sent because it has not changed.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1014#issuecomment-1843564085


More information about the openjfx-dev mailing list