Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314384 - TrayItem tooltip message not visible under Ubuntu 10.04 Lucid Lynx
Summary: TrayItem tooltip message not visible under Ubuntu 10.04 Lucid Lynx
Status: CLOSED DUPLICATE of bug 309907
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.0   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-25 19:01 EDT by Mickael Guessant CLA
Modified: 2010-05-26 02:48 EDT (History)
0 users

See Also:


Attachments
Use system colors to draw ToolTip message (693 bytes, patch)
2010-05-25 19:11 EDT, Mickael Guessant CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Guessant CLA 2010-05-25 19:01:56 EDT
Build Identifier: 3.6M6-gtk-linux-x86_64

Balloon Tooltips added to a TrayItem under latest  Ubuntu 10.04 Lucid Lynx with default theme are not displayed correctly: tooltip message is black on black.

Workaround: switch to another theme.


Reproducible: Always

Steps to Reproduce:
Create a tooltip, add to trayItem and set visible:
ToolTip toolTip = new ToolTip(shell, (SWT.BALLOON | SWT.ICON_INFORMATION));
toolTip.setText("My text");
toolTip.setMessage("My message");
trayItem.setToolTip(toolTip);
toolTip.setVisible(true);
Comment 1 Mickael Guessant CLA 2010-05-25 19:11:46 EDT
Created attachment 169916 [details]
Use system colors to draw ToolTip message

Fix to ToolTip.java to use gdk_draw_layout_with_colors instead of gdk_draw_layout to draw Tooltip message and use COLOR_INFO_FOREGROUND to draw messages.

With this patch, Tooltip message appears white on black under Ubuntu 10.04 as expected.
Comment 2 Praveen CLA 2010-05-26 02:48:31 EDT

*** This bug has been marked as a duplicate of bug 309907 ***