[External] : Re: Platform preferences theme detection
Kevin Rushforth
kevin.rushforth at oracle.com
Fri Feb 16 18:37:36 UTC 2024
Good to hear. Thanks for confirming.
-- Kevin
On 2/15/2024 4:46 AM, Christopher Schnick wrote:
>
> 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/20240216/c3a11cf6/attachment.htm>
More information about the openjfx-dev
mailing list