On Tue, Oct 26, 2004 at 01:26:38PM -0500, Manoj Srivastava wrote: > Hi, > > [Please retain the CC to [EMAIL PROTECTED] > so that the Debian BTS has a record of your input] > > This was reported by a Debian user. > > Fvwm2 seems to have some trouble with the EWMH fullscreen mode. > > My configuration includes a stay-on-top FvwmPager. When putting EWMH > compliant applications, such as tvtime, the pager is not obscured by > the fullscreen window, so I get a TV window with a pager floating on > top, which is less than desirable. > > The bug can also be reproduced with the fullscreen modes in Mozilla > Firefox and OpenOffice.org, but I have not tested using this > extensively as I have with tvtime. > > The bug can be worked around by setting: > > Style * EWMHUseStackingOrderHints > > in the .fvwm2rc file. >
So, everything is fine. No? You use a stay on top pager (i.e., you use stacking), so you should use this style. I've no time to explain why, but I do like stay on top windows at all. Maybe, this EWMHUseStackingOrderHints should be on by default. I do not know (and I do not care). > After investigating the problem, my analysis of the problem is that > it seems (according to the excellent fvwm manual page) that the > EWMHUseStackingOrderHints was intended to disable/enable some > KDE-specific extentions. > For me the bug is in the man page. > Unfortunately, the slightly misleading option name lead a programmer to > misinterpret the meaning of the flag when programming the fullscreen > code, and made that disable the stacking code in that when it was > enabled. > > The fact that the option is not intended to disable *all* stacking > hints is further supported by the fact that tvtime also has an (AFAIK) > EWMH-compliant Always-on-top mode, which does manage to obscure the > pager properly, even when EWMHUseStackingOrderHints unset. > > From > http://www.freedesktop.org/standards/wm-spec/1.3/ar01s07.html#STACKINGORDER > > # Stacking order > # > # To obtain good interoperability between different Desktop Environments, > # the following layered stacking order is recommended, from the bottom: > # > # * windows of type _NET_WM_TYPE_DESKTOP > # * windows having state _NET_WM_STATE_BELOW > # * windows not belonging in any other layer > # * windows of type _NET_WM_TYPE_DOCK (unless they have state > # _NET_WM_TYPE_BELOW) and windows having state _NET_WM_STATE_ABOVE > # * focused windows having state _NET_WM_STATE_FULLSCREEN > # > # Windows that are transient for another window should be kept above this > # window. > # > # The window manager may choose to put some windows in different stacking > # positions, for example to allow the user to bring currently a active > # window to the top and return it back when the window looses focus. > > FVWM try to follow the spec but surely do not follow this *recommendation* without an user intervention (or if EWMHUseStackingOrderHints was a default, without the possibility to break such a recommendation). For me, the only acceptable stacking rule is the one concerning _NET_WM_TYPE_DESKTOP. > Let me summarize: > > If the EWMHUseStackingOrderHints style is on, fullscreen works. Pager > is hidden as it should be. > Fine. > If the EWMHUseStackingOrderHints style is off, fullscren works, but > pager is not hidden. But, EWMH always-on-top modes such as the one > found in tvtime still works. > Maybe tvtime use the old GNOME hints? What happen if you use Style * IgnoreGnomeHints ? > According to the documentation, EWMHUseStackingOrderHints affects > KDE-specific extentions. The extentions mentioned aren't KDE > extentions, they are a part of the EWMH standard 1.3 from > freedesktop.org. So either the documentation is wrong or the code is > wrong. > The documentation is wrong. The EWMHUseStackingOrderHints code and doc was written before _NET_WM_STATE_BELOW, _NET_WM_STATE_ABOVE and _NET_WM_STATE_FULLSCREEN was introduced in the ewmh spec. Even, I think that at some point in the spec elaboration it was decided that no stacking rules should appear in the spec (Dominik?), but one day someone decided that all wm should work like kwin and metacity ... The code follows the EWMHUseStackingOrderHints style but not the doc :o/ This happen even with FVWM! > And still, you shouldn't have to activate a special option in order > for FVWM to fully comply with the recommendation in the standard. > Not agree (but I do not care if we can disable these stacking dictatorial rules via a style). > So, I see two possibilities: > > - The option is intended to tell EWMH never to dictate stacking. Yes! > In that case it's broken since tvtime's EWMH always-on-top stacking > still works when that option is disabled, and the documentation is > wrong. > Maybe there is a bug somewhere. I've not tvtime here; but as I said maybe the old GNOME hints are used. Try to disable the GNOME hints and see if tvtime is still stay on top. > - And what I think is more likely: The option was intended to > activate special KDE-specific extentions (as per the documentation) > but somehow breaks fullscreen mode to be out of compliance with > recommendations if disabled. This has nothing to do with KDE > extentions AFAIK. > No. Thanks for the clear feedback. Regards, Olivier -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]