PDA

View Full Version : Animation window types matching Firefox/Thunderbird Menus?


mauibay
October 27th, 2007, 12:39 AM
I seem unable to stop the open and close animations from happening on Firefox and Thunderbird menus. For example, my open animation is set to Airplane with the Window Match string set to:

(type=Normal | Dialog | Utility | ModalDialog) & !(name=kicker)

I've tried removing Utility with no effect, every menu from the Firefox and Thunderbird menubar opens with the animation most of the time, which is very annoying for a menu. Occasionally the animation doesn't happen, but if I click on the menu again it does. Short of removing Firefox completely (as I did with the KDE Kicker) how might I stop the animated menus?

I'm using the current compiz-fusion from the one-click ymp installer for opensSuse 10.3 and KDE.

My guess is that for some reason the menus are not always having the correct window type, and if I knew what it was when it's wrong I could special-case it.

Also, popup tooltips for links in web pages also use the open/close animations, which also shouldn't match the window type.

Deciare
October 27th, 2007, 05:47 AM
Firefox and Thunderbird don't actually follow the NETWM standard for window types; all of their windows, menus, tooltips, etc. are classified as "normal" windows.

Compiz relies on the Workarounds plugin to guess which of those "normal" windows are actually menus or other non-normal windows, and I've seen it mis-guess either randomly or predictably depending on the Firefox/Thunderbird theme I happen to be using.

Before the Workarounds plugin existed, there was a trick to detect non-normal Firefox/Thunderbird windows with the following rule:
(class=Firefox-bin | class=Thunderbird-bin) & override_redirect=1
I'm not sure if that will work any better than the plugin, but since the plugin doesn't seem to be working at all for you, maybe you'd consider giving it a shot?

mauibay
October 27th, 2007, 08:31 AM
That does indeed seem to work for me. I created open and close animations "none" with that matching string and moved to the top of the list. Now popups, tooltips and menus in both mozilla apps behave properly with no animation. The only animation is when I open or close the main window, which is what I want.

Thanks very much for the info!