Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.3.0 Feature Freeze
-
None
Description
I don't know what is at fault here, but browsing the filesystem using a QFileSystemModel displayed in a QTreeView has a noticeable delay after each click. One can also see that items are sorted only after a delay. Something is really strange here.
#include <QDebug> #include <QFileSystemModel> #include <QApplication> #include <QTreeView> int main(int argc, char** argv) { QApplication app(argc, argv); QFileSystemModel model; model.setRootPath("/tmp"); QTreeView tree; tree.setModel(&model); tree.setRootIndex(model.index("/tmp")); tree.show(); return QApplication::exec(); }