Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-367 Issues when building Qt and Creator with Cocoa
  3. QTCREATORBUG-698

Pressing escape in the find tool bar (cmd+f) already hides the tool bar.

    XMLWordPrintable

Details

    • 90dfb5e5d8fc8cb841b0762cd88aa4b996c38312

    Description

      Pressing escape in the find tool bar should return the cursor to the editor.

      For this there is a section in FindToolBar::eventFilter, handling the escape key shortcut override specifically (around findtoolbar.cpp:260), which would otherwise be handled by the escape shortcut registered by MainWindow (which hides all temporary panels, including the find tool bar).

      What happens is:
      1) shortcut override is handled in FindToolBar, setting the focus to the editor, and accepting the event and returning true, to avoid further handling of the event
      2) even though the eventFilter returned true, the shortcut is handled by the MainWindow action, which hides the find tool bar.

      Attachments

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

        Activity

          People

            dzyubenk Denis Dzyubenko (Inactive)
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes