RFR: 8298728: Cells in VirtualFlow jump after resizing [v2]

Florian Kirmaier fkirmaier at openjdk.org
Thu Dec 22 12:00:58 UTC 2022


On Tue, 20 Dec 2022 17:49:13 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
>
> Johan Vos has updated the pull request incrementally with one additional commit since the last revision:
> 
>   move statements to new lines.
>   Add another failing test, and a fix: when the cell that is positioned at the "current index"
>   is resized, we also need to modify the offset (wich is calculated from the top of that cell
>   to the start of the viewport).

I can confirm that this fixes every remaining issue related to ListView to my knowledge.

My test application (which was an extended version of the test in this ticket: https://bugs.openjdk.org/browse/JDK-8277785) works now 100% correctly.

The application at Zeiss works now without any ListView-related workaround.

So, on my side - with this fix, all ListView issues known to me are fixed.

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

PR: https://git.openjdk.org/jfx/pull/974


More information about the openjfx-dev mailing list