Re: Transient Windows with GtkPlug / GtkSocket

Thanks a lot! 

-----Ursprüngliche Nachricht-----
Von: Bastien Nocera [mailto:hadess hadess net] 
Gesendet: Mittwoch, 25. April 2007 14:14
An: Lampersperger Andreas
Cc: gtk-devel-list gnome org
Betreff: 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.

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


Bastien Nocera <hadess hadess net> 

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