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

Erratic display of items in QListView with custom widget, delegate and sort filter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2: Important P2: Important
    • None
    • 6.8.1
    • Widgets: Itemviews
    • None
    • Visual Studio x64

      If I use a QSortFilterProxyModel to filter out items, the display in the view is unpredictable.

      Example attached code example and video shows the behavior

      Create a list of custom widgets with randomly assigned ratings.  0-5.  0 = unrated.

      Use check boxes to only display items with that rating.  No rating selected means show all items.

      Checking then uncheck an item does not display all items, even though filterAcceptsRow is returning true.

       

       

        1. bugReport.zip
          21.65 MB
        2. QTBUG-134083.7z
          3 kB
        3. QtTest.mp4
          64 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            doug_rogers Doug Rogers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes