RFR: 8309460: JScrollBar leaves behind clutter for non-integer UI scales

Harshitha Onkar honkar at openjdk.org
Sat Jan 20 01:11:26 UTC 2024


On Thu, 18 Jan 2024 11:09:12 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Lines  are left behind when moving the scrollbar in the positive direction. but are cleaned up on mouse release. 
> Additonally, with right arrow clicks too, the lines are left behind.
> Seems like for mouseDragged and scrollByUnit, the dirty region of the scrollbar is not repainted leading to artifacts
> which is being done in this fix..

test/jdk/javax/swing/JScrollBar/JScrollBarArtifactTest.java line 33:

> 31:  * @test
> 32:  * @bug 8309460
> 33:  * @summary Verifies clicking JComboBox during frame closure causes Exception

summary needs to be updated

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17484#discussion_r1460107777


More information about the client-libs-dev mailing list