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

Changing name filters in QFileSystemModel does not trigger e.g. rowsInserted signal

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.3.0 Beta2
    • Core: Item Models
    • None

    Description

      QFileSystemModel has name filters. These filters can either disable or remove items. When it removes items, changing the name filters results in rows being removed and/or added. This should trigger the signals rowsAboutToBeInserted, rowsInserted, rowsAboutToBeRemoved, and rowsRemoved. But these signals are not emitted.

      A little reproducer is attached.

      Attachments

        1. main.cpp
          1 kB
          Andreas Buhr

        Activity

          People

            dfaure_kdab David Faure
            andreasbuhr Andreas Buhr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: