JDK-5004640 : Dialog is not iconified when the parent frame is iconified on solaris9-CDE
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2004-02-27
  • Updated: 2007-06-07
  • Resolved: 2007-06-07
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
7Resolved
Related Reports
Relates :  
Description
I am creating a dialog and a frame where frame is the parent of the dialog. I am making them visible in the following order
dialog.setVisible(true)
frame.setVisible(true)

Both dialog and frame are shown. When I iconify the frame, I expect the dialog also to be iconified. This is not happening on Solaris9-CDE. The dialog is not getting minimized. When I interchange the above commands where frame is made visible before the dialog, it works fine. However, I feel that the parent-child relationship must be honored always regardless of when they are made visible. This is seen right from JDK1.3.1 only on Solaris8,9-CDE and works fine on all other platforms.

One more difference that I noticed between 1.4 and 1.4.1 is that the iconify option is shown for the dialog on 1.4.1. This is not shown on earlier realeases and not shown on other platforms for all the builds. 

Run the attached sample test. You would see a frame and a dialog. Iconify the frame by clicking the 'iconify' button on the top right corner. The frame would get iconified. If dialog is not getting iconified, then the bug is reproduced.

Comments
EVALUATION The bug is not reproducible with JDK6 + CDE (Solaris 10).
07-06-2007

EVALUATION Alternate fix for this bug can be combined with fix for 5090481 - in special situations unmap dialogs upon receiving iconify notification.
09-09-2005

EVALUATION Most likely CDE does not honor XA_WM_TRANSIENT_FOR hint if the prop_window param of XSetTransientForHint() is not visible. Need to remap child windows when the parent is showm.
06-09-2005

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
17-09-2004

EVALUATION Name: rpR10076 Date: 02/27/2004 We'll look into this issue for mustang, if Motif toolkit is still alive at that moment. ###@###.### ====================================================================== The bug is also reproducable with XAWT ###@###.### 2005-06-29 14:58:58 GMT
17-09-2004