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

QSortfilterProxyModel invalidateFilter() is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.12.2
    • Core: Item Models
    • None
    • Built and Tested on
      Windows 10
      Qt 5.12.2
      MSVC2017 64bit
    • Windows

    Description

      As suggested in https://bugreports.qt.io/browse/QTBUG-82470?focusedCommentId=501596&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-501596

      I open a new Bug with an attached project.

      It seems, that invalidateFilter() does not work as expected

      When Gui appears:

      Toggle list filter filters the list for odd and even by DataRole

      Long Press calls SortFilterProxyModel::resetFilter() which does not work.

      Workaround is to call setFilterWildcard(""); instead

      Attachments

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

        Activity

          People

            dfaure_kdab David Faure
            hauck Philipp Hauck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes