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

QDirListing QDir::NoFilter filters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 6.7
    • Core: I/O
    • None

    Description

      When using QDirListing with QDir::Nofilter, QDirListing filters. This can be seen if you try to list a directory containing broken symlinks. Or, as far as I can tell, any symlinks (so there may be two bugs).

      QDirListing's constructor transforms NoFilter to AllEntries but for historical reasons all entries are not all entries (maybe that's also why NoFilter filters?). As a result, in matchesFilters, we have the booleans:

      • includeHidden = false
      • includeSystem = false

      Which is patently wrong.

      Attachments

        Issue Links

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

          Activity

            People

              ahmad.samir Ahmad Samir
              thiago Thiago Macieira
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes