Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.15
-
-
b84852670da604d32fe7cf222f0a82c28fd29c53 (qt/qtbase/dev) fcbeebc5828228078c38329940fabb80f22e3909 (qt/qtbase/5.15)
Description
Hello,
the following code which works fine up to roughly 5.15.1, triggers an infinite loop somewhere in 5.15 HEAD
#include <QtCore> #include <QtWidgets> int main(int argc, char *argv[]) { QApplication a(argc, argv); QFileSystemModel model; model.setNameFilters(QStringList{"*.foo"}); model.setNameFilterDisables(false); model.setFilter(QDir::AllDirs | QDir::Files | QDir::NoDotAndDotDot); QSortFilterProxyModel pm; pm.setRecursiveFilteringEnabled(true); pm.setSourceModel(&model); pm.setFilterKeyColumn(0); QTreeView w; w.setModel(&pm); w.show(); return a.exec(); }
Attachments
Issue Links
- is duplicated by
-
QTBUG-87588 [REG 5.15.1 -> 5.15] QFileSystemModel with QDir::NoDot filter hangs
- Closed