On Tue, 16 Dec 2025 18:40:47 GMT, Michael Strauß <[email protected]> wrote:
>> modules/javafx.graphics/src/main/native-glass/win/Utils.cpp line 144: >> >>> 142: GetProcAddress(hModule, >>> "SetThreadDpiAwarenessContext")); >>> 143: >>> 144: // Only load GetProcessDpiAwareness if >>> GetThreadDpiAwarenessContext is not available (pre-Win10). >> >> What versions of Windows does JavaFX support? I just spent a half hour >> searching and couldn't find any statement on this for either JavaFX or the >> JDK. >> >> As of October of this year the original version of Windows 10 left >> Microsoft's Long Term Servicing Channel. As of now the earliest version of >> Windows supported by Microsoft is Win10 2016 (1607), the version where the >> thread DPI awareness calls were first added. Is JavaFX supporting and >> testing earlier versions of Windows? If not you should be able to just make >> direct calls to the thread DPI awareness API's. >> >> This is probably a topic for the mailing list. I'm still surprised I >> couldn't find this information anywhere. > > Even if we didn't _officially_ support Windows 10, I think it's a little too > early to remove functionality given that this OS still has a ~40% share of > Windows installations. Definitely. We don't need to worry about Windows 8 or earlier, but it's premature to break Windows 10. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1982#discussion_r2624357959
