JDK-5090481 : REG: Iconifying a parent frame does not iconify the child window on XToolkit
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: linux_sun
  • CPU: x86
  • Submitted: 2004-08-22
  • Updated: 2014-10-24
  • Resolved: 2011-05-17
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.
JDK 7
7 b03Fixed
Related Reports
Relates :  
Relates :  
Description
I have written an application which would popup a frame and a child window when executed. I am iconifying the frame by clicking the iconify button. In that case, Only the frame gets iconified and not the child window. This is reproducible on Linux (Cinnabar) and Solaris9 with XToolkit. This is passing on Windows and Motif Toolkit. 

When the parent gets iconified, all the child windows should also get iconified. This is not reproducible on previous releases and hence a regression in tiger.

I have attached a sample test. Execute the test on XToolkit. You would see a frame and window each having a text area. Iconify the frame. If the window is still shown on the screen, the bug is reproduced.

A similar bug was filed before with Dialog (5004640). However that is specific to Motif Toolkit and occurs only when the order of showing of windows is different. 

Comments
EVALUATION Fixed in jdk7 under 6380835 umbrella.
26-10-2006

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
25-08-2004

EVALUATION Name: yn153226 Date: 08/23/2004 That is a known issue rooted in override-redirect nature of Window, as it is implemented in XAWT. Standard workaround is, to use undecorated Frame. ###@###.### ====================================================================== Name: yn153226 Date: 08/24/2004 A regular method to minimize a window is to set a hint and send a message; a window manager does the rest. As Window is implemented with override-redirect flag set to True, we have to control it's minimized state manually. ###@###.### ======================================================================
25-08-2004

WORK AROUND Name: yn153226 Date: 08/23/2004 use undecorated Frame. ======================================================================
25-08-2004