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.
Summary: | Wait cursor shows while selecting file in projects view | ||
---|---|---|---|
Product: | java | Reporter: | Marian Mirilovic <mmirilovic> |
Component: | Navigation | Assignee: | David Strupl <dstrupl> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 169353 | ||
Bug Blocks: | |||
Attachments: | Profiler snapshot |
Description
Marian Mirilovic
2009-06-26 16:32:37 UTC
Created attachment 84060 [details]
Profiler snapshot
This is the problematic stack trace where the busy cursor gets there: java.lang.Exception at java.awt.Component.setCursor(Component.java:2568) at org.openide.explorer.view.TreeView.doShowWaitCursor(TreeView.java:880) at org.openide.explorer.view.TreeView.showWaitCursor(TreeView.java:872) at org.openide.explorer.view.TreeView.prepareWaitCursor(TreeView.java:908) at org.openide.explorer.view.TreeView.access$800(TreeView.java:143) at org.openide.explorer.view.TreeView$TreePropertyListener.treeWillExpand(TreeView.java:1419) at javax.swing.JTree.fireTreeWillExpand(JTree.java:2302) at javax.swing.JTree.setExpandedState(JTree.java:3000) at javax.swing.JTree.expandPath(JTree.java:1742) at javax.swing.JTree.expandRow(JTree.java:1757) at org.openide.explorer.view.TreeView.expandAll(TreeView.java:594) at org.netbeans.modules.java.navigation.ClassMemberPanelUI$MyBeanTreeView.expandAll(ClassMemberPanelUI.java:477) at org.netbeans.modules.java.navigation.ClassMemberPanelUI$3.run(ClassMemberPanelUI.java:181) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:117) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Marking this as P3. David, P2/3 doesn't matter ... but please fix this for 6.8 I cannot fix this in 6.8 as it depends on 169353. Changing to "future" and removing the keyword. Is the problem really in expanding (as stated in issue 169353)? The problem reported by Marian is just about selecting. I'd say wait cursor for expanding is ok, but not for selecting. It is about expanding. When you select a file in projects the *other* explorer bellow (Navigator) changes its root node and tries to expand the root node to show you the methods, fields etc. BTW that's why I have pasted the stack trace to the comment which shows it clearly how it gets there (via TreeView.expandAll). Applied to CSL as well: http://hg.netbeans.org/jet-main/rev/43034a05eb5c *** Issue 70708 has been marked as a duplicate of this issue. *** v/c |