[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Re: RFR: 8309460: JScrollBar leaves behind clutter for non-integer UI scales
From: Harshitha Onkar <honkar () openjdk ! org>
Date: 2024-01-24 21:38:26
Message-ID: t_zEmTxIFryMuQZPahzl67mJIy3Lv3WQ7a_ICir02I4=.a59a332e-a7ef-460e-a672-13f9fdf1ac5a () github ! com
[Download RAW message or body]
On Wed, 24 Jan 2024 21:03:39 GMT, Alexey Ivanov <aivanov@openjdk.org> wrote:
> The suggested fix adds one more repaint of the rectangle where the scroll thumb is \
> currently located. Or maybe not, and `getTrackBounds` returns the new rectangle by \
> the time it's called in `scrollByUnit`.
This seems like a possible cause.
> I wonder if the problem can be reproduced by programmatically moving the thumb \
> instead of dragging it with the mouse. Playing with the window size, uiScale, and \
> the max value of the scrollbar could be required…
Good idea. I agree, especially with the case of max value of scroll bar.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17484#issuecomment-1908953767
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic