Re: gqview 1.5.4/1.5.5 and fullscreen mode
John Ellis <[email protected]> Sun, 09 Jan 2005 01:33:02 -0500
| Newsgroups | gmane.comp.gnome.apps.gqview.devel |
|---|---|
| Message-ID | <[email protected]> |
"Dariusz J. Garbowski" wrote: > > >>Recently I built GQview 1.5.4 and noticed that something has changed > >>since 1.4.x in the way fullscreen is implemented. > >> > >>I'm running Fedora Core 3 with Gnome and IceWM 1.2.18 as wm. > >> > >>When I switch to fullscreen mode I have few things still left on top of > >>the image: gkrellm window, icewm panel and gnome panel. > >> [window manager spec stuff sniped] > > I see the problem now, thanks for explanations. I have IceWM-specific > workaround for fullscreen gqview window being covered by windows on > "higher" layers. Adding the following line to "winoptions" config file > solves the issue (needs IceWM restart to work): > > gqview.Gqview.layer: AboveDock > > Luckily WM_CLASS for fulscreen window differs from gqview's main window > by one letter (q vs. Q) :-)) Erm, it is a lucky bug. GQview fails to set the WM_CLASS for full screen. If I rename the binary to helpme and run it the full screen WM_CLASS becomes "helpme, Helpme", this will be fixed to become "fullscreen, GQview". > And delete file dialog opens on top of fullscreen window, which is > great! :-) The dialogs now work above a full screen window because for 1.5.4 there was a bug fix to 'Set dialogs as a transient of their originating window'. All earlier versions of GQview did not tell the window manager the parent window of the dialog, so had a problem of full screen hiding new dialogs. To 'fix' the broken dialogs full screen had to be turned off whenever a dialog was displayed. > It's workaround that works with IceWM, I'm not quite sure what should be > generic solution built-in in gqview (perhaps additional "Fullscreen > Layer" option in advanced tab?). GQview 1.5.6 introduces a full screen option 'Stay above other windows' which requests the window to be set above other windows :) Unfortunately the option is disabled when compiled with GTK+ 2.2.x as it uses a feature introduced in GTK+ 2.4. > > You may also see this problem with 1.4.4 and 1.4.5 - they were released > > primarily to update the full screen code to something similar to what is in > > 1.5.x but without the ability to select the window location. > > I am still seeing that gqview 1.4.5 has _NET_WM_STATE set to: > > _NET_WM_STATE(ATOM) = _NET_WM_STATE_FULLSCREEN GQview 1.4.5 does not have the ability to configure the location of the full screen window, therefor setting the FULLSCREEN window manager hint can be safely used. >> In 1.5.x you can configure the full screen window to be a specific monitor, the >> current monitor, or all monitors. The default is current monitor, and can be >> changed in advanced options. > > Thanks for the hint :-) I played with it a bit and found out that > "Active screen" and "Screen :0.0, Full size" display picture on both > monitors using them as one big display in IceWM. Does this mean that you > have different experience (quote from "xinerama" thread below)? Perhaps "Active screen" would be better described as "Active screen: Full size". The only time "Active screen" and "Screen :0.0, Full size" would differ is if there is a second screen, for example the list would then also include "Screen :0.1, Full size". But this is all theory as I have yet to even try a setup with dual heads set to be :0.0 and :0.1. > "icewm (1.2.16): Can not span all monitors (works like metacity, below). > > metacity (2.6.3): I can specify monitor 1, 2, or active monitor - but > can not span all monitors." IIRC, these are describing the effects of using the FULLSCREEN window manager hint and how it effects the ability to place or size the window, and is why GQview 1.5.4+ no longer uses the hint. Greetings, John -- John Ellis <[email protected]> http://gqview.sourceforge.net <GQview> | http://gqapplets.sourceforge.net http://gqmpeg.sourceforge.net <GQmpeg> | <panel applets> ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt