JDK-4417383 : Modal dialogs do not activate the application correctly
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.3.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2001-02-21
  • Updated: 2005-05-03
  • Resolved: 2005-05-03
Related Reports
Duplicate :  
Duplicate :  
Description
Name: mt13159			Date: 02/21/2001


If, under Windows NT, a Frame creates a modal dialog, which in turn creates another modal dialog, the application does not exhibit correct window/app activation behavior.

Specifically:
If another (non-Java) window is activated, and then the first dialog is clicked, nothing happens. Clicking either the initial frame or the top-most dialog will activate the application and return focus to the dialog.

The standard behavior for Windows applications is to activate the application if any of the windows are clicked on while another application is active.

The problem seems to be with how the dialog is created on Windows, as a WM_ACTIVATEAPP message is not being sent when the middle dialog is clicked, while it is under non-Java applications.
(Review ID: 117262) 
======================================================================