• 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: tooltips not firing on first try
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tooltips not firing on first try


  • Subject: Re: tooltips not firing on first try
  • From: Corbin Dunn <email@hidden>
  • Date: Wed, 22 Jun 2011 16:00:13 -0700

On Jun 22, 2011, at 2:15 AM, Lee Ann Rucker wrote:

> Possibly Radar 5847161 - Tooltip on NSTableView does not appear on newly selected cell
>
> Summary:
> If an NSTableView has a delegate that implements tableView:toolTipForCell:rect:tableColumn:row:mouseLocation:, tooltips will not appear when a cell is selected and the mouse is not moved.
>
> Apple's response:
> NSTableView doesn't know it should update anything, since the mouse has not moved outside of the area it was tracking.
> Calling updateTrackingAreas should solve the problem.

Yeah, that was from me. When did you call -updateTrackingAreas? It should work to reset tracking areas, but also -resetCursorRects might work too.

The problem is that there is no way for the table to know that you are returning a different value if you don't move out of the cell frame and back in; it is only called after we get a new tracking area entered message.

corbin




>
> It didn't, because the tracking areas hadn't changed. The bug's still open.
>
> ----- Original Message -----
> From: "Rick C." <email@hidden>
> To: "Cocoa-Dev User list" <email@hidden>
> Sent: Wednesday, June 22, 2011 1:07:35 AM
> Subject: tooltips not firing on first try
>
> Hi again,
>
> I have used the delegate method tableView:toolTipForCell:rect:tableColumn:row:mouseLocation: and it's working fine except on first try.  So for example I click a button which launches a panel with my tableview and I move my mouse to hover over a cell and no tooltip.  Now if I scroll down a bit inside my tableview and try again it works.  Even if I go back to the original cell it works.  Just not on first try.  What could be causing this issue any thoughts?  Thanks!
>
> rc_______________________________________________
>
> 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
> _______________________________________________
>
> 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

_______________________________________________

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: tooltips not firing on first try
      • From: Lee Ann Rucker <email@hidden>
References: 
 >Re: tooltips not firing on first try (From: Lee Ann Rucker <email@hidden>)

  • Prev by Date: Re: constrained window resizing
  • Next by Date: Re: tooltips not firing on first try
  • Previous by thread: Re: tooltips not firing on first try
  • Next by thread: Re: tooltips not firing on first try
  • Index(es):
    • Date
    • Thread