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: | Find from explorer does not set focus to Search Results | ||
---|---|---|---|
Product: | utilities | Reporter: | bht <bht> |
Component: | Search | Assignee: | Marian Petras <mpetras> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | Keywords: | FOCUS |
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
bht
2003-04-21 05:27:35 UTC
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 *** |