JDK-7124376 : [macosx] Modal dialog lost focus
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2011-12-23
  • Updated: 2013-09-06
  • Resolved: 2012-07-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7u6Fixed 8 betaFixed
Related Reports
Relates :  
Relates :  
http://java.net/jira/browse/MACOSX_PORT-319 submitted 2011/08/24 by Alexander Petrov
1)Create frame.
2)Create modal dialog.
3)Set frame toFront.
Result: the dialog has lost focus for a while.
Build: b204
Keywords: test-fail-macos

EVALUATION This bug is actually much larger in scope and quite visible to user. One can easily reproduce it by launching SwingSet2, choosing JOptionPane demo and then clicking "Show Message Dialog" button. Now, click on the "SwingSet2" window title bar and you'll see the window rapidly gaining and loosing focus. My understanding is that fixing this bug must be done on Cocoa level.