| Summary: | Tooltip not shown in Rich Client Application (RCP) under Windows Server 2003 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Julia Kurde <julia.kurde> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | eclipse.felipe, remy.suen, strider80 | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows Server 2003 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Julia Kurde
What JRE are you using? What version of Windows have the problem ? Can you write up a simple SWT snippet that reproduces the problem ? Created attachment 202216 [details]
RCP snipped extracted fom our application
The problematic line of code is located in
"ApplicationWorkbenchWindowAdvisor.java": java.awt.Toolkit.getDefaultToolkit();
When trying to extract a snipped from our application, we were able to identify the problematic line of code. It is located in
"ApplicationWorkbenchWindowAdvisor.java": java.awt.Toolkit.getDefaultToolkit();
We used this to get the screensize when starting the application to maximize the window on the sceen.
* It will suppress all tooltips if run on
*
* 1) MS Server 2003 2) MS Server 2008
* Standard Edition R2 Standard
* Build 3790: SP 2 SP 1 (Build unknown)
* (Excess via CitrixXenApp 6.0 Server 3)
*
* Although tooltips keep visible if run on
*
* 1) MS Server 2008 2) Various MS XP PCs
* Standard Version 6.0 3) Linux OpenSuse
* Build 6002: SP 2 4) Linux Ubuntu
*
In the attachment you find the snippet to reproduce the problem.
It could be related to a conflict of awt and swt.
We are using JRE6 (In reply to comment #3) > The problematic line of code is located in > "ApplicationWorkbenchWindowAdvisor.java": java.awt.Toolkit.getDefaultToolkit(); See bug 349387. (In reply to comment #5) > We are using JRE6 There are many different versions of Java 6. Which vendor's VM are you using? Which update of Java 6 are you using? Reproducible under Windows 7 with JDK 1.6.0_26. I am using 3.7 as a target platform. Even worse: always seems to happen when deploying an RCP application through Java Web Start! At least one other person has noticed this (http://www.eclipse.org/forums/index.php/m/693981/?srch=tooltips#msg_693981). When I simply add Toolkit.getDefaultToolkit() to our ApplicationWorkbenchWindowAdvisor.preWindowOpen() all swt tooltips stop working. The weird thing is that all tooltips keep working fine when I only add this line to postWindowOpen()! For the Java web start case I suspect that web start calls Toolkit.getDefaultToolkit() to do some AWT/Swing stuff before starting the application. (Probably the general web start splash screen and/or the application splash screen). Problem does not occur with custom swt tooltip windows org.eclipse.swt.widgets.ToolTip. (Wow, I got a "mid air collision"; Remy Suen actually submitted a comment at around the same time :)) Thank you Remy for the bug link, this may well be be a duplicate of bug 355541. I tried with an older java version than Sun's JDK 1.6.0_26 and it is not reproducible! > There are many different versions of Java 6. Which vendor's VM are you using?
> Which update of Java 6 are you using?
Java 6 Update 26 from Oracle
Closing as not Eclipse, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=349387#c21 for more information. |