Bug 194930

Summary: [JFace][ToolTip] Provide support for SWT.BALLON styled widgets
Product: [Eclipse Project] Platform Reporter: Irum Godil <softwarengineer2004>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: b.muskalla, eclipse, tom.schindl
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Irum Godil CLA 2007-06-29 11:51:09 EDT
The org.eclipse.swt.widgets.Tooltip provides very little capability for tooltips styles. For instance there is no support for changing colors or fonts. 

Please see the email threads below for this feature request: 
------------------------------------------------------------------------------

Irum Godil schrieb:

Hi,
I am using the org.eclipse.swt.widgets.Tooltip class to show tooltips in various places. However, I am noticing that this class provides very limited custom functionality.
For instance, I would like to set a different background color on the tooltip, or list items in a bullet form.

 From the newsgroup postings I have seen that I can create a StyledText control inside my own shell, however the problem there is that I am unable to show my tooltip as a balloon. I cannot find any control that I could set as a balloon style and set my custom fonts/colors on.
Can somebody please help me with this. What is the best solution for this?

Thanks.
Regards,
Irum G.
---------------------------------------------------------------------------
Response from Tom Schindl:


Well, JFace provides a base class to create really fancy tooltips although til now nobody has implement a ballon feature.

I think this is done using Shell#setRegion() or something like that. So an implementation doesn't sound to hard (in fact you can maybe copy the algorithm from the SWT-Tooltip)

Maybe we could support this Ballon-Style in 3.4 out of the box. Would you mind filing a bug and CC'ing me?

Tom
Comment 1 Thomas Schindl CLA 2008-01-18 17:49:15 EST
any volunteers?
Comment 2 Thomas Schindl CLA 2010-01-28 17:10:52 EST
multi change because of intenion of stepping back as platform-ui committer
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:16:01 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.