<AWT Dev> [10] Review Request 8190230: [macosx] Order of overlapping of modal dialogs is wrong

Semyon Sadetsky semyon.sadetsky at oracle.com
Mon Oct 30 15:07:57 UTC 2017


Please review fix for JDK10:

bug: https://bugs.openjdk.java.net/browse/JDK-8190230

webrev: http://cr.openjdk.java.net/~ssadetsky/8190230/webrev.00/

After the 8169589 fix siblings of the same parent are overlapped in the 
order they appear in  the array of child windows. But this order do not 
preserve the previous overlapping order in which the sibling windows 
have been shown before the order update. That is the cause of unexpected 

In the fix each platform window is attributed with a timestamp of the 
moment when it was show in front last time. Then this timestamp is used 
to sort the sibling windows array before putting them into an order to 
each other.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20171030/5094346f/attachment.html>

More information about the awt-dev mailing list