• 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: NSScroller revision?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScroller revision?


  • Subject: Re: NSScroller revision?
  • From: edward taffel <email@hidden>
  • Date: Fri, 25 Apr 2014 16:16:50 -0400

On Apr 25, 2014, at 3:32 PM, Kyle Sluder <email@hidden> wrote:

> On Fri, Apr 25, 2014, at 12:20 PM, edward taffel wrote:
>> i just noticed & i’m not sure in which seed it occurred: NSScroller seems
>> to have undergone some revision. i now get this message:
>>
>> CoreAnimation: warning, deleted thread with uncommitted CATransaction;
>> created by:
>> 0   QuartzCore                          0x00007fff96328ff6
>> _ZN2CA11Transaction4pushEv + 312
>> 1   QuartzCore                          0x00007fff96328b29
>> _ZN2CA11Transaction15ensure_implicitEv + 273
>> 2   QuartzCore                          0x00007fff963289c6
>> _ZN2CA11Transaction9set_valueEj12_CAValueTypePKv + 40
>> 3   QuartzCore                          0x00007fff9632895a
>> +[CATransaction setDisableActions:] + 38
>> 4   AppKit                              0x00007fff94005985
>> -[NSScrollerImp _updateLayerGeometry] + 68
>> 5   AppKit                              0x00007fff94004f52
>> -[NSScroller(NSInternal2) _replaceScrollerImp] + 401
>> 6   AppKit                              0x00007fff94164647 -[NSScroller
>> initWithFrame:] + 391
>> ...
>>
>> the message is logged about 10 seconds after launch, once for the
>> vertical scroller only; the scroller looks & behaves as expected. both
>> scrollers are programmatically added (not in ib).
>>
>> does anyone have any idea what the issue is?
>
> Often times this happens if an instance of a layer-backed NSView (of
> which NSScroll is an example) is deallocated on a background thread.
>
> Ensure that the last reference to your views is always released from the
> main thread.
>
> --Kyle Sluder

thanks kyle,

if this were the case, i should expect to see the same report for both scrollers; as they are allocated & released at the same code points, & i don’t pass the references around. but, i’ll do some checking to be sure.

_______________________________________________

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


  • Follow-Ups:
    • Re: NSScroller revision?
      • From: Kyle Sluder <email@hidden>
References: 
 >NSScroller revision? (From: edward taffel <email@hidden>)
 >Re: NSScroller revision? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: NSScroller revision?
  • Next by Date: Converting from RTF to HTML misses out image tags
  • Previous by thread: Re: NSScroller revision?
  • Next by thread: Re: NSScroller revision?
  • Index(es):
    • Date
    • Thread