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

ListView highlight component does not change height properly when current item is out of view

XMLWordPrintable

    • ddeae91ab54bb92b813304778ab8dc4037937274

      Run the attached QML file.

      It has a listView of 16 items and a highlight rectangle.

      1. Click on "expand list" and you should see that the highlight rectangle's height grows with the list item.
      2. Click on "collapse list" and the highlight's height follows.
      3. Now scroll the list to the end while leaving the highlight on the first item.
      4. Click on "Expand list"
      5. Scroll the list back to the top

      BUG: the highlight is not highlighting the first item anymore. It is offset from the list.

      Likewise, if you start with an expanded list and scroll to the end, then "collapse list". The highlight is also offset from the selected item.

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

            martjone Martin Jones (closed Nokia identity) (Inactive)
            frankli Frank Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes