Re: tooltips not firing on first try
Re: tooltips not firing on first try
- Subject: Re: tooltips not firing on first try
- From: "Rick C." <email@hidden>
- Date: Sat, 25 Jun 2011 14:00:37 +0800
Sure thing Corbin thanks!
On Jun 24, 2011, at 11:48 PM, Corbin Dunn wrote:
> Hi rick,
> It sounds like you are reporting a different issue than what Lee Ann was talking about, but the work arounds may also solve your issue too.
>
> If you can reproduce it, ideally package up a test app that makes it happen and attach it to a bug report. Or, if that is not possible, just include your app itself (or how to get it), and explicit instructions on how to make the problem happen (although, we prefer sample apps, as that makes isolation a lot easier and takes less time to fix).
>
> thanks,
>
> corbin
>
> On Jun 23, 2011, at 3:18 AM, Rick C. wrote:
>
>> I'll try to play with this a bit more using your suggestions. My issue is I click a button and a panel with the tableview launches, and if my mouse if over where that tableview launches the tooltips will not show. Even if I scroll around to different areas of the tableview the tooltip will not show. If I exit my mouse from the tableview and go back then it seems to work. Definitely if I make another app active (Finder for example) and then go back to my tableview it works...
>>
>>
>> On Jun 23, 2011, at 7:28 AM, Lee Ann Rucker wrote:
>>
>>>
>>> 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 (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