Re: 1.5.3 xinerama problem

John Ellis <[email protected]> Fri, 22 Oct 2004 19:41:31 -0400
Newsgroups gmane.comp.gnome.apps.gqview.devel
Message-ID <[email protected]>
Chris Bare wrote:
> 
> >     Option "TwinViewOrientation"      "LeftOf"
> 
> I tried without this option and it didn't make any difference. I also tried it
> running under the gnome window manager, and it worked correctly, so you are
> relying on something that WM is doing that all WM's don't do.
> 
> If you try running under twm, you'll see the problem not using
> OverrideRedirect causes. twm give you an interactive placement frame for the
> full screen window.

An OverrideRedirect window causes a mess when you attempt to display a dialog to
the user, the dialog may or may not appear above the full screen window
(depending on the window manager). Older versions of GQview simply always
dropped out of full screen to avoid the issue. There is also a problem of not
always getting the keyboard focus for the full screen window in some situations.

Is there a way other than making a window OverrideRedirect to tell the window
manager (twm) not to interactively place the new window? GQview is specifying
the exact location and size to place the window, it is a shame the window
manager chooses to ignore this information.

I will attempt to duplicate your screen setup (nvidia twinview capability here
too) and window manager (mwm) and look into the problem.


Full screen was reimplemented around 1.5.2 to use the multiple monitor/screen
functions of GTK 2.x (-lXinerama is no longer a GQview dependency) - it still
needs testing on the various window managers and with the probable exception of
twm I will try to fix full screen positioning bugs.



Gotta love TWM thinking: new window, where do you want it? ... new dialog
window, you don't know what it contains, but where do you want it? ... hey look,
a new window that specifies size _and_ position, where do you want it? ... new
window requesting no decorations? you got decorations! oh, and where do you want
it?  new window, where d.. ..hey where did my user go?



Greetings,
John




-- 
John Ellis <[email protected]>

http://gqview.sourceforge.net <GQview> | http://gqapplets.sourceforge.net
http://gqmpeg.sourceforge.net <GQmpeg> |                  <panel applets>


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl