• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CoreAnimation weird problems with NSView animator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >CoreAnimation weird problems with NSView animator (From: Milen Dzhumerov <email@hidden>)
 >Re: CoreAnimation weird problems with NSView animator (From: Troy Stephens <email@hidden>)

  • Prev by Date: Re: changing NSNumber from within another function
  • Next by Date: CATextLayer and subpixel anti-aliasing
  • Previous by thread: Re: CoreAnimation weird problems with NSView animator
  • Next by thread: Core Data/IB questions
  • Index(es):
    • Date
    • Thread