Bug #32583 Creating a new file while "editing" an object causes multiple exceptions/crash
Submitted: 21 Nov 2007 17:01 Modified: 27 Nov 2007 11:36
Reporter: marc castrovinci (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.09 SE/OSS BETA OS:Windows (XP SP2)
Assigned to: Johannes Taxacher CPU Architecture:Any
Tags: .NET Framework, crash, exception, new file, qc, RTII data

[21 Nov 2007 17:01] marc castrovinci
Description:
If your editing an object (like a note, view, table) and your in the text field typing then go directly to File>New the "metaphor" hits the fan big time.

Here is a quick list of errors i've seen.

Access violoation - no RTTI data!
External component has thrown an exception.
Unknown Exception caught in c:\documents and settings\mysqldev\my documents\visual studio 2005\mysql-workbench-pro\backend\windows\wb.wr\src\Canvas.h at line 142

After that if you click any top menu items you get an "Unhanded Exception".

So to kill the program if you select "Quit" the errors are..

MySQL Workbench has encountered a problem ......
The exception unknown software exception (0xc0020001) occurred in the application at location 0x7c812a5b
Sometimes I see all the errors, sometimes they come in different orders. 

How to repeat:
1. Open workbench.
2. Click Model>Create Diagram With Catalog Items
3. Add a table.
4. Enter some text into the "Comments" section.
5. Then go to File>New
   You should see the above mentioned errors or look like this >> http://i8.tinypic.com/6l3llzk.jpg or this >> http://i11.tinypic.com/6nqdpo6.jpg
6. Repeat the steps changing the object to a note.
   Same result, might be different error message order.
7. Repeat the steps now using a view.
   Same.
[21 Nov 2007 19:44] MySQL Verification Team
Thank you for the bug report.
[23 Nov 2007 22:53] Alfredo Kojima
Implemented closing of editors on New
[27 Nov 2007 11:36] Johannes Taxacher
editors are closed now on calling "new document"