Integrated: 8323511: Scrollbar Click jumps inconsistent amount of pixels
Florian Kirmaier
fkirmaier at openjdk.org
Wed Jun 5 07:41:10 UTC 2024
On Wed, 10 Jan 2024 12:31:20 GMT, Florian Kirmaier <fkirmaier at openjdk.org> wrote:
> As seen in the unit test of the PR, when we click on the area above/below the scrollbar the position jumps - but the jump is now not always consistent.
> In the current version on the last cell - the UI always jumps to the top. In the other cases, the assumed default cell height is used.
>
> With this PR, always the default cell height is used, to determine how much is scrolled.
> This makes the behavior more consistent.
>
> Especially from the unit-test, it's clear that with this PR the behavior is much more consistent.
>
> This is also related to the following PR: https://github.com/openjdk/jfx/pull/1194
This pull request has now been integrated.
Changeset: a39652b3
Author: Florian Kirmaier <fkirmaier at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/a39652b3e72dd40dc2a24e06490d6b365f69bbe3
Stats: 122 lines in 4 files changed: 86 ins; 32 del; 4 mod
8323511: Scrollbar Click jumps inconsistent amount of pixels
Co-authored-by: Eduard Sedov <eduard.sdv at web.de>
Reviewed-by: angorya, kcr, jvos
-------------
PR: https://git.openjdk.org/jfx/pull/1326
More information about the openjfx-dev
mailing list