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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.3.0 Beta2
    • Fix Version/s: None
    • Component/s: Core: Item Models
    • Labels:
      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

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

          Activity

            People

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes