RFR: 8303680 Virtual Flow freezes after calling scrollTo and scrollPixels in succession

Andy Goryachev angorya at openjdk.org
Mon Mar 6 16:42:24 UTC 2023


On Mon, 6 Mar 2023 16:04:02 GMT, Florian Kirmaier <fkirmaier at openjdk.org> wrote:

> Possible fix for VirtualFlow freeze.
> 
> I encountered the problem when experimenting with VirtualFlow.
> 
> Guess @johanvos should take a look.
> All tests are still green, so with some luck, this doesn't break anything but fixes some known and unknown bugs.

modules/javafx.controls/src/test/java/test/javafx/scene/control/ListViewTest.java line 2540:

> 2538:         // scroll to 50 and scroll 1 pixel
> 2539:         vf.scrollTo(50);
> 2540:         vf.scrollPixels(1);

this is a rather artificial test.  
is it possible to reproduce the condition using control's public APIs?

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

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


More information about the openjfx-dev mailing list