ListView scrollTo jumps to wrong location when CellHeight is changed

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • jfx19
    • Affects Version/s: jfx17
    • Component/s: javafx
    • Environment:

      JavaFX17, OS independent 

        In some situations, the ScrollTo methods land in the wrong place.
        Sometimes it "overjumps" the last element.
        Sometimes it doesn't scroll to the bottom.

        We've provided a test class, which shows the problem, and a small gif, which shows it in video form.

        This worked with JavaFX16, but does not work with JavaFX17, and is therefore probably related to the rewrite of VirtualFlow

        It might be the same bug as the following: https://bugs.openjdk.java.net/browse/JDK-8276553

        Thanks to Sedov Eduard for working on this bug.

              Assignee:
              Johan Vos
              Reporter:
              Florian Kirmaier
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: