Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Carbon accessory view hierarchies in 10.5 NavServices; interaction with Compositing



This has come up before. Nav dialogs, as far as the client is concerned, have always been non-compositing. That being said, if it worked in Tiger it should work in Leopard. A bug report would be appreciated and is the best way to help get this addressed for GM.


On Jun 28, 2007, at 2:16 PM, Tim Gogolin wrote:

I've been investigating a bug in our product when running on Leopard: our custom views inside NavServices panels weren't showing up. I tried downloading and building http://developer.apple.com/samplecode/AddNibToNav/
to see how it is supposed to be coded, and our product's code looked very similar. I guess the engineer who wrote our code had looked over the Apple sample before starting.  Good.  But in Apple's sample program, the accessory view controls show up fine on 10.5 9A466  (although the project requires changes to link succesfully; need to remove a foo.a file from the project).  If our code was so similar, why was it not behaving the same way? 

Then I started looking at the differences between our NIBs and the sample project NIBs and I noticed that our NIBs have the "Compositing" flag turned ON for the holder window that we pull the top level view out of.  Apple's sample project does not have this flag set.  Sure enough, when I turn the Compositing flag off in our NIBs the controls appear correctly and when I turn the flag on in the Apple sample project, most (but not all) of the controls fail to display properly.

So...

Is this an undocumented requirement (NIB's used to hoist a view hierarchy into a NavServices custom dialog must not have the Compositing attribute set), or is this a bug in pre-release Leopard?  Its definitely a change in behavior from Tiger (but some of these are bound to occur when swapping out an implementation).

--
Tim Gogolin
Adobe Systems

_______________________________________________
Do not post admin requests to the list. They will be ignored.
FrameworksIT mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/frameworksit/email@hidden

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.