eclipse.platform.swt icon indicating copy to clipboard operation
eclipse.platform.swt copied to clipboard

blank javadoc hover tooltip and internal web browser (Wayland)

Open felipeaf opened this issue 3 years ago • 5 comments

Describe the bug After something triggers the bug, all javadoc hover tooltip of new windows keeps blank. New windows of internal web browser keeps blank too.

To Reproduce It just happens a few minutes/seconds after start. It seems to be happening only with some projects, but also it seems only to be happening when running on wayland.

Expected behavior Show javadoc of the whatever the mouse is over, or open a web page...

Screenshots hover bug internal browser bug

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • [ ] All OS
    • [ ] Windows
    • [x] Linux
    • [ ] macOS
  1. Additional OS info (e.g. OS version, Linux Desktop, etc) Ubuntu 22.04 (default Gnome environment).

  2. JRE/JDK version OpenJDK 11 (ubuntu default deb)

Version since I've noticed after upgrade OS from Ubuntu 20.04 to 22.04 (but i guess it can be because its related to wayland). It happened with 2022-03 and 2022-06, and even the old Eclipse 2019-03 (i haven't tried other versions). I used to run these same versions on ubuntu 20.04 with Xorg without notice this bug.

Workaround (or) Additional context Run session with Xorg instead Wayland.

felipeaf avatar Aug 09 '22 21:08 felipeaf

I'm having the same issue in xfce4 within Ubuntu 22.04. However, xfce4 by default still seems to be running on Xorg, at least it says echo $XDG_SESSION_TYPE x11 So maybe this bug isn't related to Wayland after all? Were you really successful with the workaround of switching to Xorg, or was it just a guess? P.S.: I'm usually opening a lot of parallel Eclipse-windows and several tabs within each of these windows. If this is true also for you, it could be a hint that maybe this triggers the bug at some point

ms2schlier avatar Apr 22 '24 07:04 ms2schlier

Try either (or both) of variables below.

WEBKIT_DISABLE_COMPOSITING_MODE=1
WEBKIT_DISABLE_DMABUF_RENDERER=1

This bug tracker is full of webkit related issues, webkit is a real nightmare on Linux, unfortunately that is the only browser engine we can use in SWT on Linux as of today...

iloveeclipse avatar Apr 22 '24 08:04 iloveeclipse

Thanks a lot for the quick response! I've put both variables into the /etc/environment and rebootet + restarted eclipse with all my tons of windows/tabs reopened. So far, it works fine! (even though maybe different layout than previously, but I don't mind). I'll report, in case the bug reappears in spite of the settings. But for the moment I'm happy!

ms2schlier avatar Apr 22 '24 08:04 ms2schlier

I didn't have the bug for quite a while, but unfortunately, now it has reappeared, in spite of the environment variables being set. As usual, only a restart has helped. Still no idea, by what it got triggered.

ms2schlier avatar Sep 15 '24 08:09 ms2schlier