Re: NSViewAnimationFadeInEffect broken in Snow Leopard?
Re: NSViewAnimationFadeInEffect broken in Snow Leopard?
- Subject: Re: NSViewAnimationFadeInEffect broken in Snow Leopard?
- From: Gideon King <email@hidden>
- Date: Wed, 23 Dec 2009 17:40:22 +1000
Hmmm - seems as if there really is a bug there. One thing that surprised me in the documentation is that it explicitly says that the Hidden property is only set to false at the end of the animation.
"If the effect is to fade in an initially hidden view and the end frame is non-empty, the view is unhidden at the end."
If the animation is done using an animation backing and setAlphaValue:, and setHidden:NO is only called at the end of the animation, then that would explain the bug. You could try setAlphaValue:0.0f and setHidden:NO before calling the animation and seeing whether that works around it.
Gideon
> I had this same problem recently but didn't go back to Leopard to verify it. Fade out worked fine, but fade in was broken. Seems like I'm not the only one who had that problem :-\
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden