• 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: Core Animation: Layer vs NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Animation: Layer vs NSTextView


  • Subject: Re: Core Animation: Layer vs NSTextView
  • From: Stéphane Sudre <email@hidden>
  • Date: Thu, 1 Nov 2007 23:34:19 +0100


On jeudi, novembre 1, 2007, at 11:16 PM, Troy Stephens wrote:

Hi Stéphane,

8 seconds seems anomalously long; I don't know what would cause that. But the fade-in behavior is an essentially unavoidable artifact of the need to use CATiledLayers to back the document views of NSScrollViews, to allow them to potentially exceed the 2046x2046 texture size limit.

I think I will avoid the animation then (BTW, it's not a power of 2)

For the transparency issue: Can you describe the containing view hierarchy and specify which other views (ancestors of the NSTextView in particular) have "wantsLayer" enabled for them? This sounds worthy of a bug report.

The hierarchy is as "simple" as this:

NSWindow
|
+- ContentView (NSView?)
|
+- NSSplitView (thin separator used)
|
+- Custom View (Opaque subclass of NSView)
|
+- NSView
|
+- Custom View (Opaque subclass of NSView)
|
+- Custom View (subclass of NSView) (A)
|
+- ICBackgroundImageView (subclass of NSImageView) (B)
|
+- Custom View (subclass of NSView)
|
+- ICScrollView (non opaque subclass of NSScrollView)
|
+- ICPresentationTextView (subclass of NSTextView)



The problem appears when I call setWantsLayer: on A or B for instance.


_______________________________________________

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: 
 >Re: Core Animation: Layer vs NSTextView (From: Troy Stephens <email@hidden>)

  • Prev by Date: Re: SecKeychainItemCopyContent for ppc on Leopard
  • Next by Date: [Leopard] Core Data migration does not find legacy model
  • Previous by thread: Re: Core Animation: Layer vs NSTextView
  • Next by thread: CILinearGradient drawing backwards in 10.5
  • Index(es):
    • Date
    • Thread