Thanks for looking into this. I'm commenting here because I don't think I am 
able to to add comments in JDK-8321151.

if exact scaling is difficult, any reasonable approximation would be better than falling back to the Windows NT LookAndFeel, as Phil Race has commented in JDK-8321151.

Simon

On 11/12/2023 15:01, Aleksei Ivanov wrote:
This has been tracked down to be a regression of JDK-8294427 [1] which introduced the dependency on the OpenThemeDataForDpi [2] function from Windows API. The function is available since Windows 10 version 1703.

The code review [3] for JDK-8294427 has a discussion [4] on whether support for 
older versions of Windows should be considered.

At that time, it was deemed infeasible [5] to provide this support.

The compatibility problem is now tracked as JDK-8321151 [6].


[1] https://bugs.openjdk.org/browse/JDK-8294427
[2] 
https://learn.microsoft.com/en-us/windows/win32/api/uxtheme/nf-uxtheme-openthemedatafordpi
[3] https://github.com/openjdk/jdk/pull/13701
[4] https://github.com/openjdk/jdk/pull/13701#discussion_r1180829485
[5] https://github.com/openjdk/jdk/pull/13701#discussion_r1227202738
[6] https://bugs.openjdk.org/browse/JDK-8321151


Reply via email to