This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 95842 - previously opened diagram is now opened automatically with data file content when uml project is open
Summary: previously opened diagram is now opened automatically with data file content ...
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Viktor Lapitski
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-02-16 18:52 UTC by Peter Lam
Modified: 2007-02-23 00:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2007-02-16 18:52:52 UTC
This is a regression. 

Opening the previously opened diagram is good and is an enhancement request on
issue 91579 but this enhancement is not to be implemented in this release.
However, the graphical representation of the diagram is not displayed. Instead,
the source of the diagram data file is displayed which is incorrect.

Repro steps:
- create a uml project
- create a class diagram or any type of diagram
- create a few elements on the diagram
- close the uml project and save the diagram and project from the Save dialog
- reopen the uml project by selecting File->Open Recent Project->{above closed
uml project}
Comment 1 Craig Conover 2007-02-16 22:05:05 UTC
As a side effect of Sheryl's Save Model improvements (great work Sheryl!), it
enabled this standard behavior so that diagram files behave like all other files
in NB. I like it, but diagram opening performance is poor, at least for the
first one anyway.

If we can improve the performance of auto-opening diagrams that were open when
the project/IDE is closed, then we should re-enable, or perhaps an option that a
user can set for this: Auto-open Diagrams

I will look into disabling this for now though so it is back to they way it used
to work, until a performance improvement can be found.

Comment 2 Viktor Lapitski 2007-02-22 22:56:38 UTC
fixed in release55 branch
Comment 3 Peter Lam 2007-02-23 00:38:03 UTC
verified in build 070222_1.