Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-8556

Crash on 'Search again' after the project being searched is closed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 2.7.0
    • Qt Creator 2.6.1, Qt Creator 2.6.2, Qt Creator 2.7.0
    • All Other Issues
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dt Daniel Teske
            dvolosnykh Dmitry Volosnykh
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes