Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-12822

ListView.atXEnd not updated correctly when setting ListView.currentIndex to the last index.

    XMLWordPrintable

Details

    • dac9c7f42765a46d445aae35fd0e85b402ceb164

    Description

      See the attached QML file for reproducing the problem.
      When dragging the list view, everything works okay.
      When setting the ListView.currentIndex to the last index, the ListView.atXEnd is not set to true after the animation has finished.
      listView.atXBeginning works okay.
      It seems that that the scrolling stops too early when calling ListView.currentIndex.

      The same is true for Y dimension too.

      Attachments

        1. begenddemo.qml
          2 kB
          Marko Heikkilä
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            marko Marko Heikkilä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes