Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.4.2
-
None
Description
QFileSystem.setNameFilters has no effect on the files shown in QListView / QTreeView when the current directory is on an external drive and Windows OS.
For example having the following file list (NB! D: is an external hard drive):
D:/files/date1_suffix1_id234.png D:/files/date1_suffix2_id235.png D:/files/date2_suffix1_id236.png D:/files/date2_suffix2_id237.png
Name filter in use:
"*suffix1*.png"
Expected files in QListView:
date1_suffix1_id234.png date2_suffix1_id236.png
Actual files in QListView:
date1_suffix1_id234.png date1_suffix2_id235.png date2_suffix1_id236.png date2_suffix2_id237.png
NB! Everything works as expected when the same files are on the system drive (C:/...)