Bug 289532 - [JFace] [tooltip] request for "movable" tooltip
Summary: [JFace] [tooltip] request for "movable" tooltip
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-15 16:58 EDT by Miwako Tokugawa CLA
Modified: 2019-09-06 15:38 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miwako Tokugawa CLA 2009-09-15 16:58:54 EDT
User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8; MSN OptimizedIE8;ENUS)
Build Identifier: I20090528-2000

Neither SWT tooltip (org.eclipse.swt.widgets.ToolTip) nor Jface tooltip (org.eclipse.jface.window.ToolTip) seems to offer a way to create a tooltip that can be moved by the mouse. (The JDT tooltip which shows "Press F2 to focus", etc. seems to do this).
Can we add such a feature?

Reproducible: Always
Comment 1 Remy Suen CLA 2009-09-17 08:49:42 EDT
Also see bug 218482, which would probably make our lives easier.
Comment 2 Miwako Tokugawa CLA 2009-09-18 13:35:53 EDT
(In reply to comment #1)
> Also see bug 218482, which would probably make our lives easier.
Would you kindly elaborate on this? I don't know how it is related to my request. Is there an existing mechanism that lets me move swt/jface tooltip boxes? Thanks.
Comment 3 Remy Suen CLA 2009-09-18 18:20:09 EDT
(In reply to comment #2)
> Would you kindly elaborate on this? I don't know how it is related to my
> request.

The BrowserInformationControl class is the class that JDT uses for its tooltips which you mentioned in comment 0, so I figured you'd be somewhat interested in it in case you were not aware in case you wanted to copy/paste it for the time being or something.

While it is in JFace Text at the moment, many of its concepts could potentially be reusable though it's not clear to me how the class hierarchy would work.

> Is there an existing mechanism that lets me move swt/jface tooltip
> boxes? Thanks.

Native SWT tooltips cannot be moved as far as I know. For JFace ones you'd have to write your own.
Comment 4 Eclipse Webmaster CLA 2019-09-06 15:38:11 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.