<AWT Dev> [7u4] Review request for 7154177: [macosx] An invisible owner frame becomes visible upon clicking a child window

Anthony Petrov anthony.petrov at oracle.com
Fri Mar 16 08:22:59 PDT 2012


Hello,

Please review a fix for http://bugs.sun.com/view_bug.do?bug_id=7154177 at:

http://cr.openjdk.java.net/~anthony/7u4-5-invisibleOwner-7154177.0/

Basically, with this fix we make sure we never make an invisible window 
an owner or a child for another window on the native level. This way the 
OS won't accidentally show an invisible window on the screen.

Note that there's one scenario that isn't handled properly with this fix:

>         //       visible root owner
>         //          invisible owner
>         //              visible dialog

In this case the visible dialog will not be tied with the visible root 
owner by the child-parent relationship. However, this scenario seems to 
be very unlikely to occur in real life.

--
best regards,
Anthony



More information about the awt-dev mailing list