[compiz] Strange behavior scale and switcher plugin after update

David Reveman davidr at novell.com
Thu Mar 1 05:03:49 PST 2007


On Thu, 2007-03-01 at 19:24 +0100, Explinux wrote:
> Hi,
> I have noticed a strange behavior:
> 
> after the added one of the options "window_match" in scale and switcher 
> plugins;  these do not show some windows like gmplayer or amsn's windows
> 
> This is the output of xprop 
> 
> $ xprop
> _NET_WINDOW_DECOR(INTEGER) = 20061011, 46149375, 4, 4, 27, 4, 4, 4, 27, 4, 9, 
> 0, 36965, -11, -34, -68, 0, 582, 32767, 0, 0, 32869, 571, -34, -68, 0, 32767, 
> 32767, 582, 0, 37222, -68, -34, 13, 0, 81, 32767, 664, 0, 26773, -11, 0, 
> 0, -239, 32767, 240, 1, 36, 18581, -11, 240, 0, -239, 32767, 32767, 241, 36, 
> 27289, -11, -239, 0, 0, 32767, 239, 481, 36, 26790, 0, 0, 13, -239, 32767, 
> 240, 1, 49, 18598, 0, 240, 13, -239, 32767, 32767, 241, 49, 27306, 0, -239, 
> 13, 0, 32767, 239, 481, 49, 37033, -11, 0, -319, 13, 331, 32767, 0, 64, 
> 32937, 320, 0, -319, 13, 32767, 32767, 331, 64, 37290, -319, 0, 13, 13, 332, 
> 32767, 664, 64
> _NET_WM_ICON_GEOMETRY(CARDINAL) = 999, 0, 110, 24
> WM_STATE(WM_STATE):
>                 window state: Normal
>                 icon window: 0x0
> _NET_WM_DESKTOP(CARDINAL) = 0
> KWM_WIN_ICON(KWM_WIN_ICON) = 0x300000d, 0x3000014
> XdndAware(ATOM) = ARC
> WM_CLIENT_LEADER(WINDOW): window id # 0x0
> WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, WM_WINDOW_ROLE
> WM_LOCALE_NAME(STRING) = "it_IT at euro"
> WM_CLIENT_MACHINE(STRING) = "Experience"
> WM_ICON_NAME(STRING) = "MPlayer - Video"
> WM_NAME(STRING) = "MPlayer - Video"
> _NET_FRAME_EXTENTS(CARDINAL) = 4, 4, 27, 4
> _NET_FRAME_WINDOW(WINDOW): window id # 0xc0046a
> _MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x3e, 0x1, 0x0, 0x0
> WM_HINTS(WM_HINTS):
>                 Client accepts input or input focus: True
>                 Initial state is Normal State.
>                 bitmap id # to use for icon: 0x300000d
>                 bitmap id # of mask for icon: 0x3000014
> WM_NORMAL_HINTS(WM_SIZE_HINTS):
>                 program specified location: 380, 285
>                 program specified size: 640 by 480
>                 program specified resize increment: 1 by 1
>                 window gravity: Static
> WM_CLASS(STRING) = "MPlayer", "MPlayer"
> _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, 
> _NET_WM_ACTION_STICK, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_MAXIMIZE_HORZ, 
> _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_FULLSCREEN, 
> _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_CHANGE_DESKTOP
> 
> This is the string in my window_match option in scale plugin:
> 
> Toolbar | Utility | Dialog | ModalDialog | Fullscreen | Normal

yes, the window_match options are checking the window type more properly
then how the window_types did. The mplayer window is of type 'Unknown'
as the the type hint isn't set.

You should change those match options to:

"Toolbar | Utility | Dialog | Normal | Unknown"

I'll change the defaults..

- David



More information about the compiz mailing list