RFR: 8298728: Cells in VirtualFlow jump after resizing
Andy Goryachev
angorya at openjdk.org
Wed Dec 14 22:02:18 UTC 2022
On Wed, 14 Dec 2022 10:03:29 GMT, Johan Vos <jvos at openjdk.org> wrote:
> When recalculating sizes, we often don't want the current index and/or offset to change.
>
> Allow to fix the index/offset when doing recalculations.
>
> Fix JDK-8298728
I think this might be the case when unit tests are insufficient.
With this change, I notice something else: select a cell somewhere in the middle of the table, click on the scroll bar to page up, then click on the other side of the scroll bar to page down. The existing code works correctly, the new code does not - the position is different, sometimes the selected cell is scrolled outside of the view.
see "does not page back to the same spot.mp4" in jira
-------------
PR: https://git.openjdk.org/jfx/pull/974
More information about the openjfx-dev
mailing list