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

QFileSystemModel shows directories with setFilter(QDir::Files)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.1, 5.12.2
    • Fix Version/s: None
    • Component/s: Core: Item Models
    • Labels:
      None
    • Platform/s:
      macOS, Windows

      Description

      In a file-explorer scenario, I have two QFileSystemModels: `dirsModel` set to show only dirs, and `filesModel` set to show only files.

      If I visit a dir with the `filesModel`, and then go back to its parent, it will show the visited dir in the files list.

        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:
            zueuk Peter Sdobnov
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes