Re: CoreAnimation weird problems with NSView animator
Re: CoreAnimation weird problems with NSView animator
- Subject: Re: CoreAnimation weird problems with NSView animator
- From: Milen Dzhumerov <email@hidden>
- Date: Fri, 28 Mar 2008 16:07:11 +0000
Hi,
On 27 Mar 2008, at 21:03, Troy Stephens wrote:
On Mar 26, 2008, at 9:12 AM, Milen Dzhumerov wrote:
[snip]
This should produce a fade transition, as long as self.generalView's
superview, or an ancestor view higher up, has wantsLayer == YES.
This seems to be the problem. The NSView which I was trying to fade
was the content view, so it didn't have an ancestor which was layer-
backed. How should I animate a view which doesn't have a layer-backed
superview?
[snip] I also noticed some other unusual problems
with the said NIB:
- Animations work on a random basis (CA animations)
A more specific example would help.
I was able to isolate the problem and reproduce it several times. As
it happens on a random basis, the sample projects which isolate the
issues sometimes have to be cleaned / compiled several times. I have
also taken screencasts for those that do not have Xcode 3.1 at hand.
I'm very interested to see whether someone can reproduce these or it's
just my setup somehow.
Reproducible case 1 - http://www.doc.ic.ac.uk/~md207/ca_bugs/nsviews/ExcavateBugCase1.zip
Reproducible case 2 - http://www.doc.ic.ac.uk/~md207/ca_bugs/nsviews/ExcavateBugCase2.zip
Reference behavior - http://www.doc.ic.ac.uk/~md207/ca_bugs/nsviews/ExcavateReferenceBehavior.zip
Screencaps of the bugs on my test machine:
http://www.doc.ic.ac.uk/~md207/ca_bugs/nsviews/CA_missing_button_1.mov
http://www.doc.ic.ac.uk/~md207/ca_bugs/nsviews/CA_missing_button_2.mov
http://www.doc.ic.ac.uk/~md207/ca_bugs/nsviews/CA_missing_text.mov
Kind regards,
Milen
_______________________________________________
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