-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 10.0.1
To reproduce:
1. Open Search pane (Ctrl + Shift + F)
2. Scope: "Find in File System"
3. SearchEngine: "Internal"
4. Directory : Point into your home dir
5. Search for: "ab"
6. Press "Search"
The GUI if frozen for long minutes.
It look like SearchResultTreeModel::addResults() is the bottleneck. Lasts much longer than the results delivery and is invoked in GUI thread.
Most probably SearchResultWidget / SearchResultTreeView / SearchResultFilterModel should be refactored and implemented in a similar way to the ClassView tree (ClassView::Internal::TreeItemModel / NavigationWidget), which contains millions of items and is fast.