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 150308 - layout action makes elements within container invisible
Summary: layout action makes elements within container invisible
Status: RESOLVED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on: 153918
Blocks:
  Show dependency tree
 
Reported: 2008-10-16 00:53 UTC by Peter Lam
Modified: 2009-02-19 23:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
autolayout for container with elements within (45.37 KB, image/png)
2008-10-16 00:54 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2008-10-16 00:53:42 UTC
nb 6.5 rc1 build

When elements are contained in a container (eg, package, composite state, partition), doing layout cause contained
elements invisible and relationships between elements fully outside the container. See attached screenshot.
Comment 1 Peter Lam 2008-10-16 00:54:37 UTC
Created attachment 71919 [details]
autolayout for container with elements within
Comment 2 Sergey Petrov 2008-10-20 15:36:44 UTC
can't be fixed in 6.5, need to create own layout action or add support for containers in library action.
Comment 3 Sergey Petrov 2008-11-18 07:46:18 UTC
part fix: it's better now, but still may be p2. children elements remains in place, but links are not good after layout.
Comment 4 Quality Engineering 2008-11-18 16:37:09 UTC
Integrated into 'main-golden', will be available in build *200811181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/dad1d6928a56
User: sergeyp@netbeans.org
Log: fix #150308 - part fix, now children remains in place, there is a problem with links in this case need to be resolved.
Comment 5 Sergey Petrov 2008-11-27 18:23:50 UTC
need to roll back last change, cause some problems with layout in some cases.
Comment 6 Sergey Petrov 2008-12-02 11:34:13 UTC
http://hg.netbeans.org/uml-main/rev/08c6a0bd83d3 - roll bcak latest changes, no part fix any more
Comment 7 Sergey Petrov 2008-12-12 13:00:20 UTC
a3f2a660caa4
bf4fa9892f73
2b57fbbaca3c

should be fixed now or be at least better, will test a bit more before set to fixed
Comment 8 Quality Engineering 2008-12-13 16:58:21 UTC
Integrated into 'main-golden', will be available in build *200812131401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a3f2a660caa4
User: sergeyp@netbeans.org
Log: fix #150308 - contained eemnts remained in place now, also some simplification in layout started work to have better layout, fixed some regressions from previous commit (in dirty status, options)
Comment 9 Sergey Petrov 2008-12-16 14:50:36 UTC
should be fixed in m1.