• 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: NSTrackingArea Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSTrackingArea Problem
      • From: Richard Somers <email@hidden>
References: 
 >NSTrackingArea Problem (From: Richard Somers <email@hidden>)
 >Re: NSTrackingArea Problem (From: Quincey Morris <email@hidden>)
 >Re: NSTrackingArea Problem (From: Richard Somers <email@hidden>)
 >Re: NSTrackingArea Problem (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Class instance defaults: e.g. NSBrowser
  • Next by Date: Multiple validation errors. Why?
  • Previous by thread: Re: NSTrackingArea Problem
  • Next by thread: Re: NSTrackingArea Problem
  • Index(es):
    • Date
    • Thread