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.
Refactoring, as present in meta_stavbicka branch, does have progress bar for Where Used functionality and does not do its main workload blocking the UI. But the last phase of the action, initialization of the window Usages of "foo" is done after the progress bar window is dismissed, in AWT thread, thus blocking UI. This must be changed and also this last phase of the action must be covered by the progress bar indication.
Fixed. ProgressBar added. /cvs/refactoring/src/org/netbeans/modules/refactoring/ui/Attic/RefactoringPanel.java,v <-- RefactoringPanel.java new revision: 1.1.2.12.2.4; previous revision: 1.1.2.12.2.3 done
Have to reopen. Still having the same problem w/ build 040518. See the thread dump in attachment...
Created attachment 15009 [details] Populating refactoring window in AWT thread blocking the whole UI (gray) without any progress indication
Fixed. Checking in RefactoringPanel.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/ui/Attic/RefactoringPanel.java,v <-- RefactoringPanel.java new revision: 1.1.2.12.2.9; previous revision: 1.1.2.12.2.8 done BTW this fix reduces number of needed parses from 3 to 2. As Martin described in issue 43296, we are going to use lazy iterator to reduce number of parses to 1.
Verified in meta_stavbicka build 040521. Looks good!