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

Sergey Bylokhov sergey.bylokhov at oracle.com
Mon Mar 19 05:23:59 PDT 2012

Hi Anthony.
probably it would be good to add 2 regression tests for this issue?
1) For the current issue, which wasn't found by the existing tests.
2) For the issue which was not resolved in the current fix.

16.03.2012 19:22, Anthony Petrov wrote:
> 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

Best regards, Sergey.

More information about the awt-dev mailing list