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

QDirListing QDir::NoFilter filters

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes