Hello AWT team,
Please review the fix
http://cr.openjdk.java.net/~azvegint/jdk/9/7011513/webrev.00/
for
https://bugs.openjdk.java.net/browse/JDK-7011513
Currently a Gtk file chooser dialog window can be obscured by its owner
window,
this happens because we do not specify a parent window for obvious
reason: our owner window in not an instance of GtkWindow.
However it can be workarounded by setting up a WM_TRANSIENT_FOR property
[1][2].
I tested this on Solaris 10/11, OEL 6, Ubuntu 13.04, all works fine for me.
[1] http://tronche.com/gui/x/icccm/sec-4.html#WM_TRANSIENT_FOR
[2]
http://tronche.com/gui/x/xlib/ICC/client-to-window-manager/XSetTransientForHint.html
[3]
https://developer.gnome.org/gtk2/stable/GtkWidget.html#gtk-widget-realize
[4]
https://developer.gnome.org/gdk/stable/gdk-X-Window-System-Interaction.html#gdk-x11-drawable-get-xid
--
Thanks,
Alexander.