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.
Development build #20061120 of NetBeans 6.0 Windows XP, JDK 1.6.0 RC build #101 Description: ============ Average NetBeans user will be disappointed when s/he decides to change source level of project because this action collapses all project subnodes. Steps to reproduce: =================== 1. Generate new project from template. 2. Expand the "Source Packages" node. 3. Right click project node and select "Properties" from popup menu. 4. Select "Sources" category and change "Source Level" to 1.3. Click "OK". 5. "Source Packages" node gets collapsed.
*** Issue 90281 has been marked as a duplicate of this issue. ***
Source Folder is also collapsed after adding new library (issue 90281).
Caused by the NodeFactorySupport. The nodes for the source roots are always replaced by new ones. The SourceGroupKey.equals() [hashCode()] is not even called. The problem is that NodeFactorySupport is calling NodeList.keys(), it's OK, but it then refreshes all the nodes for SourceNodeList.
Problem in impl of new API -> should be evaluated.
fixed. Checking in NodeFactorySupport.java; /cvs/projects/projectuiapi/src/org/netbeans/spi/project/ui/support/NodeFactorySupport.java,v <-- NodeFactorySupport.java new revision: 1.8; previous revision: 1.7