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.
Populating the list of matching class names in Go To Class dialog (aka Fast Open) can take quite a long time, which is noticeable when you use it the first time. There is no indication that populating is in progress and the user may get confused. How about writing "searching..." text in the list box at the moment you start searching and replacing it with the list of class names when you have it ready. This should be done only for the first time because later on, when the user refines the query, populating is fast enough.
I may be wrong but I guess we won't be able to determine that the call to the underlying MDRFinder which is delegating to JMI model will require longer execution time. So the only option will likely be to start a timer that will do something if the call to JMI does not return in certain time-frame. Assigning to Mato.
fixed in [meta_stavbicka] /cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaFastOpen.java,v <-- JavaFastOpen.java new revision: 1.17.8.3; previous revision: 1.17.8.2 fixed in [maintrunk] /cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaFastOpen.java,v <-- JavaFastOpen.java new revision: 1.18; previous revision: 1.17 We have decided to solve it using mouse wait cursor during first evaluation, if the results are not ready within 1 second
please keep this bug open and mark it as fixed only when meta_stavbicka is merged into the CVS trunk
Bug has been fixed also in [maintrunk]
Verified in trunk build 200405101820.
The mouse wait cursor appears only at the first searching, but next searches may take very long time now as well as the first search. Could the wait cursor be used for all searches?
Fixed in [maintrunk]. Checking in JavaFastOpen.java; /cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaFastOpen.java,v <-- JavaFastOpen.java new revision: 1.23; previous revision: 1.22 done
Verified in 200408011800. Works as expected. Diky!