RFR: 8291908: VirtualFlow creates unneeded empty cells

smith3390s duke at openjdk.org
Mon May 13 18:20:25 UTC 2024


On Thu, 4 Aug 2022 14:30:40 GMT, Johan Vos <jvos at openjdk.org> wrote:

> When calculating the viewportOffset, we now already take into account that cells will have to shift.
> 
> This prevents the creation of temporary empty cells in the layout phase.
> One test needed to be fixed, since the number of invocations to updateItem() was hardcoded (and it
> is decreased by this commit).

@johanvos I encountered the bug initially described here: https://bugs.openjdk.org/browse/JDK-8291467  when I advanced from JavaFX 17 to 19.0.2.1.  You had fixed it and it was released in JavaFX 20.  In my application this tracks.  The problem is indeed fixed in JavaFX 20.  However, it seems broken again in JavaFX 21.0.3.  Is there a regression test that could confirm what I am seeing?

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

PR Comment: https://git.openjdk.org/jfx/pull/863#issuecomment-2108509939


More information about the openjfx-dev mailing list