ITADN

Empty content in popup/info windows using Wayland (Forcing X11 backend cause Eclipse IDE to hang)

#3539Openbarrenaedu 创建于 5 天前
Linux/GTKWayland
B
barrenaeducommented
**Describe the bug** Eclipse IDE in Wayland produces empty popup info windows. Forcing X11 backend using variable 'GDK_BACKEND=x11' shows popup info windows correctly, however this causes Eclipse to hang after a while when alternating between windows apps (for instance, using alt+tab). **To Reproduce** Run eclipse, open a java class, move/place the mouse cursor over a Java Class/method in the code and wait a second until the popup info window automatically appears. (See screenshots) In the moment the empty window appears I can see in the terminal these Gtk-CRITICAL and Gtk-WARNING messages: ``` user@pc > ./eclipse Aug 24, 2026 6:12:33 PM org.apache.aries.spifly.BaseActivator log INFO: Registered provider ch.qos.logback.classic.spi.LogbackServiceProvider of service org.slf4j.spi.SLF4JServiceProvider in bundle ch.qos.logback.classic 18:12:36.038 [Start Level: Equinox Container: 9f213c99-bc2b-4c54-96e9-2ddeb9f81a89] DEBUG org.eclipse.jgit.internal.util.ShutdownHook -- register org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda/0x00007fa274225500@62f798b3 with shutdown hook 18:12:36.038 [Start Level: Equinox Container: 9f213c99-bc2b-4c54-96e9-2ddeb9f81a89] DEBUG org.eclipse.jgit.internal.util.ShutdownHook -- register org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda/0x00007fa274225500@62f798b3 with shutdown hook (Eclipse:427564): Gtk-CRITICAL **: 18:12:58.157: gtk_widget_get_preferred_width_for_height: assertion 'height >= 0' failed (Eclipse:427564): Gtk-WARNING **: 18:12:58.157: gtk_widget_size_allocate(): attempt to allocate widget with width 226 and height -1 ``` **Expected behavior** The popup/info window should appear WITH content like in this image: <img width="1140" height="885" alt="Image" src="https://github.com/user-attachments/assets/cfdb0fe9-f9bb-4433-b005-91ee9725973e" /> **Screenshots** This is the empty popup/info window that is currently being displayed <img width="1666" height="730" alt="Image" src="https://github.com/user-attachments/assets/61de0c4e-4545-4f2a-a8a6-a058632f8798" /> **Environment:** - - [] All OS - - [ ] Windows - - [x] Linux - - [ ] macOS 2. Additional OS info (e.g. OS version, Linux Desktop, etc) ``` Operating System: Fedora Linux 44 (Workstation Edition) Kernel: Linux 6.19.10-300.fc44.x86_64 GNOME Version: GNOME Shell 50.0 Backend: Wayland ``` 3. JRE/JDK version I'm using the default JRE/JDK used by installation in the eclipse.ini, no changes. ``` ... -vm plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_21.0.11.v20260515-1531/jre/bin/java ... ``` **Version since** The error is reproducible in: - 'eclipse-java-2026-03-R-linux-gtk-x86_64' - 'eclipse-java-2026-06-R-linux-gtk-x86_64' - 'eclipse-SDK-4.41RC1-linux-gtk-x86_64' **Workaround (or) Additional context** - Forcing X11 backend using variable 'GDK_BACKEND=x11' shows popup info windows correctly, however this causes Eclipse to hangs after a while when alternating between windows apps (for instance, using alt+tab); In most cases -or at least for me- Eclipse hangs when I alternate windows between Eclipse and Chrome. ` user@pc > GDK_BACKEND=x11 WEBKIT_DISABLE_COMPOSITING_MODE=1 WEBKIT_DISABLE_DMABUF_RENDERER=1 ./eclipse ` - Variables 'WEBKIT_DISABLE_COMPOSITING_MODE=1' and 'WEBKIT_DISABLE_DMABUF_RENDERER=1' used along with 'GDK_BACKEND=x11' do not avoid Eclipse from hanging. - Changing themes (dark/light) in GNOME does not solve the issue of the empty popup/info window or prevent Eclipse IDE from hanging when 'GDK_BACKEND=x11' is used. This is a screenshot of the Eclipse IDE window when it hangs <img width="1272" height="1620" alt="Image" src="https://github.com/user-attachments/assets/b265b864-26c4-4821-bd0c-1d05fa05b9d3" />
5 条评论