[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: RFR: JDK-8294427 - Check boxes and radio buttons have rendering issues on Windows in High DPI en
From:       Alexey Ivanov <aivanov () openjdk ! org>
Date:       2023-12-11 15:06:39
Message-ID: AWNpPj7UJCOqWdK-8eUa0H-ALFIHlze0hLZI0OPM0sQ=.f6212bb1-59ad-44ae-b7bf-e13d64e17e72 () github ! com
[Download RAW message or body]

On Mon, 12 Jun 2023 20:23:00 GMT, Alexey Ivanov <aivanov@openjdk.org> wrote:

> > > > It may be useful to be able to run Java on previous versions though, yet it's \
> > > > not a priority.
> > > 
> > > Then probably it is better to add a fallback since that method was added to the \
> > > win 10 after GA, and it does not exist in the early version.
> > 
> > But the earlier versions of Windows 10 are already unsupported, including the one \
> > where the `OpenThemeDataForDpi` function was added. 
> > If required, the fallback could be implemented under a new bug. ~~Anyway, I don't \
> > have a strong opinion on this matter.~~
> 
> I think it's *unfeasible* to provide the fallback to keep the code simpler.
> 
> If `OpenThemeDataForDpi` isn't available, we cannot get per-DPI images. Then we \
> have to fallback to using the DPI of the main display and scale up / down all the \
> returned values and images.

> If required, the fallback could be implemented under a new bug.

The compatibility problem was reported on the [client-libs-dev mailing \
list](https://mail.openjdk.org/pipermail/client-libs-dev/2023-November/016360.html). \
It is tracked as [JDK-8321151](https://bugs.openjdk.org/browse/JDK-8321151).

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13701#discussion_r1422613098


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic