JDK-4417384 : 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: 2002-06-21
  • Resolved: 2001-02-21
Related Reports
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) 
======================================================================

Comments
PUBLIC COMMENTS DUPLICATE OF 4417383
10-06-2004