Bug #35841 click-reclick for editing values is bad usability + grid improvements
Submitted: 4 Apr 2008 19:10 Modified: 10 Oct 2013 14:48
Reporter: Exception e Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S4 (Feature request)
Version:5.0.30 OS:Windows (XP Prof 32bit)
Assigned to: CPU Architecture:Any
Tags: UI, usability

[4 Apr 2008 19:10] Exception e
Description:
Workbench uses an inconvenient interaction model.
In order to change a colum name, datatype, default vale etc in tab Columns for the table editor one needs to click somewehere in a row, wait a moment, then click on the appropriate cell. Then you need to wait a second, and the cell-value becomes editable.
The user is forced by this model to slow down in order to alter values. I found it very inconvenient, one needs to be constantly aware of this limitation. In addition, if the user forgets that he must click slowly, he does not get what he wants, but he get this unexpected behavior:

Double-clicking a row that is NOT a primary key makes it a primary key and enables NOT-NULL flag

Double-clicking a row that is a primary key turns it back into a normal row (no primary key), BUT it leaves the NOT-NULL flag to ON.

How to repeat:
This is how one is forced to change values:

1. load or create a table with some columns and open it.
2. goto tab Columns
2. Click a row
3. Wait a moment!
4. Click on the columname-cell or other cell
5. Wait a second
6. Now one can enter a new value
Problem: this is cumbersome.

This is what happens if click-reclick is done fast (i.e. double-click):

Case: non-primary key row
1. load or create a table with some columns and open it.
2. goto tab Columns.
3. Click, reclick (double-click) a cell of a non-primary key row
4. The row becomes a primary key, NOT-NULL is enabled

Case: primary key row
1. load or create a table with some columns and open it.
2. goto tab Columns.
3. Click, reclick (double-click) a cell of a primary key row
4. The row becomes a normal row, NOT-NULL keeps being enabled

Suggested fix:
clicking a cell makes it *immediately* editable.
To move up in a row, one presses the arrow-up key
To move down in a row, one presses the arrow-down key

However, selection boxes have predefined behaviour for these keys. Two possibilities
[preferred] 1) use ctrl-up/down for selection boxes only
[bad]       2) don't support row-navigating when a selection box is active
[4 Apr 2008 19:31] Exception e
related bug:
http://bugs.mysql.com/bug.php?id=35842
[5 Apr 2008 9:30] Valeriy Kravchuk
Thank you for a problem report. It looks like a reasonable feature request to me (to change grid behaviour).
[8 Apr 2008 13:35] Johannes Taxacher
please, could you verify if this is stil an issue with the latest version (5.0.17, Rev 2972) ... i cant reproduce it anymore.
[8 Apr 2008 13:36] Johannes Taxacher
sorry, wrong post - the double-clicking issue should be fixed in the latest version
[8 May 2008 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".
[9 May 2008 15:21] Exception e
in 5.0.21 (rev 3111) clicking a row does not toggle primary key status. So this is fixed, thanks!
I hope you can have a look at the keyboard navigation issue too!
[15 Oct 2009 15:20] Susanne Ebrecht
When it is fixed then I will close it now.
[15 Oct 2009 15:23] Susanne Ebrecht
Ok, for the keyboard navigation we would need a separate bug report.

Anyway, we will take this here. But it is a feature request and not a bug.
[10 Oct 2013 14:48] Mike Lischke
Since the double click problem was solved a long time ago and there has always been the hotkey F2 to start editing there's no need to keep this report open any longer.