<AWT Dev> [9] Review request for JDK-7011513: GTK FileDialog modality issues

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Jan 10 04:32:00 PST 2014


Hi, Alexander.
The fix looks good.

On 10.01.2014 15:25, Alexander Zvegintsev wrote:
> 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.


-- 
Best regards, Sergey.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20140110/d7acb2dd/attachment.html 


More information about the awt-dev mailing list