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.
Build: NetBeans IDE Dev (Build 200907280201) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: SunOS, 5.11, x86 User Comments: jsedek: I pressed Open Project button on toolbar, UI got blocked for few seconds Maximum slowness yet reported was 3057 ms, average is 3057
Created attachment 85293 [details] nps snapshot
The most recent report http://statistics.netbeans.org/exceptions/exception.do?id=242262 shows 4s delay in DirectoryChooser. One idea that could improve the situation is to use FixedHeightLayoutCache. Possible? java.beans.PropertyChangeSupport.firePropertyChange(): 4087 / 0 javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(): 4087 / 0 javax.swing.plaf.basic.BasicTreeUI.setModel(): 4087 / 0 javax.swing.tree.VariableHeightLayoutCache.setModel(): 4087 / 0 javax.swing.tree.VariableHeightLayoutCache.rebuild(): 4087 / 0 javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(): 4087 / 0 javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(): 4087 / 0 javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(): 4075 / 0 javax.swing.tree.AbstractLayoutCache.getNodeDimensions(): 4075 / 26 javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(): 4048 / 0 org.netbeans.swing.dirchooser.DirectoryChooserUI$DirectoryTreeRenderer.getTreeCellRendererComponent(): 4048 / 0 org.netbeans.swing.dirchooser.DirectoryChooserUI$DirectoryTreeRenderer.getNodeIcon(): 3991 / 0
I don't know, I never used FixedHeightLayoutCache. And I never saw such slowness even on very big folders (nb repo) myself, so I assume this is low priority.
*** This issue has been marked as a duplicate of 169303 ***