The fix is amended : plese review the new version http://cr.openjdk.java.net/~ssadetsky/8021961/webrev.01/ 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.

--Semyon

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

Reply via email to