Bug 85334 - [Forms] FormText tooltips not useful on Linux-GTK
Summary: [Forms] FormText tooltips not useful on Linux-GTK
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 3.1 RC2   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2005-02-15 16:37 EST by Billy Biggs CLA
Modified: 2005-06-02 13:35 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Billy Biggs CLA 2005-02-15 16:37:19 EST
I20050215-0800

org.eclipse.ui.forms.widgets.FormText sets tooltips on its segments inside a
mouse move listener.  This causes strange behaviour on Linux-GTK: usually, the
tooltips are simply never displayed, however sometimes they can appear outside
of the Eclipse window, or far from where the user's mouse cursor is.

This is caused by limitations in the tooltips provided by GTK+.  Tooltips on
GTK+ are always shown directly below the widget which owns them, which, for a
Canvas, will be very far away (especially if is big enough to require scroll
bars).  As well, GTK+ tooltips are only installed on mouse enter or leave
events, so unless the tooltip is installed before the mouse pointer enters the
Canvas, it will never be shown.  These problems are described in bug 85131 and
bug 85328.

Showing tooltips on hyperlinks seems unnecessary: for some views like the Help
view, the link destination is shown in the Eclipse status bar, and web browsers
such as IE and Firefox do not show tooltips on their links.  Maybe these ones in
particular could just "go away"?  :)
Comment 1 Dejan Glozic CLA 2005-06-02 13:35:04 EDT
Fixed by not setting the tooltips for GTK ws. They work well on win32 and mac 
so I left them there.