JDK-6276482 : Parent window lost its focus after closing child dialog .
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2005-05-26
  • Updated: 2011-01-19
  • Resolved: 2006-06-27
Related Reports
Duplicate :  
Relates :  
Description
Bug Info:
=========
Parent window lost its focus after closing child dailogs.

JDK Info:
=========
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b37)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b37, mixed mode, sharing)

Steps to Reproduce
==================
1. Open either SwingSet2 or notepad demo application.
2. If you opened notepad application and then click on file menu and choose open option.
3. Choose some file and then click on either open or cancel button.

Expected Results:
=================
Focus should go back to the main window.

Actual Results:
===============
Focus is not going back to the main window.

###@###.### 2005-05-26 13:11:47 GMT

Comments
EVALUATION See also similar issue: 4810575 (fixed only on win32). Try to reproduce the attached test case. It's reproducible on Solaris CDE and GNOME as well.
12-09-2005

EVALUATION Sounds like an AWT focus issue. If this is reproducible, I would suggest a higher priority. ###@###.### 2005-05-27 14:17:24 GMT It's reproducible on Solaris CDE but not on Linux GNOME or Windows. I noticed that this may or may not occur with the same Dialog from SwingSet2. Since I haven't managed to see this bug on b23 then it exists from JDK6.0b24 at least. Possibly XAWT-specific because it disappear once I start using MToolkit. ###@###.### 2005-05-30 09:37:30 GMT
27-05-2005