<AWT Dev> <Awt Dev> [9] Review Request for 8021961: setAlwaysOnTop doesn't behave correctly in Linux/Solaris under certain scenarios

Semyon Sadetsky semyon.sadetsky at oracle.com
Thu Oct 1 10:25:27 UTC 2015


Hello,

Please review fix for JDK9:

bug: https://bugs.openjdk.java.net/browse/JDK-8021961
webrev: http://cr.openjdk.java.net/~ssadetsky/8021961/webrev.00/

X-window manager cannot correctly handle "alwaysOnTop" for the child 
windows (dialogs) which parent is invisible. The reason for that that 
transientFor hint is wrong in this scenario because it points to an 
invisible window. To fix that on Java side the transientFor is set to 
the root window for the childs of invisible parent and their type is set 
to normal window (not dialog).

--Semyon


More information about the awt-dev mailing list