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

List does not go to the top of ListView after filter is applied/removed in QSortFilterProxyModel

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/Wayland, Linux/Other display system, Windows
    • Sprint:
      Bug Fixing Candidates

      Description

      Hello, I detected the next problem: the behaviour LisView (QML) of QSortFilterProxyModel does not consistent all the time whenever the filter is applied/removed.
      In some cases list does not go to the top of ListView after filter is applied/removed.
      For example:
      If I scroll list to the middle part, insert 3 items in the top list, apply and remove filter then list does not go to the top of ListView. And from it moment list never does not go to the top of ListView and even if I add items and apply/remove filter.
      Code sample is in attachment

      Edit: to clarify what is meant by the middle part, there is a group in the middle of 1111 items, if it is in the middle of that (so all you see are 1111 items) then this seems to place it in the right place to make it easy to reproduce.

      Edit: scroll to middle part is meant scroll to independence of position in the list. Consider it just swipe/scroll of list.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              srutledg Shawn Rutledge
              Reporter:
              valery_khryuchkin Valery Khryuchkin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes