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 125861 - Navigator is duplicating activated nodes
Summary: Navigator is duplicating activated nodes
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Navigator (show other bugs)
Version: 5.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on: 123562
Blocks:
  Show dependency tree
 
Reported: 2008-01-23 17:38 UTC by David Simonek
Modified: 2011-09-06 09:51 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 David Simonek 2008-01-23 17:38:53 UTC
To reproduce this:

1) Create/open a project with a single button component.
2) Select the button.  The navigator should display the outline with the path to the button component
3) Open the inspector without deselecting the button
4) Close the inspector.  The navigator should be visible again.

At this moment, two identical nodes are present in global context. Reason is merging of Lookups in
NavigatorTC.getLookup. Solution is to write special ProxyLookup subclass that will exclude nodes from default TC lookup
when lookup from NavigatorPanel contains some nodes, to avoid duplication.
Comment 1 David Simonek 2008-02-25 15:47:38 UTC
Lowering to P3, as this bug means no harm for user after 123562 is fixed. Still it's worth to be fixed as mentioned above.
Comment 2 Lukas Hasik 2008-04-10 21:24:05 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 3 Jan Peska 2011-09-06 09:51:01 UTC
Inspector window is now a part of the Navigator window -> WORKSFORME