Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328706

Summary: Tooltip on Link shows href
Product: [Eclipse Project] Platform Reporter: Markus Keller <markus.kell.r>
Component: SWTAssignee: Scott Kovatch <skovatch>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, skovatch
Version: 3.7   
Target Milestone: 3.7 M4   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Fix none

Description Markus Keller CLA 2010-10-26 09:31:39 EDT
I20101025-1800 Cocoa

When you hover over a link in the Link widget, a tooltip shows the href (or redundantly the link text if there's no href). I would not expect the tooltip, since it is also not shown on other platforms.

Such links usually contain an internal id as href, which shouldn't be shown to the user (e.g. in Eclipse preference pages). If the Link widget ever supports tooltips per link, then they should be configurable (bug 88866).
Comment 1 Scott Kovatch CLA 2010-10-26 16:47:56 EDT
Link tooltip display is on by default, according to the docs for [NSTextView setDisplaysLinkToolTips:]. We only turn it on or off when a tooltip is explicitly set or cleared, which would explain the behavior.
Comment 2 Scott Kovatch CLA 2010-10-26 17:15:45 EDT
Created attachment 181785 [details]
Fix

Turn off link tooltips. Currently we set/clear the link tooltips when the tooltip text is set or cleared, but that isn't right. The patch for bug 277888 is wrong.

Post-3.7m3.
Comment 3 Scott Kovatch CLA 2010-11-01 11:49:28 EDT
Fixed > 20101101.