RFR: 8318577: Windows Look-and-Feel JProgressBarUI does not render correctly on 2x UI scale
lawrence.andrews
duke at openjdk.org
Wed Jan 22 06:16:37 UTC 2025
On Wed, 22 Jan 2025 03:29:55 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> JProgressBar (StringPainted variant) does not render consistently on HiDPI displays (e.g. 200% Scale Factor) on Windows (using Windows Look-and-Feel) depending on the height at which JProgressBar is rendered, in which case the gap between progressbar and skin is different for different height as can be seen below
>
> 
>
> Native windows progressbar renders without leaving any gap as can be seen here
>
> 
>
> so the padding is removed to render the progressbar similar to windows native and it is rendered properly
>
> 
test/jdk/javax/swing/JProgressBar/TestProgressBarUI.java line 27:
> 25: * @test
> 26: * @bug 8318577
> 27: * @summary Tests that tab movement is correct in RTL component orientation.
The title of the bug and the summary of the test does not match.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23227#discussion_r1924750601
More information about the client-libs-dev
mailing list