Bug #68968 Keyboard shortcut for switching tabs in SQL Editor
Submitted: 16 Apr 2013 0:42 Modified: 20 Jul 2013 1:57
Reporter: Marcin Jakubowski Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S4 (Feature request)
Version:5.2.47 OS:Any
Assigned to: CPU Architecture:Any

[16 Apr 2013 0:42] Marcin Jakubowski
Description:
There are currently no keyboard shortcuts to switch between the tabs in the SQL Editor belonging to a single connection, even though you can open a new tab using Control+T and close the current tab using Control+W.

How to repeat:
Open new SQL Editor connection, open another tab in it by pressing Control+T. The only way to switch between those tabs is to click with your mouse.

Suggested fix:
For convenience and usability reasons, shortcuts to switch to the next tab and previous tab should be added, similarly to View -> Select Next Tab (Control+PageDown) and View -> Select Previous Tab (Control+PageUp) that switch between open SQL Editor connections.
[16 Apr 2013 6:01] MySQL Verification Team
Hello Marcin,

Thank you for the feature request.

Could you try the workaround i.e if you can use "Ctr+Tab" then you can easily navigate between open SQL tabs in editor.. This helps you navigate from 1..N open tabs in the SQL editor and if you want to navigate in backward direction i.e from N..1 then use the shortcut keys "Ctr+Shift+Tab".
[16 Apr 2013 6:14] Marcin Jakubowski
Hello Umesh,

Unfortunately, this doesn't work for me. Ctrl+Tab and Ctrl+Shift+Tab change focus - when I'm in the editor, pressing Ctrl+Tab twice will change focus to connection tabs. I'm using Linux, but I don't think it makes a difference, I grepped main_menu.xml for shortcuts and seems that Ctrl+Tab and Ctrl+Shift+Tab are only defined under Mac OS X for switching between open connections (at the top bar, next to the home icon) and are bound to View->Select Next Tab and View->Select Previous Tab menu actions.
[18 Apr 2013 18:02] Armando Lopez Valencia
Ctrl+TAB only works for Windows, we need shortcuts for the other OS.
Thanks a lot for your report.
[20 Jul 2013 1:57] Philip Olson
Fixed as of the upcoming MySQL Workbench 6.0.4 release, and here's the changelog entry:

"Control" + "PageDown" and "Control" + "PageUp" now switch between open
SQL Editor connections.

Thank you for the bug report.