Integrated: 8311185: VirtualFlow jump when cellcount changes

Johan Vos jvos at openjdk.org
Sat Jul 15 15:09:09 UTC 2023


On Fri, 30 Jun 2023 17:43:56 GMT, Johan Vos <jvos at openjdk.org> wrote:

> When the cellcount changes, we need to make sure that the size of the current first visible cell is known.
> 
> This avoids index errors due to the current offset (between the top of the viewport and the current first visible cell) being potentially larger than the new estimated cellsize.
> 
> Added a test that fails before and succeeds after the patch. The test uses the same logic as the reproducer in the JBS issue.

This pull request has now been integrated.

Changeset: 0371b349
Author:    Johan Vos <jvos at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/0371b349c929a0f8e71d8f2a01b1e565bb885e6c
Stats:     19 lines in 2 files changed: 19 ins; 0 del; 0 mod

8311185: VirtualFlow jump when cellcount changes

Reviewed-by: angorya, kcr

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

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


More information about the openjfx-dev mailing list