Bug #70875 CTRL+Z (Undo) sometimes crashes MySQL Workbench 5.x+
Submitted: 11 Nov 2013 4:13 Modified: 10 Jan 2014 14:06
Reporter: Chris Bassett Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0 & later OS:Windows (Windows XP & Windows 7)
Assigned to: CPU Architecture:Any

[11 Nov 2013 4:13] Chris Bassett
Description:
I have noticed in version 5.x and later on Windows (XP and 7 so far) that sometimes using CTRL+Z to undo something (such as a if you delete a relationship for example) that Workbench will give an error and sometimes crash.  I always submit the bug when prompted to.  Using CTRL+Z is a common keystroke used to undo a particular action, and sometimes it works fine without an issue, and others it seems to crash or generate an error.  IN some cases, Workbench can keep running, but it others, it causes it lock up completely and it must be closed manually via Task Manager.

How to repeat:
The best way to replicate this would be to create a database with two tables, and then create an N:N relationship.  Create a diagram mapping this relationship between the two tables.  Then delete the N:N relationship and it's associated diagram.  Then try to undo this using CTRL+Z and it sometimes will cause Workbench to generate an error.  

Suggested fix:
Disable the CTRL+Z (Undo) function, or maybe have Workbench temporarily save after each change is made, or if a new table/relationship is created, that way if someone wants to undo something, it can load the previous state of the design/relationship/table
[11 Nov 2013 11:17] MySQL Verification Team
I couldn't repeat with 6.0.8 are you tried this version?. Thanks.
[25 Nov 2013 17:12] Leonardo Salum
- Windows 64 bits SP1;
- Workbench 6.0.7.xxxx
- Create a layer and then delete. When undo (CTRL X) Workbench crashs like pic in file added (70875_20131125_BUG_WORKBENCH.JPG)
[25 Nov 2013 17:13] Leonardo Salum
Bug #70875 example.

Attachment: 70875_20131125_bug_workbench.jpg (image/jpeg, text), 250.90 KiB.

[10 Dec 2013 14:06] MySQL Verification Team
Please try version 6..8. Thanks.
[11 Jan 2014 1: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".