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

ListView.indexAt() and GridView.indexAt() do not return the right item if the view has been scrolled

    XMLWordPrintable

    Details

      Description

      ListView.indexAt() and GridView.indexAt do not return the right item if the ListView has been scrolled as it is not taking into account the fact what the scrollby is. Attached is an example QML to reproduce this problem and a patch to resolve it.

        Attachments

        1. itemlist.qml
          1 kB
        2. patch.diff
          0.6 kB

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              martjone Martin Jones (closed Nokia identity) (Inactive)
              Reporter:
              anshaw Andy Shaw (closed Nokia identity) (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes