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.
NetBeans IDE 3.5 Beta (Build 200304142350) JDK 1.4.1 Win98 SDI mode When pressing the "Search" button on the "Find in Files" dialog, the dialog just disappears as usual but no results are diplayed. I have NEVER seen this before in any build, even in the last Q-build that I downloaded before the beta. And I have used NetBeans quite a lot (written hundereds of Java source files with it). There is no error, no entry in the log. Just the action is missing. Windows open: Main, explorer, source editor, form editor, property sheet. 1 external process running. When I close and re-open the IDE, then it works again.
The condition is that a find result list is already open. The search executes but the result list does not get focus. Reproducible: Always.
FindInFiles is a part of component Utilities, reassigned.
I am able to reproduce it on Solaris 8 running on Sparc. The code responsible for displaying the window with results is in method org.netbeans.modules.search.SearchPerformer.performAction(Node[]). Last two lines of the method are resultWindow.open(); resultWindow.requestFocus(); where 'resultWindow' is an instance of a subclass of TopComponent. The fix should be easy - replace 'open()' with 'requestVisible()'.
I haven't changed anything in the Utilities module and the problem got away in the development builds. It seems to have been caused by bug #33480 - "[MDI] Fronting a dialog fronts the main window". The probable reason of the bug was that resultWindow.open() fronted the main window as described in the above mentioned bug. Note: Bug #33480 has been resolved as a duplicate of bug #34670 - "Main window fronted when property sheet in options window creates a modal dialog." *** This issue has been marked as a duplicate of 33480 ***