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

Bug 339872

Summary: ToolTip setMessage and setText doesn't update when visible
Product: [Eclipse Project] Platform Reporter: Lakshmi P Shanmugam <lshanmug>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: artur.kronenberg
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Lakshmi P Shanmugam CLA 2011-03-14 07:49:05 EDT
Happens with 3.7 HEAD on Windows

ToolTip.setMessage() and setText() do not update the message/text when the ToolTip is already visible. This works fine on Mac & GTK.
Comment 1 Artur Kronenberg CLA 2011-03-21 05:26:01 EDT
Hi,

On Fedora with Gnome this doesn't work either.
Calling ToolTip.setMessage() if message is already visible will not update the tooltip's message.

A workaround is to make this call:

toolTip.setVisible(flase);
toolTip.setMessage(message);
toolTip.setVisible(true);
Comment 2 Lars Vogel CLA 2019-11-08 04:40:33 EST
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.

If the bug is still relevant please remove the stalebug whiteboard tag.