Bug #45389 GUI: popup menu item naming inconsistencies
Submitted: 9 Jun 2009 9:14 Modified: 30 Jul 2013 22:12
Reporter: Karsten Wutzke Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.1.12, 5.2.1 OS:Any
Assigned to: CPU Architecture:Any
Tags: GUI, menu items, relationships, right click, tables

[9 Jun 2009 9:14] Karsten Wutzke
Description:
The menu items when right clicking on tables and relationships are inconsistent:

1. In the diagram view right clicking a table reveals

Cut '%table%'
Copy '%table%'
---
Edit Table...
Edit in New Window...
---
Delete '%table%'

The same holds true for right-clicking relationships.

2. Why is the "Edit in New Window..." actually named "Window"? There isn't a new window popping up anywhere. There are TABS that get created, so this should be renamed to "Edit in New Tab..." - which is shorter anyway...

3. Basically the same for when editing a table's columns. Click "Edit Table..." -> "Columns" tab below, mark one or n columns and right-click them. The popup appearing says:

Move Up
Move Down
---
Delete Selected Columns
---
Refresh Grid

Why multi-selection "Selected Columns" one the one but not the others?

How to repeat:
Right click any table or columns and look at the popup menu.

Suggested fix:
1. Tables fix: (currently only single selection so this one is basically easy)

Either always display the concrete table name or just "Table"

Cut 'Persons'
Copy 'Persons'
---
Edit 'Persons'...
Edit 'Persons' in New Tab...
---
Delete 'Persons'

Looks kinda ugly but is consistent... other options are:

Cut Table
Copy Table
---
Edit Table...
Edit Table in New Tab...
---
Delete Table

This is worse than the first I think. If it gets too long because of the table name use:

Cut
Copy
---
Edit...
Edit in New Tab...
---
Delete

or just display the first n chars of the table names in

Edit 'RefpoolMembers' in New Tab... => Edit 'RefpoolMe...' in New Tab...

Produces double ellipses in menu items though. You might not want that (ugly). You decide.

2. Rename "Window" to "Tab"

3. With the multi-selection columns in "Edit Table..." things get even more complicated when having selected more than one column to move up, down or delete. When having only a single selection, you could process as with the table solution above. When having multiple selections, you might replace the concrete column name (or whatever you decided for) with "Selected Columns".
[9 Jun 2009 9:51] Valeriy Kravchuk
Thank you for the inconsistencies reported.
[30 Jul 2013 22:12] Philip Olson
Fixed as of MySQL Workbench 6.0.4, and here's the changelog entry:

Textual UI inconsistencies were fixed, such as changing the name
"Window" to "Tab" when referring to a new tab.

Thank you for the bug report.