Bug #77028 Focus is removed from sql text pane on executing a query
Submitted: 13 May 2015 13:02 Modified: 14 Jul 2016 18:15
Reporter: Sunny Lum Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:6.3.3 OS:Windows (8.1 64-bit)
Assigned to: CPU Architecture:Any

[13 May 2015 13:02] Sunny Lum
Description:
Re-occurrence of bug #69505.

The focus is removed from the sql editor/text panel when executing a query. This is quite annoying if you are using Ctrl-Enter to execute the query, as you have to tab back to the SQL editor to re-focus your input on the editor.

How to repeat:
Execute query with Ctrl-Enter, focus is lost

Suggested fix:
Don't change input focus
[13 May 2015 16:12] MySQL Verification Team
I couldn't repeat on Windows 8.1 64-bit when hitting Ctrl-Enter the cursor remains in the end of query line. Maybe some OS setup affects it.
[13 May 2015 16:26] Sunny Lum
It seems to only occur when there is a result grid already up.

If you run a query which doesn't output a result grid, eg:

SET @booking = 420472;
SET @booking = 678972;

These will work and retain focus as many times as you CTRL + Enter.

However, if a result grid is already displayed it takes the focus when CTRL + Enter.

A new Result Grid doesn't take the focus, only an existing one.
[13 May 2015 16:56] MySQL Verification Team
Thank you for the feedback now verified.
[14 Jul 2016 18:15] Philip Olson
This is closed. For details, see MySQL Bug #75733