RFR: 8323511: Scrollbar Click jumps inconsistent amount of pixels [v6]

Andy Goryachev angorya at openjdk.org
Thu May 9 17:48:05 UTC 2024


On Thu, 9 May 2024 17:34:11 GMT, Johan Vos <jvos at openjdk.org> wrote:

> the idea about mapping scroll events to the top/bottom of a cell is hinted in the code though

could you please point to these places?

I think this change is inline with the modern UIs, at least macOS and Windows.  As Eduard correctly pointed out, it makes sense to align on the cell top boundary when changing selection, but mouse navigation via scroll bar should use the view port height.  In other words, going back and forward with the mouse should revert the control to the same state (unless it hit the rail).

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

PR Comment: https://git.openjdk.org/jfx/pull/1326#issuecomment-2103136466


More information about the openjfx-dev mailing list