[External] : Re: Platform preferences theme detection
Michael Strauß
michaelstrau2 at gmail.com
Tue Feb 13 19:11:39 UTC 2024
The reason why the values are wrong might be that in PlatformSupport.m
L105, we query [NSApp effectiveApperance], but this always seems to
return the light appearance if JavaFX doesn't own the NSApplication.
On Mon, Feb 12, 2024 at 6:26 PM Kevin Rushforth
<kevin.rushforth at oracle.com> wrote:
>
> Actually, it's worse than not detecting changes, it's simply not getting the right values at all. If I run the program when the system appearance is already in Dark mode, it doesn't get the correct values at start up.
>
> -- Kevin
More information about the openjfx-dev
mailing list