Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
6.9.1
-
None
Description
It seems that on mac, QDirIterator does not iterate hidden files.
I tried using QDir::Hidden but it didn't help.
Files hidden with chflags hidden <file> are not shown.
Files hidden because their filename starts with a dot are not shown.
The files are shown when iterating the same folder with QDirListing and its hidden flag.
With the attached reproducer, I get following output:
from QDirIterator: "/tmp/untitled1/testIterator/." "/tmp/untitled1/testIterator/.." "/tmp/untitled1/testIterator/notHiddenDir" "/tmp/untitled1/testIterator/notHidden.txt" from QDirListing with QDirListing::IteratorFlag::IncludeHidden flag: "/tmp/untitled1/testIterator/hidden.txt" "/tmp/untitled1/testIterator/notHiddenDir" "/tmp/untitled1/testIterator/notHidden.txt" "/tmp/untitled1/testIterator/.withDot" "/tmp/untitled1/testIterator/.withdot.txt" "/tmp/untitled1/testIterator/hiddenDir"