Bug #44454 Workbench opens every ER diagram in a model
Submitted: 24 Apr 2009 12:47 Modified: 12 Aug 2009 10:12
Reporter: Craig Fowler Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S4 (Feature request)
Version:5.1.9/beta OS:Linux (Kubuntu Hardy)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: open

[24 Apr 2009 12:47] Craig Fowler
Description:
On opening a new WB model, every ER diagram in that model is opened.  For a model with lots of diagrams that can be quite aggravating, as it forces me to mass-close a bundle of tabs before I can get working with the model.

How to repeat:
From a running instance of WB, file » open a model that contains a number of ER diagrams.

OR

Invoke WB from the commandline as:

/usr/bin/mysql-workbench %model-filename%

Suggested fix:
Create an option in the config:

"How to open new models"
* Open every diagram
* Open no diagrams
* Open model in last state
[24 Apr 2009 13:48] Valeriy Kravchuk
Thank you for the feature request.
[29 May 2009 0:23] Alfredo Kojima
Saving of closed state of diagram tabs has been implemented.
[11 Aug 2009 21:25] Johannes Taxacher
fix confirmed. will be included in 5.1.17
[12 Aug 2009 10:12] Tony Bedford
An entry was added to the 5.1.17 changelog:

When a model with multiple EER Diagrams was opened, all EER Diagrams would be displayed in tabs. This happened whether or not a EER Diagram had been displayed in a tab prior to saving the model.

MySQL Workbench has been changed so that the EER Diagram tab state is saved, so that when a model is opened, only those EER Diagram tabs that were open on save are restored. This prevents unnecessary cluttering of the interface.