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.
Show All Details action in the Search Results window does its job in AWT thread, blocking the IDE. This must be changed to do the population of Output-Search Results window in a separate thread, not freezing the IDE.
Accepted.
Fixed in the trunk. Bugs #41756 and #41789 were fixed at once. Modified/added/removed files: openidex/src/org/openidex/search/SearchGroup.java (1.10) utilities/nbproject/project.properties (1.3) utilities/src/org/netbeans/modules/search/Bundle.properties (1.27) utilities/src/org/netbeans/modules/search/CleanTask.java (new file) utilities/src/org/netbeans/modules/search/Manager.java (new file) utilities/src/org/netbeans/modules/search/PrintDetailsTask.java (new file) utilities/src/org/netbeans/modules/search/RemoveFromSearchAction.java (1.2) utilities/src/org/netbeans/modules/search/ResultModel.java (1.45) utilities/src/org/netbeans/modules/search/ResultTreeChildren.java (new file) utilities/src/org/netbeans/modules/search/ResultView.java (1.21) utilities/src/org/netbeans/modules/search/SearchEngine.java (deleted, last 1.2) utilities/src/org/netbeans/modules/search/SearchPerformer.java (1.32) utilities/src/org/netbeans/modules/search/SearchTask.java (1.11) utilities/src/org/netbeans/modules/search/Utils.java (1.3) utilities/src/org/netbeans/modules/search/doc-files/manager-state-diagram.png (new file)
Reopening. Show All Details does not work for me at all for large set of found results.
It works for me even when searching for a single character in a huge set of files. I will need to look into the source code to find the cause.
Fixed in the trunk. It seems there were two remaining problems with the previous version of the fix: - some painting were not redirected back to the AWT thread - remaining problem from previous versions: all computation was done prior to printing the details The lines are now printed in batches, and a computation is done fore each batch separately, just before the lines are printed. Modified files: utilities/src/org/netbeans/modules/search/Manager.java (1.2) utilities/src/org/netbeans/modules/search/PrintDetailsTask.java (1.2) utilities/src/org/netbeans/modules/search/SearchDisplayer.java (1.14)
Verified in trunk build 200408011800.