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

Sergey Bylokhov serb at openjdk.org
Sun Jan 21 00:42:25 UTC 2024


On Fri, 19 Jan 2024 05:52:34 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Also, it might be the case the scrollbar methods like getUnitIncrement, scrollBar.getValue scrollbar.setValue setThumbBounds sets or returns or uses integer value despite scale being non-integer, so I guess repainting dirty region should be done to refresh the artifacts

But in the fix and in the places you pointed out we also use the int values, so why is the bug reproduced only when the float scale is used?

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

PR Comment: https://git.openjdk.org/jdk/pull/17484#issuecomment-1902463567


More information about the client-libs-dev mailing list