Bug #21837 Query browser Port number only used if it lost focus
Submitted: 25 Aug 2006 14:21 Modified: 4 Sep 2006 23:35
Reporter: Stefaan Lesage (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
Category:MySQL Query Browser Severity:S2 (Serious)
Version: OS:MacOS (OSX 10.4.7)
Assigned to: CPU Architecture:Any

[25 Aug 2006 14:21] Stefaan Lesage
It seems that if you press the 'Connect' button in the 'Connect to MySQL Instance' dialog, it doesn't use the value you entered into the Port EditBox unless it has actually lost focus.

How to repeat:
Run Query Browser.

In the 'Connect to MySQL Instance' dialog, enter another port than the default 3306 and make sure the Port edit box doesn't loose focus.  Press Connect and the QueryBrowser will still connect to the port which was previously entered.  When restarting the app, the old port ( 3306 in our case ) will still be filled in.

If you tab out of the Port editbox after entering a new port number, then it will be used correcly.

Suggested fix:
Make sure the Port Number entered in the EditBox is stored and used, even if the user doens't tab out of the control.
[4 Sep 2006 23:35] Alfredo Kojima
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at