Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 526686 (swtWaylandJavadocToolTipsMissplaced)

Summary: [Gtk][Wayland] Javadoc tooltips out of place
Product: [Eclipse Project] Platform Reporter: Nicolas Peifer <nic>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: ericwill, lufimtse, mereshow, nic
Version: 4.7.1aKeywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 516841    
Attachments:
Description Flags
Tooltip placed at the right edge of the screen
none
Console output with Gtk-WARNINGs and GLib-CRITICAL none

Description Nicolas Peifer CLA 2017-10-31 08:48:30 EDT
Created attachment 271262 [details]
Tooltip placed at the right edge of the screen

When I use Ctrl+Space for autocompletion and click on a suggestion then the tooltip with the javadoc is placed on the right screen edge instead of being placed next to the suggestion list.

My setup:
- Oxygen.1a Release (4.7.1a) (freshly installed)
- Linux (Mageia 6 with Gnome 3.24.2)
- One monitor (22", 1680x1050)

Steps to reproduce:
1. Type some method name
2. Hit Ctrl+Space
3. Click on a suggestion
Comment 1 Nicolas Peifer CLA 2017-10-31 08:50:19 EDT
Created attachment 271263 [details]
Console output with Gtk-WARNINGs and GLib-CRITICAL
Comment 2 Nicolas Peifer CLA 2017-10-31 08:59:20 EDT
Ok, I found a workaround for starting eclipse on the command line:

export SWT_GTK3=0
./eclipse

Then the problem vanishes completely (even the Warnings an the Criticals on the console output).

The problem seems related to the following bugs:
#486068
#491855
Comment 3 Noopur Gupta CLA 2017-10-31 09:02:31 EDT
Moving to SWT.
Comment 4 Leo Ufimtsev CLA 2017-10-31 14:46:30 EDT
Is this with Wayland backend?
Comment 5 Nicolas Peifer CLA 2017-12-24 17:25:10 EST
Yes, Gnome is using Wayland.
Comment 6 Leo Ufimtsev CLA 2018-01-02 11:00:00 EST
Thank you for bug report.

Splash Screen:
Bug 517147 (swtWaylandSplashScreenInWrongPlace)

Javadoc issue is new. We should investigate/fix.
Comment 7 Eric Williams CLA 2018-01-02 11:04:29 EST
I believe this is a duplicate of bug 517147, as all Shells are out of place on Wayland due to lack of global coordinates. This would affect Javadoc hovers as well.

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