RFR: 8318577: Windows Look-and-Feel JProgressBarUI does not render correctly on 2x UI scale [v2]

Tejesh R tr at openjdk.org
Fri Jan 24 06:58:51 UTC 2025


On Fri, 24 Jan 2025 06:38:36 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> > ```
> > 2. If you can observe the "BAD" progress bar, the bottom border is visible, where as its not in "GOOD" progress bar. It's like the whole paint is shifted by pixel to top.
> > ```
> 
> The "GOOD" progressbar size is 100,21 whereas "BAD" progressbar size is 100,22 as per testcase so I guess its expected to be 1px less..

But the progress color which is blue should be filled irrespective of height right ? meaning in "GOOD" its filled from top border till bottom, whereas in "BAD" its filled from top till one pixel above bottom which makes the bottom border visible.

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

PR Comment: https://git.openjdk.org/jdk/pull/23227#issuecomment-2611731461


More information about the client-libs-dev mailing list