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

QtCreator crashes if clicking Search with 'Current File' but file was closed.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 6.0.1
    • Qt Creator 4.15.0
    • Editors
    • None
    • Linux/X11
    • 61e764bb189987eed769597c819c3a3d635a7e76

    Description

      When doing "2 Search Results" with Scope: Current File and clicking [Search] button after file was closed, as for example when you forgot that Scope was set to Current File, QtCreator just disappears (crashes) without a warning.

      It is noteworthy that if no files are open when you select Current File all the fields and buttons are grayed out as they should be. But if you do a search on an open file, then close the file, the search fields are not grayed out and clicking the Search button causes the crash.

      Attachments

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

        Activity

          People

            davschul David Schulz
            harveyab Harvey Block
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes