Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 2.6.1, Qt Creator 2.6.2, Qt Creator 2.7.0
-
None
-
Windows 7 x86
-
4b807bb78aace31939aa5da12cfb6ab6084a473e
Description
1. Create new project or open any already existing one.
2. Press Ctrl+Shift+F.
3. Set scope to Current Project.
4. Search for: <you query>
5. Press 'Search' button. Don't close search widget.
6. Close project from clause 1. Note that 'Search again' button has become disabled.
7. Create another project or, again, open another already existing one. Note that 'Search again' button now is enabled.
8. Verify that search history (located on the search-widget's header) refers to the project from clause 1 (i.e. Project 'test': <your query>).
9. Press 'Search again' button.
10. See that QtCreator crashes.
Alternatively, instead of clause 8, you can set up another search on second project. And before clicking 'Search again' button select history item refering to the first project (which should be unloaded by the moment).
Obviously, replaying of history items that refer to closed projects should be disabled by disabling the 'Search again' button or results should be empty.