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

QFileSystemModel doesn't refresh after a file is set to be hidden in Explorer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.1
    • Core: Item Models
    • None
    • Windows

    Description

      QFileSystemModel model;
      const auto filters = (QDir::AllEntries | QDir::NoDotAndDotDot) & ~QDir::Hidden;
      model.setFilter(static_cast<QDir::Filters>(filters));

      QTreeView tree;

      tree.setModel(&model)

      Such a tree doesn't refresh if some directory visibility changed inside that tree.

      Attachments

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

        Activity

          People

            dfaure_kdab David Faure
            dima077 domra frizh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes