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: | Cancelling Find Usages dialog leaves EQ blocked for a while | ||
---|---|---|---|
Product: | editor | Reporter: | Jesse Glick <jglick> |
Component: | Refactoring | Assignee: | Jan Becicka <jbecicka> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | PERFORMANCE, THREAD |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jesse Glick
2005-08-22 22:07:09 UTC
Problem probably is, that some MDR transaction is blocking EQ I suppose. Note that this freeze is a bit unusual for the IDE since it happens for a limited amount of time, and if you did *not* press Cancel, the same pause would occur with the EQ live (but interactions prevented by the dialog being up). It is tricky to reproduce this since I have found that the initialization stage for F.U. can be almost immediate if some internal cache is warmed up. Most likely to be a long wait if you have a lot of modules open and are running F.U. for the first time in this IDE session. Whatever it is doing, a progress bar (or just some message "Initializing...") would be appreciated, since if you are not familiar with it, it looks like something is broken: the dialog comes up with most functionality disabled and no indication that it will be enabled shortly. Checking in AbstractRefactoring.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/api/AbstractRefactoring.java,v <-- AbstractRefactoring.java new revision: 1.26; previous revision: 1.25 done Did that commit actually fix the bug? It looks like you just added a progress meter, which is OK (not as good as showing progress in the dialog itself), but I think wouldn't address the problem of the EQ freeze after pressing Cancel. The commit adds progress indication. I'll must take a look at Cancel more closely. EQ is not blocked any more. Checking in ParametersPanel.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/spi/ui/ParametersPanel.java,v <-- ParametersPanel.java new revision: 1.18; previous revision: 1.17 done |