Re: Transient Windows with GtkPlug / GtkSocket



On Wed, 2007-04-25 at 14:11 +0200, Lampersperger Andreas wrote:
> Hello,
> 
> I've encountered a problem with the GtkPlug/GtkSocket mechanism and
> transient windows: Various windowmanagers does not treat transient
> windows as transient because gtk uses for the transient_for window the
> xwindow-id of the GtkPlug-xwindow, which is no toplevel window.
> 
> test case: Use firefox and install adobe reader as a firefox plugin, so
> that pdf's are directly shown in the firefox window. If you click on
> "save a copy..." a "copy as"-dialog is shown. This dialog has the
> wm_hints transient and modal. If you now click on the pdf-window the
> "save-as" dialog is hidden by the firefox window and the adobe reader
> (within the firefox window) is not responding, which is imho a failure.
> 
> Is this problem already known, or is there maybe already a solution?

Yes, and yes.

http://bugzilla.gnome.org/show_bug.cgi?id=324876

There's a copy of that function in Totem as well.

Cheers

-- 
Bastien Nocera <hadess hadess net> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]