Bug #50911 Improved handling of SQL Editor keyboard shortcuts and Stop Toolbar icon
Submitted: 4 Feb 2010 12:15 Modified: 12 May 2010 14:48
Reporter: Michael G. Zinner Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.15 OS:Any
Assigned to: Sergei Tkachenko CPU Architecture:Any

[4 Feb 2010 12:15] Michael G. Zinner
Description:
1) To have a unified keyboard shortcut handling, please change/add the following Menu items and Keyboard shortcuts.

---
Execute Current Statement   [Ctrl + Enter]
Execute (All or Selection)  [Ctrl + Shift + Enter]
---
Explain Current Statement   [Ctrl + Alt + Enter]
Explain (All or Selection)  [Ctrl + Alt + Shift + Enter]
---

2) Make changes required to automatically enable/disable the Stop menu item and the Stop Toolbar icon.

Only enable Stop when the query is running. Alfredo can do the necessary coding on OS X once the backend supports the switching.

How to repeat:
Run SQL Editor

Suggested fix:
Implement as described.
[29 Apr 2010 17:38] Alfredo Kojima
setup bug #53244 as duplicate of this one
[3 May 2010 21:24] Daniel Katz
Subscribing.  This is also related to:

http://bugs.mysql.com/bug.php?id=50747

Which was implemented but then broken again.
[10 May 2010 10:55] Mike Lischke
That seems to be complete already.
[10 May 2010 16:53] Johannes Taxacher
confirmed in repository
[12 May 2010 14:48] Tony Bedford
An entry has been added to the 5.2.21 changelog:

MySQL Workbench has been changed to include the following keyboard shortcuts and menu items:

Execute Current Statement, Ctrl + Enter

Execute (All or Selection), Ctrl + Shift + Enter

Explain Current Statement, Ctrl + Alt + Enter

Explain (All or Selection), Ctrl + Alt + Shift + Enter

The Stop toolbar button and menu item are also now automatically enabled and disabled.