On Jun 22, 2011, at 4:00 PM, Corbin Dunn wrote: > > 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.
My reply 3 years ago was --- 14-Apr-2008 02:13 PM Lee Ann Rucker: Not on Tiger, no, as it's a Leopard API, and when should it be called? ... I did try putting it in my tableViewSelectionDidChange: method but it had no effect. --- Never got anything back from that, and that NSTableView has long since been replaced by an NSCollectionView (and I don't care about Tiger anymore either). The table views we are using don't have tooltips._______________________________________________ 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