Bug #51331 Query editor loses focus when executing query
Submitted: 19 Feb 2010 15:55 Modified: 20 Aug 2010 11:05
Reporter: Alex Whitman Email Updates:
Status: Closed Impact on me:
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.16 OSS Beta R5249 OS:Windows (Windows 7)
Assigned to: Sergei Tkachenko CPU Architecture:Any
Tags: editor, focus, query

[19 Feb 2010 15:55] Alex Whitman
After executing a query in the editor, focus is moved to the tabs below.  Pressing the left and right cursor keys moves between the tabs.  In my opinion the focus should stay in the query editor to allow quick edits to queries to fix typos etc.  Currently you have to use the mouse to return focus to the editor.

How to repeat:
- Enter a query into the sql editor.
- Execute the query (Ctrl + Enter).
- Press the left or right cursor keys - see the focused tab being changed.

Suggested fix:
After executing a query, return focus to the query editor.
[20 Aug 2010 11:05] Johannes Taxacher
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at