Bug #52833 Edit Table Data - Finish Button Grayed Out Without Explanation
Submitted: 14 Apr 2010 19:17 Modified: 16 Nov 2011 7:06
Reporter: Rick Werezak Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.25 OS:Linux (ubuntu 9.10)
Assigned to: Maksym Yehorov CPU Architecture:Any

[14 Apr 2010 19:17] Rick Werezak
Description:
The 'Finish' button in the "Edit Table Data" dialog is grayed out without explanation.

The text says: "Press [Finish] to start editing the table data."  This is not possible because the button is grayed out.  There's no explanation to the user as to why this might be.   There seems to be no way to figure it out with a clue.

I suspect that the programmer knows what the limitation is and has disabled the button but hasn't told the user why he's done this.

How to repeat:
create a schema
create a table
forward engineering it to the DB
go to home screen
edit table date
select a connection
select the schema
select the table
see above situation (in my case at least)

I don't know what I've done incorrectly, so I don't know what you'd need to recreate it.  But the system should be giving me a clue as to the problem.
 

Suggested fix:
Look at the code that grays out the button.  Include a message on the dialog box in place of "Press [Finish] to start editing the table data" that tells the user what might be wrong.
[15 Apr 2010 9:18] Johannes Taxacher
i could not repeat with our linux test-systems
[15 Apr 2010 11:32] MySQL Verification Team
Verified as described on Ubuntu 10.04.
[30 Apr 2010 1:11] Alfredo Kojima
When I select a schema and the 1st table is auto-selected, the Finish button isnt enabled, but as soon
as I change the table to something else it get re-enabled. Can you confirm whether the Finish button never gets enabled? Also, does the same still happen in 5.2.20?
[30 May 2010 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[4 Jun 2010 16:27] Ali Karam
I have the same bug
using workbench 5.2.21 on Ubuntu 10.04
I have to select another table then reselect the first table to enable the finish button. if the schema has one table then there is no way to click the finish button.
the only way to temporarily bypass this problem is to create a second dummy table.
[5 Jul 2010 8:56] Werner Heijstek
I can confirm this bug on Fedora 13 (Linux 2.6.33.5-124.fc13.i686.PAE #1 SMP Fri Jun 11 09:42:24 UTC 2010 i686 i686 i386 GNU/Linux). 

Creating a dummy table (eg. running a CREATE TABLE test (test INT); ) worked for me.
[6 Jul 2010 10:11] Susanne Ebrecht
Many thanks for writing a bug report.

The problem still exist in actual workbench version.

The finish button won't get black when you have exactly a single table in your database.

The workaround works when you have > 1 table in your database but it totally fails when count_table == 1.
[27 Oct 2010 19:12] Alfredo Kojima
This is Linux specific.
[16 Nov 2011 7:06] Philip Olson
Fixed as of 5.2.36:

+        If a table cannot be edited (e.g., no Primary key), then
+        &workbench; now notifies users of the reason, when before the
+        edit option was simply not available.
[16 Nov 2011 7:09] Philip Olson
Please ignore that last diff. It's really:

+        The <guibutton>Finish</guibutton> button was inactive (grayed
+        out) for the <guimenu>Edit Table Data</guimenu> dialog, if the
+        database contained exactly one table.