• 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: NSScrollView automatically changes scroller styles?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScrollView automatically changes scroller styles?


  • Subject: Re: NSScrollView automatically changes scroller styles?
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 30 Mar 2012 12:38:34 -0600

On Mar 30, 2012, at 12:10 PM, Raleigh Ledet wrote:

> NSScrollView does various checks to see if the App is trying to put placards in the scroller area. If NSScrollView thinks there are placards, then it reverts back to legacy scrollers for compatibility. Some apps have been known to do this via a sibling view instead of a subview. This is why it intermittently happens during your animation as your sibling views momentarily overlap.

Thanks; that makes sense. I filed a bug on this behavior (11139156) and worked around the problem for good by subclassing NSScrollView and overriding -setScrollerBehavior: to do nothing when called. My app doesn't place anything in the scroller areas.

Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________

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: 
 >NSScrollView automatically changes scroller styles? (From: Nick Zitzmann <email@hidden>)
 >Re: NSScrollView automatically changes scroller styles? (From: Nick Zitzmann <email@hidden>)
 >Re: NSScrollView automatically changes scroller styles? (From: Raleigh Ledet <email@hidden>)

  • Prev by Date: Re: Can't receive a scrollWheel message in a PDFView subclass
  • Next by Date: Re: Displaying an arbitrary unicode character using CGContextShowTextAtPoint or CGContextShowGlyphsAtPoint
  • Previous by thread: Re: NSScrollView automatically changes scroller styles?
  • Next by thread: Is there a list solely for ObjC/compiler language issues?
  • Index(es):
    • Date
    • Thread