Re: Using custom inputExtent for Core Animation transition
Christiaan Hofman <[email protected]>
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sep 20, 2009, at 22:25, Matt Neuburg wrote: > By the way (hijacking this thread to refer back to Christiaan's > *other* > thread related to this transition), I have finally solved the > problem of my > transition working fine on 10.6 but crashing on 10.5. It turns out > that not > all CGImages are created equal (in fact, it seems that on 10.5 my > CGImages > weren't even being fully created). m. > Ah, you mean you used -[NSBitmapImageRep CGImage] and didn't know that CGImageRef does not retain the underlying bitmap on 10.5? I also ran into that at some point. Though for this transition I explicitly took care about that, so that's why I did not see the crasher. Still wonder why CA on 10.5 does not finish my transitions though. Being slow is acceptable, just stopping halfway is a bug IMHO. Christiaan > On Sun, 20 Sep 2009 18:45:07 +0200, Christiaan Hofman <[email protected] > > > said: >> >> On Sep 20, 2009, at 18:24, Adam R. Maxwell wrote: >> >>> >>> On Sep 20, 2009, at 3:12 AM, Christiaan Hofman wrote: >>> >>>>> Even worse, it can screw up the NSUIHeartBeat thread on 10.5: >>>>> >>>>> http://www.cocoabuilder.com/archive/message/cocoa/2009/1/8/227043 >>>>> http://www.cocoabuilder.com/archive/message/cocoa/2009/8/20/243038 >>>> >>>> That's not even the biggest problem, as that can be overcome by >>>> only setting wantsLayer to YES temporarily during the animation. >>> >>> No, it can't, because I was doing that in my app (not in the reduced >>> test case), and some users still noticed the problem. >>> >> >> That's annoying. But do I understand correctly that only applies when >> the animated view has a throbbing button (or perhaps an >> NSProgressIndicator)? In that case it's not a problem for me. >> >> Christiaan > > > -- > matt neuburg, phd = [email protected], <http://www.tidbits.com/matt/> > A fool + a tool + an autorelease pool = cool! > AppleScript: the Definitive Guide - Second Edition! > http://www.tidbits.com/matt/default.html#applescriptthings > > >