Project: SWT
Bug 191413 Control's tooltip displays abnormally on linux platform.
Reported: 2007-06-06 23:12:28 | Status: resolved fixed

Build ID: M20070212-1330 Steps To Reproduce: 1.Create a canvas on a shell and set the canvas' tooltip. 2.Create a button on the canvas. 3.Launch the application on linux platform and hover on the button. 4.The canvas' tooltip displays above the button, while on windows platform, the canvas' tooltip will never display above the button. Code snippet: public static void main(String[] args) { final Display display = Display.getDefault(); final Shell shell = new Shell(); shell.setSize(500, 375); shell.setText("Tooltip Application"); //----------------------- shell.setLayout(new FillLayout()); final Canvas control = new Canvas(shell,SWT.NONE); control.setToolTipText("this is control canvas"); Button button = new Button(control,SWT.PUSH); button.setText("OK"); button.setSize(200,200); //----------------------- shell.layout(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } shell.dispose(); } More information:

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java