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.
Properties are not shown when selecting node immediately after Editor is closed. How to reproduce: 1) Set MDI window mode.2) Open Explorer, Properties Window. 3) Open Editor by Open action on some Java file. 4) Close Editor. 5) Note - No properties are shown in the Properties Window.6) Select some package. 7) ERROR - No properties are shown in the Properties Window. 8) Select some another node in the Explorer. 9) Note - Properties are shown.
[Mar 06 dev] In SDI ok; appears in MDI. Hint: top component ExplorerPanel is activated later then node is selected (and property changes fires). There are in DefaultContainerImpl call reactivateWithDelay() which delayed a top component activation. In NbNodeOperation TopComponent.getRegistry().getActivatedNodes() returns a empty array because activatedTopCompoment of RegistryImpl is null being. activatedTopCompoment is set by reactivateWithDelay() in a next thread. Looks a little complicated :(
IMO ExplorerView should force update of global property sheet when it gets focus. The question is if it always gets focus even though the user has that impression. Often times the parent of the Explorer gets the focus and does not pass it down.
Target milestone was changed from '3.4' to TBD.
I am sorry, but it works for me in [nb_dev](20030109) / [jdk1.4.2](b12)
verified