PDA

View Full Version : Widgets won't use custom animation...


smartboyathome
October 9th, 2007, 02:09 AM
I am running the Widgets layer, and I would like it if the widgets faded out when I hid them. I tried setting (type=Utility) to Fade in the compizconfig animation plugin, but it still doesn't work. How would I change this?

coz
October 9th, 2007, 03:10 AM
hey guy,
Actually if you go into the widget layer plugin under the appearance tab, there is a Fade Time slider. If I am understanding you correctly, this slider will allow the widgets to fade in and fade out at various rates.
Along with the background brightness and saturation sliders, you should be able to get the effects that y ou want with this.
hope this helped!
let me know
coz

Aldoo
October 9th, 2007, 11:28 AM
Is it not possible to use the effects of the animation plugin when we toggle the widget layer ?

It would be a good thing for people with a fast video card.
With my integrated Intel, I'll stay with the minimum effects for the widgets, otherwise it'd really look bad. (widget are supposed to come before the next tenth of second and then go away as fast)

maniac
October 9th, 2007, 11:59 AM
Is it not possible to use the effects of the animation plugin when we toggle the widget layer ?

It would be a good thing for people with a fast video card.
With my integrated Intel, I'll stay with the minimum effects for the widgets, otherwise it'd really look bad. (widget are supposed to come before the next tenth of second and then go away as fast)
Just use "widget=1" to match widgets in animation. Be sure to put the widget match at the top of the list because other rules are matched, too; and the other matches might match widgets as well.

smartboyathome
October 9th, 2007, 08:05 PM
hey guy,
Actually if you go into the widget layer plugin under the appearance tab, there is a Fade Time slider. If I am understanding you correctly, this slider will allow the widgets to fade in and fade out at various rates.
Along with the background brightness and saturation sliders, you should be able to get the effects that y ou want with this.
hope this helped!
let me know
coz

Unfortunately, it doesn't work. It DOES fade in, but fade out doesn't work. Instead it uses burn (my close animation). Also, putting widget=1 into a new section in the animations plugin set to fade didn't work.

Laughing Man
October 21st, 2007, 03:05 AM
Yeah I'm trying to solve this myself.. adding ! rules to my close animation don't seem to help either.

I've tried !(class=screenlets), !(class=widget), etc.. hasn't worked for me yet.

Fyda
October 21st, 2007, 05:45 AM
Unfortunately, it doesn't work. It DOES fade in, but fade out doesn't work. Instead it uses burn (my close animation). Also, putting widget=1 into a new section in the animations plugin set to fade didn't work.
The order of the rules is very important. They are listed by priority, with the top-most one applying first and thereby overriding all other rules below it (for windows which would match more than one of the rules).

If you haven't already, please try moving your new rule to the very top of the list.

Yeah I'm trying to solve this myself.. adding ! rules to my close animation don't seem to help either.

I've tried !(class=screenlets), !(class=widget), etc.. hasn't worked for me yet.
Since maniac said to use widget=1 as the expression for matching widget-type windows, I think adding widget=0 (not negating it with !) to your conditions might do the trick. (Or maybe !widget=1.)

Deciare
October 21st, 2007, 05:50 AM
maniac's solution works perfectly for me. Are you sure that...
The rule matching "widget=1" is on top of the list?
There's a "widget=1" rule in both the list of Close and Open animations?
"widget=1" is the only condition in the matching rule?

http://i81.photobucket.com/albums/j239/Deciare/opencompositing-org/widgetanimation.png

If that still isn't working, could you try putting a window that isn't normally a widget, like XTerm, on the widget layer? Maybe the animation rules are working correctly, but widget-type windows follow some other undocumented behaviour.

Laughing Man
October 21st, 2007, 08:48 PM
Thanks, adding !(widget=1) worked!