| Summary: | TrayItem tooltip message not visible under Ubuntu 10.04 Lucid Lynx | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Mickael Guessant <mguessan> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 4.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | Other | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
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.
*** This bug has been marked as a duplicate of bug 309907 *** |
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);