Bug #22884 Table Editor confirmation box inconsistancy
Submitted: 2 Oct 2006 11:27 Modified: 24 Nov 2006 17:12
Reporter: Andreas Påhlsson (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.2.4rc OS:Linux (Linux)
Assigned to: Vladimir Kolesnikov CPU Architecture:Any

[2 Oct 2006 11:27] Andreas Påhlsson
Description:
When making changes in the Table Editor and pressing the Apply button a confirmation box with the resulting SQL statements pops up. The default action in this box is usually to accept the changes. Focus is set on the Run button.

Not always unfortunately. When making changes to indices on the indices tab, this behaviour changes. Often the text area with the SQL is in focus instead of the Run button. In some cases the Cancel button has the focus.

This happens quite reliably when removing an index from a table, but only once for every time the Table Editor is opened.

How to repeat:
Start MySQL Administrator.
Select Catalogs in the left pane.
Select a suitable schmata.
Select a table with multiple indices.
Press the Edit Table button.
Select the Indices tab.
Select an index.
Press the remove (-) button.
Press the Apply Changes button.
And behold, a confirmation box with the focus set on the SQL text area.

For fun press the Cancel button.
Press the Apply Changes button.
Now the Cancel button is in focus.

Suggested fix:
Always make Run the default button
[4 Oct 2006 12:25] Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version, 1.2.4rc, and inform about the results.
[4 Oct 2006 13:38] Andreas Påhlsson
Checked and still there in 1.2.4rc.
[22 Oct 2006 11:24] Valeriy Kravchuk
Still can't repeat with 1.2.4 rc on Windows. Button is called "Execute" there, and focus is always set on it. So, it can be platfrom-specific Linux bug.
[23 Oct 2006 18:46] MySQL Verification Team
Thank you for the bug report.
[24 Nov 2006 17:12] Vladimir Kolesnikov
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

    http://dev.mysql.com/doc/en/installing-source.html