| Summary: | The preload message shows in system tray is not readable | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | yyliuyan <yyliuyan> | ||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P3 | CC: | eclipse.felipe, Michael_Rennie, mukund, niebomin, raji, remy.suen, yyliuyan | ||||||
| Version: | 3.5.1 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 173512 [details]
Program examples
Created attachment 173513 [details]
results
(In reply to comment #0) > Build Identifier: M20090211-1700 > Tray tray = Display.getDefault().getSystemTray(); > TrayItem item = new TrayItem(tray, SWT.NONE); > item.setText("rcp System"); > item.setToolTipText("rcp System"); > final ToolTip tip = new ToolTip(getShell(), SWT.BALLOON| SWT.ICON_INFORMATION); > tip.setAutoHide(true); > item.setToolTip(tip); > URL url = null; > try { > url = new URL( > "file:\\D:\\IBM\\workstation\\menu\\UnbuntuTray\\icons\\alt_window_32.gif"); > } catch (MalformedURLException e) { > e.printStackTrace(); > } > ImageDescriptor imageDesc = ImageDescriptor.createFromURL(url); > Image image = imageDesc.createImage(); > item.setImage(image); > tip.setMessage("System tray is running"); > tip.setVisible(true); > item.addSelectionListener(this); > item.addListener(SWT.MenuDetect, this); > menu = new Menu(getShell(), SWT.POP_UP); > Reproducible: Always > Steps to Reproduce: > 1. Launch eclipse application . > 2. The preload message shows in system tray is not readable (In reply to comment #0) > Build Identifier: M20090211-1700 > Tray tray = Display.getDefault().getSystemTray(); > TrayItem item = new TrayItem(tray, SWT.NONE); > item.setText("rcp System "); > item.setToolTipText("rcp System "); > final ToolTip tip = new ToolTip(getShell(), SWT.BALLOON| SWT.ICON_INFORMATION); > tip.setAutoHide(true); > item.setToolTip(tip); > URL url = null; > try { > url = new URL( > "file:\\D:\\IBM\\workstation\\menu\\UnbuntuTray\\icons\\alt_window_32.gif"); > } catch (MalformedURLException e) { > e.printStackTrace(); > } > ImageDescriptor imageDesc = ImageDescriptor.createFromURL(url); > Image image = imageDesc.createImage(); > item.setImage(image); > tip.setMessage("System tray is running"); > tip.setVisible(true); > item.addSelectionListener(this); > item.addListener(SWT.MenuDetect, this); > menu = new Menu(getShell(), SWT.POP_UP); > Reproducible: Always > Steps to Reproduce: > 1. Launch eclipse application . > 2. The preload message shows in system tray is not readable Build Identifier: M20090211-1700
Tray tray = Display.getDefault().getSystemTray();
TrayItem item = new TrayItem(tray, SWT.NONE);
item.setText("rcp System ");
item.setToolTipText("rcp System ");
final ToolTip tip = new ToolTip(getShell(), SWT.BALLOON| SWT.ICON_INFORMATION);
tip.setAutoHide(true);
item.setToolTip(tip);
URL url = null;
try {
url = new URL(
"file:\\D:\\IBM\\workstation\\menu\\UnbuntuTray\\icons\\alt_window_32.gif");
} catch (MalformedURLException e) {
e.printStackTrace();
}
ImageDescriptor imageDesc = ImageDescriptor.createFromURL(url);
Image image = imageDesc.createImage();
item.setImage(image);
tip.setMessage("System tray is running");
tip.setVisible(true);
item.addSelectionListener(this);
item.addListener(SWT.MenuDetect, this);
menu = new Menu(getShell(), SWT.POP_UP);
Reproducible: Always
Steps to Reproduce:
Did you try changing your OS's tooltip colour preferences? *** Bug 319070 has been marked as a duplicate of this bug. *** (In reply to comment #6) > Did you try changing your OS's tooltip colour preferences? Yes,problems still exist. *** This bug has been marked as a duplicate of bug 309907 *** (In reply to comment #6) > Did you try changing your OS's tooltip colour preferences? (In reply to comment #8) > (In reply to comment #6) > > Did you try changing your OS's tooltip colour preferences? > Yes,problems still exist. Changing OS's tooltip,restart os.This problem does not exist. |
Build Identifier: M20090211-1700 Tray tray = Display.getDefault().getSystemTray(); TrayItem item = new TrayItem(tray, SWT.NONE); item.setText("rcpϵͳ"); item.setToolTipText("rcpϵͳ"); final ToolTip tip = new ToolTip(getShell(), SWT.BALLOON| SWT.ICON_INFORMATION); tip.setAutoHide(true); item.setToolTip(tip); URL url = null; try { url = new URL( "file:\\D:\\IBM\\workstation\\menu\\UnbuntuTray\\icons\\alt_window_32.gif"); } catch (MalformedURLException e) { e.printStackTrace(); } ImageDescriptor imageDesc = ImageDescriptor.createFromURL(url); Image image = imageDesc.createImage(); item.setImage(image); tip.setMessage("ϵͳÍÐÅÌÕýÔÚÔËÐÐ"); tip.setVisible(true); item.addSelectionListener(this); item.addListener(SWT.MenuDetect, this); menu = new Menu(getShell(), SWT.POP_UP); Reproducible: Always Steps to Reproduce: 1. Launch eclipse application . 2. The preload message shows in system tray is not readable