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 68401 - Inspector does not remeber expanded/collapsed state
Summary: Inspector does not remeber expanded/collapsed state
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2005-11-09 17:01 UTC by _ lcincura
Modified: 2005-12-20 14:09 UTC (History)
1 user (show)

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 _ lcincura 2005-11-09 17:01:59 UTC
NetBeasn IDE 5.0 [200511091047] on jdk 1.5.0_05

1) open a form
2) expand some node in inspector
3) open another form
4) select some component in the form
5) switch back to previously opened form => the inspector is totally collapsed.

This can be very annoying in case user has component deep in hierarchy (which is
not uncommon in some classic layouts) and after few adjustments in another form
he must expand all the hierarchy again. I found this problem when I wanted to
make two components in different dialogs to behave and look same (there is no
action for copy of properties of components, so I had to switch forth and back
between the two dialogs and the component was not visible in designer for one of
them)
Comment 1 Tomas Stupka 2005-11-24 16:44:30 UTC
Fixed in trunk. 

The Inspector now remembers the selection for every opened form.

Checking in FormDesigner.java;
/cvs/form/src/org/netbeans/modules/form/FormDesigner.java,v  <--  FormDesigner.java
new revision: 1.167; previous revision: 1.166
done
Checking in ComponentInspector.java;
/cvs/form/src/org/netbeans/modules/form/ComponentInspector.java,v  <-- 
ComponentInspector.java
new revision: 1.59; previous revision: 1.58
done
Comment 2 _ lcincura 2005-12-20 14:09:38 UTC
Verified in 200512181900