<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 18:27:06 UTC 2015

The fix is amended : plese review the new version 
It is taken into account that the transientFor chain may be longer and 
also the fact that visibility of the parent window may be changed after 
the setting the alwaysOnTop property value.
Sorry for possible inconveniences.


On 10/1/2015 1:25 PM, Semyon Sadetsky wrote:
> 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