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.

Bug 33720 - Find: Modify Search causes search results window to be hidden by IDE frame
Summary: Find: Modify Search causes search results window to be hidden by IDE frame
Status: RESOLVED DUPLICATE of bug 33480
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2003-05-19 08:58 UTC by eadams
Modified: 2003-12-11 14:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eadams 2003-05-19 08:58:17 UTC
If I 
  - use the "Find in Files" dialog
  - do a search, which makes the Find in Files
dialog go
    away and displays the Search Results dialog
  - click on Modify Search, which makes the Search
Results 
    dialog go away and shows the Find in Files
dialog again
  - do a search

(in simple terms, used Modify Search to do a
second search)
then the Search Results dialog is shown behind the
IDE frame. I'm using Windows 2000.  The Search
window appears
to come up at location (0,0) so, if the IDE frame
is maximized or located at (0,0) then the Search
Results
window is not visiable at all.
Comment 1 Marian Petras 2003-05-20 11:19:05 UTC
This issue may be platform dependent so I restore attributes Platform
and OS to their original values (I was too eager to change them to "All").

I tried it with combination Solaris 8 @ Sparc, CDE 1.4. The only
difference was that the Search Results window did not go away when I
clicked the Modify Search button. It just went behind the NetBeans'
main window (I use MDI) at the moment the Find in Files dialog appeared.

The CDE was set as follows:
 - point in window to make active a.k.a. focus follows mouse = true
 - raise window when made active = false
   (covered windows may have focus)

When I toggled the settings, the windows behaved better: The Search
Results dialog was covered by the main window after the Modify Search
button was pressed (and the Find in Files dialog appeared). But it was
sent to the front after criteria in the Find in Files dialog were
confirmed. Again, the Search Results dialog did not go away when the
Modify Search button was pressed.

So the behaviour depends on the window manager used and changes as its
settings are modified. But it should work for Windows and should be
fixed in NB 4.0.
Comment 2 Marian Petras 2003-08-05 16:37:48 UTC
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".

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 ***