Re: NSTrackingArea Problem
Re: NSTrackingArea Problem
- Subject: Re: NSTrackingArea Problem
- From: Richard Somers <email@hidden>
- Date: Wed, 17 Mar 2010 21:28:53 -0600
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 (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