Bug #42905 Config form tab order
Submitted: 16 Feb 2009 22:14 Modified: 6 Nov 2009 10:59
Reporter: Jared S (Silver Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S4 (Feature request)
Version:5.1.5 OS:Windows (Vista)
Assigned to: CPU Architecture:Any
Tags: config, tab order

[16 Feb 2009 22:14] Jared S
Description:
When I am adding a ODBC connection I would like to go {TAB},{TAB},{TAB},{TAB},{F4} and select DB using arrows key on keyboard.

Currently the TabIndex for DB combo needs tweaking.  'recalibrated'

How to repeat:
{TAB},{TAB},{TAB},{TAB},{TAB},{TAB},{TAB},{TAB},{TAB},{F4}

Suggested fix:
{TAB},{TAB},{TAB},{TAB},{TAB},{TAB},{F4}
[17 Feb 2009 7:04] Tonci Grgin
Hi Jared and thanks for your report.

Verified as described and, if I might add, annoys me too.
[3 May 2009 20:05] Jess Balint
Fix database, also put Test,Details before Ok,Cancel:
=== modified file 'setupgui/windows/odbcdialogparams.rc'
--- setupgui/windows/odbcdialogparams.rc        2008-08-04 13:39:09 +0000
+++ setupgui/windows/odbcdialogparams.rc        2009-05-03 20:04:29 +0000
@@ -40,6 +40,7 @@
     EDITTEXT        IDC_EDIT_port,212,121,28,14,ES_AUTOHSCROLL | ES_NUMBER
     EDITTEXT        IDC_EDIT_uid,98,140,85,14,ES_AUTOHSCROLL
     EDITTEXT        IDC_EDIT_pwd,98,158,85,14,ES_PASSWORD | ES_AUTOHSCROLL
+    COMBOBOX        IDC_EDIT_database,98,176,85,42,CBS_DROPDOWN | CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP
     RTEXT           "Data Source Name:",IDC_STATIC,23,72,67,8
     RTEXT           "Description:",IDC_STATIC,23,92,67,8
     RTEXT           "Server:",IDC_STATIC,23,123,67,8
@@ -48,13 +49,12 @@
     RTEXT           "Password:",IDC_STATIC,23,162,67,8
     RTEXT           "Database:",IDC_STATIC,23,179,67,8
     CONTROL         "",IDC_TAB1,"SysTabControl32",WS_TABSTOP,17,214,249,154
+    PUSHBUTTON      "&Test",IDC_BUTTON_TEST,199,175,41,14
+    PUSHBUTTON      "&Details >>",IDC_BUTTON_DETAILS,17,376,50,14
     DEFPUSHBUTTON   "OK",IDOK,111,375,50,15
     PUSHBUTTON      "&Cancel",IDCANCEL,165,375,50,15
-    PUSHBUTTON      "&Test",IDC_BUTTON_TEST,199,175,41,14
-    PUSHBUTTON      "&Details >>",IDC_BUTTON_DETAILS,17,376,50,14
     PUSHBUTTON      "&Help",IDC_BUTTON_HELP,217,375,49,15
     CONTROL         130,IDC_STATIC,"Static",SS_BITMAP,0,0,279,39
-    COMBOBOX        IDC_EDIT_database,98,176,85,42,CBS_DROPDOWN | CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP
 END

 IDD_TAB1 DIALOGEX 0, 0, 209, 151
[1 Nov 2009 16:32] Lawrenty Novitsky
Patch pushed as rev#850. Will be released in the 5.1.6
[6 Nov 2009 10:59] Tony Bedford
An entry has been added to the 5.1.6 changelog:

In the MySQL Data Source Configuration dialog, an excessive number of tabs were required to navigate to selection of a database. MySQL Connector/ODBC has been changed to make the tab order more practical, thereby allowing faster configuration of a Data Source.