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." <rickcort...@gmail.com>
> To: "Cocoa-Dev User list" <cocoa-dev@lists.apple.com>
> 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 (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/lrucker%40vmware.com
> 
> This email sent to lruc...@vmware.com
> _______________________________________________
> 
> 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/corbind%40apple.com
> 
> This email sent to corb...@apple.com

_______________________________________________

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