FVWM: Possible bugs in 2.5.5

From: Richard Curnow <Richard.Curnow_at_superh.com>
Date: Fri, 20 Dec 2002 14:03:58 +0000

I think there are a couple of bugs in 2.5.5.

1) The Layer command doesn't seem to be working. The relevant bits of
   my .fvwm2rc file are

AddToFunc "Put-on-top" "I" Layer 0 6
+ "I" RefreshWindow

AddToFunc "Put-on-bottom" "I" Layer 0 2
+ "I" RefreshWindow

AddToFunc "Put-at-default" "I" Layer 0 4
+ "I" RefreshWindow

Mouse 0 3 A Function "Put-on-top"
Mouse 0 5 A Function "Put-on-bottom"
Mouse 0 7 A Function "Put-at-default"

AddToMenu Window-Ops "Window Ops" Title
[snip other stuff]
+ "StayOnTop" Put-on-top
+ "StayOnBottom" Put-on-bottom
+ "PutBackToDefault" Put-at-default

Neither the title bar buttons nor the menu entries change the stacking
order in 2.5.5. These settings worked OK in earlier 2.5.x releases.

2) The transparency setting is being ignored for some title bar buttons.
   Again the relevant bits of ~/.fvwm2rc are

ButtonStyle 7 21 40x0_at_0 40x12_at_1 20x12_at_1 50x42_at_0 10x42_at_1 10x58_at_1 50x58_at_0 20x88_at_1 40x88_at_0 40x100_at_1 60x100_at_0 60x88_at_0 80x88_at_0 50x58_at_0 90x58_at_0 90x42_at_0 50x42_at_1 80x12_at_0 60x12_at_1 60x0_at_0 40x0_at_1 -- Flat
ButtonStyle 7 ActiveDown 21 40x0_at_1 40x12_at_0 20x12_at_0 50x42_at_1 10x42_at_0 10x58_at_0 50x58_at_1 20x88_at_0 40x88_at_1 40x100_at_0 60x100_at_1 60x88_at_1 80x88_at_1 50x58_at_1 90x58_at_1 90x42_at_1 50x42_at_0 80x12_at_1 60x12_at_0 60x0_at_1 40x0_at_0 -- Flat
ButtonStyle 7 - MwmDecorLayer 4
ButtonStyle 9 17 5x20_at_1 20x20_at_1 35x35_at_0 50x35_at_1 65x20_at_1 80x20_at_1 80x45_at_0 100x45_at_1 100x55_at_0 80x55_at_0 80x80_at_0 65x80_at_0 50x65_at_0 35x65_at_0 20x80_at_0 5x80_at_0 5x20_at_1 -- Flat
ButtonStyle 9 ActiveDown 17 5x20_at_0 20x20_at_0 35x35_at_1 50x35_at_0 65x20_at_0 80x20_at_0 80x45_at_1 100x45_at_0 100x55_at_1 80x55_at_1 80x80_at_1 65x80_at_1 50x65_at_1 35x65_at_1 20x80_at_1 5x80_at_1 5x20_at_0 -- Flat
ButtonStyle 9 - MwmDecorStick
Colorset 1 fg white, bg black, Shape, Plain, RootTransparent buffer, tint white 40
ButtonStyle 3 Inactive Colorset 1 -- Flat
ButtonStyle 5 Inactive Colorset 1 -- Flat
ButtonStyle 7 Inactive Colorset 1 -- Flat
ButtonStyle 7 ToggledInactiveDown Colorset 1 -- Flat
ButtonStyle 9 Inactive Colorset 1 -- Flat
ButtonStyle 0 Inactive Colorset 1 -- Flat
ButtonStyle 8 Inactive Colorset 1 -- Flat
ButtonStyle 6 Inactive Colorset 1 -- Flat
ButtonStyle 4 Inactive Colorset 1 -- Flat
ButtonStyle 2 Inactive Colorset 1 -- Flat
TitleStyle Inactive Colorset 1 -- Flat
BorderStyle Inactive Colorset 1 -- HiddenHandles NoInset Flat
Mouse 0 9 A Stick toggle

With these settings, windows without the focus have translucent borders,
title bars and title bar buttons, except for button 7 which stubbonly
refuses to be drawn transparent. I've tried playing with the line
that's got "ToggledInactiveDown" in it but can't find a setting that
gives a transparent button in this case. Similarly, if I click button 9
to make the window sticky, button 9 isn't drawn transparent. Maybe
the transparency is ignored for buttons which have an active MwmDecor
setting of some kind.

I've a .png file illustrating the behaviour which I can send if required
(it's about 5k in size.)

Any clues, or are these bugs?

Thanks
Richard

-- 
Richard \\\ SuperH Core+Debug Architect /// .. At home ..
  P.    /// richard.curnow_at_superh.com  ///  rc_at_rc0.org.uk
Curnow  \\\ http://www.superh.com/    ///  www.rc0.org.uk
Speaking for myself, not on behalf of SuperH
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Dec 20 2002 - 08:05:44 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST