Details
-
Sub-task
-
Resolution: Done
-
P2: Important
-
None
-
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.