Bug #57669 OK button only triggers when clicked exactly at OK text
Submitted: 22 Oct 2010 18:51 Modified: 25 Nov 2010 17:50
Reporter: Markus Popp Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.29 OS:Linux (Fedora 64bit (others?))
Assigned to: Alfredo Kojima CPU Architecture:Any

[22 Oct 2010 18:51] Markus Popp
Description:
In the SQL Editor's preferences in the "SQL Editor" tab, if you click the OK button but don't hit OK exactly, you may select or unselect one of the 2 items on the left ("Treat BINARY/VARBINARY as nonbinary character string" or "Enable Data Changes Commit Wizard").

How to repeat:
* Open MySQL Workbench and the SQL Editor
* Select Edit -> Preferences...
* go to "SQL Editor" tab
* click OK, but not exactly on the text "OK" (more likely to hit the bug if you click in the left part of the button)

Suggested fix:
OK button should trigger if clicked anywhere inside the button.
[22 Oct 2010 21:59] MySQL Verification Team
I couldn't repeat on Ubuntu 10.10 X86_64.
[22 Oct 2010 23:07] Markus Popp
Screenshot of Preferences screen

Attachment: Screenshot-Workbench Preferences.png (image/png, text), 68.90 KiB.

[22 Oct 2010 23:08] Markus Popp
See the screenshot with the mouse pointer position and how the check box on the left has the blue background from being the active item.
[22 Oct 2010 23:09] Markus Popp
... and the package I am using is mysql-workbench-gpl-5.2.29-1fc13.x86_64.rpm
[27 Oct 2010 1:39] Alfredo Kojima
Does the same still happen if you increase the window size so that those 2 items at the bottom don't "overflow" to the left of the buttons?
[27 Oct 2010 19:05] Markus Popp
Then it works. So making the Preferences window a bit larger may do the trick.
[28 Oct 2010 7:14] Valeriy Kravchuk
Same story with default preferences window size on Ubuntu 10.04... Default size for this window should be increased it seems.
[29 Oct 2010 1:29] Alfredo Kojima
Height of pref window has been increased
[23 Nov 2010 10:57] Johannes Taxacher
fix confirmed in repository
[25 Nov 2010 17:50] Tony Bedford
An entry has been added to the 5.2.31 changelog:

In the SQL Editor tab of the Workbench Preferences dialog, it was possible to accidentally select or deselect one of the options Treat BINARY/VARBINARY as nonbinary character string or Enable Data Changes Commit Wizard, if the OK button was not clicked centrally.