• 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: Hover button and tracking area questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hover button and tracking area questions


  • Subject: Re: Hover button and tracking area questions
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 24 Jan 2013 08:37:58 -0800

On Thu, Jan 24, 2013, at 07:05 AM, Markus Spoettl wrote:
> Maybe the superclass (NSButton) isn't smart enough to understand the
> someone
> else may change the tracking areas and does something nasty with it (like
> assuming all tracking areas currently added are owned too). What if you
> remove
> before calling super and add afterwards. That way, the superclass doesn't
> see
> your custom tracking areas in -updateTrackingAreas

Neither NSButton nor NSControl appears to own any tracking areas (they
are owned by the cell). Neither NSButton nor NSControl overrides
-mouseEntered:. So the superclass has no opportunities to subvert Nick's
efforts.

Nick should really debug this like a memory management issue to see what
zombie object is actually being messaged. Until we have that
information, we're just grasping at straws.

--Kyle Sluder
_______________________________________________

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: 
 >Hover button and tracking area questions (From: Nick Rogers <email@hidden>)
 >Re: Hover button and tracking area questions (From: Kyle Sluder <email@hidden>)
 >Re: Hover button and tracking area questions (From: Quincey Morris <email@hidden>)
 >Re: Hover button and tracking area questions (From: Kyle Sluder <email@hidden>)
 >Re: Hover button and tracking area questions (From: Kyle Sluder <email@hidden>)
 >Re: Hover button and tracking area questions (From: Nick Rogers <email@hidden>)
 >Re: Hover button and tracking area questions (From: Markus Spoettl <email@hidden>)
 >Re: Hover button and tracking area questions (From: Nick Rogers <email@hidden>)
 >Re: Hover button and tracking area questions (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: Hover button and tracking area questions
  • Next by Date: Re: NSAttributedString boundingRectWithSize vs. paragraph margins
  • Previous by thread: Re: Hover button and tracking area questions
  • Next by thread: Getting mouse loc in flagsChanges method
  • Index(es):
    • Date
    • Thread