On Mar 16, 2010, at 1:23 PM, Quincey Morris wrote:

I'm not sure what the answer is. It seems very context dependent, and maybe there are other relevant factors.

Thanks for your input.

After much testing I have arrived at the following conclusion.

NSTrackingArea when used with NSTrackingActiveWhenFirstResponder or NSTrackingActiveInKeyWindow may require the mouse to exit and re-enter the tracking area to activate the tracking. This will occur when the window resigns and then regains key status. (This appears to be an obscure bug.) The work around is to release and reinitialize the tracking area when the window becomes key.

--Richard

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to