[External] : Re: Platform preferences theme detection

Kevin Rushforth kevin.rushforth at oracle.com
Wed Feb 14 18:54:49 UTC 2024


I filed https://bugs.openjdk.org/browse/JDK-8325888 to track this.

-- Kevin

On 2/13/2024 11:11 AM, 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



More information about the openjfx-dev mailing list