Tooltip support broken for NSTableView on 10.4?
Tooltip support broken for NSTableView on 10.4?
- Subject: Tooltip support broken for NSTableView on 10.4?
- From: Stephane <email@hidden>
- Date: Fri, 26 Jan 2007 14:03:05 +0100
In Tiger, you can display a tooltip for a specific cell of a
NSTableView using the - (NSString *)tableView:(NSTableView *)tv
toolTipForCell:(NSCell *)cell rect:(NSRectPointer)rect tableColumn:
(NSTableColumn *) inTableColumn row:(int)row mouseLocation:(NSPoint)
mouseLocation
; method.
The fact is that tooltip support seems to be buggy in one case.
Steps to reproduce:
-------------------
1. Create a tool displaying tooltips in a NSTableView so that a cell
has its own tooltip.
2. Check that when you let the mouse over the cell for some time, the
tooltip is displayed.
3. Select a row in your tableview with a mouse click
4. Try to display the tooltip for a cell
Observed result:
----------------
It doesn't work
Notes:
------
If the mouse exit the table view bounds and then you try again to
display the tooltip, it will work. So this seems to be a tracking
rect issue.
------8<-------------8<-------------8<-------------8<-------------8<----
---------
Am I missing something?
Bug filed on Radar anywxay.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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