[External] : Re: Platform preferences theme detection
Christopher Schnick
crschnick at xpipe.io
Thu Feb 15 12:46:57 UTC 2024
Just wanted to let you know that after setting
apple.awt.application.appearance=system everything works as expected
now. Thanks for all the work on this great feature. I plan to release
the next version of our application with platform preferences
integration soon to production.
On 13/02/2024 20:11, Michael Strauß wrote:
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20240215/a37df8d3/attachment.htm>
More information about the openjfx-dev
mailing list