Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328706 - Tooltip on Link shows href
Summary: Tooltip on Link shows href
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 3.7 M4   Edit
Assignee: Scott Kovatch CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-26 09:31 EDT by Markus Keller CLA
Modified: 2010-12-07 14:25 EST (History)
2 users (show)

See Also:


Attachments
Fix (1.06 KB, patch)
2010-10-26 17:15 EDT, Scott Kovatch CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.