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

Tejesh R tr at openjdk.org
Thu Feb 22 05:52:54 UTC 2024


On Mon, 5 Feb 2024 06:26:30 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..
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update

The test can be converted to automatic by comparing the captured scroll area before MousePress and between MousePress and Release events.

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

PR Review: https://git.openjdk.org/jdk/pull/17484#pullrequestreview-1894956588


More information about the client-libs-dev mailing list