Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8277785

ListView scrollTo jumps to wrong location when CellHeight is changed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • jfx19
    • jfx17
    • javafx
    • JavaFX17, OS independent 

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

                jvos Johan Vos
                fkirmaier Florian Kirmaier
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: