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

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.15.0
    • Fix Version/s: Qt Creator 6.0.1
    • Component/s: Editors
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Commits:
      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

            Assignee:
            davschul David Schulz
            Reporter:
            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