[SOLVED] Eclipse editor window flickers since Mint 20

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
frmb
Level 2
Level 2
Posts: 57
Joined: Sat Dec 17, 2016 12:59 pm

[SOLVED] Eclipse editor window flickers since Mint 20

Post by frmb »

Hi,
not sure, wether this forum is the right one. Admins: Feel free to move this issue to a more appropriate place.
Eclipse.org-guys are out of ideas therefore trying Linux Mint-community.

I migrated my Mint 18 to newest 20.2. Everything went well, everything (Browser, LibreOffice...) works fine. Eclipse does not. My old Eclipse (2019-09) doesn't want to start anymore

Code: Select all

!ENTRY org.eclipse.ui 4 0 2022-01-11 20:02:47.365
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:4737)
So I installed a fresh new downloaded Eclipse 2021-12. Installation went well, but editor windows "flicker". They switch to empty gray and back to text on mouse movements. This happens only to editor windows. Other views (Project Explorer, Outline...) stay calm and do not flicker. It's only the editor windows, regardless of the filetype (java, xml, html).
loginctl says Type=X11
Turning off "theming" in Eclipse makes the flickering slower: It stays "empty and gray" longer (3 sec) until it turns back to normal.
Switching theme in Mint to Adapta Noko didn't change the flickering.

Code: Select all

System: Kernel: 5.4.0-92-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.7
wm: muffin dm: LightDM Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal
Machine: Type: Desktop Mobo: MSI model: Z170-A PRO (MS-7971) v: 1.0
CPU: Topology: Quad Core model: Intel Core i5-6500 bits: 64 type: MCP arch: Skylake-S rev: 3
L2 cache: 6144 KiB
Speed: 804 MHz min/max: 800/3600 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800
Graphics: Device-1: Intel HD Graphics 530 vendor: Micro-Star MSI driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:1912
Display: x11 server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa
resolution: 1920x1200~60Hz
OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 21.0.3
direct render: Yes
SWT-Properties from Eclipse's configuration:

Code: Select all

*** System properties:
-Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true
org.eclipse.swt.graphics.Resource.reportNonDisposed=true
org.eclipse.swt.internal.deviceZoom=100
org.eclipse.swt.internal.gdk.backend=x11
org.eclipse.swt.internal.gtk.theme=Mint-Y
org.eclipse.swt.internal.gtk.version=3.24.20
sun.java.command=/home/.../eclipse/2021-12-l2ee/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -os linux -ws gtk -arch x86_64 -showsplash /home/.../.p2/pool/plugins/org.eclipse.epp.package.common_4.22.0.20211202-1200/splash.bmp -launcher /home/.../eclipse/2021-12-l2ee/eclipse/eclipse -name Eclipse --launcher.library /home/.../.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.400.v20211117-0650/eclipse_11600.so -startup /home/.../eclipse/2021-12-l2ee/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar --launcher.appendVmargs -exitdata 18000 -product org.eclipse.epp.package.jee.product -vm /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -vmargs -Dosgi.requiredJavaVersion=11 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dsun.java.command=Eclipse -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms256m -Xmx2048m --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=10 -Doomph.update.url=https://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ -jar /home/.../eclipse/2021-12-l2ee/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar

*** System environment variables:

*** Features:

*** Plug-in Registry:
org.eclipse.e4.ui.css.swt (0.14.400.v20211026-1534) "Eclipse CSS SWT Support" [Active]
org.eclipse.e4.ui.css.swt.theme (0.13.0.v20201026-1147) "Eclipse CSS SWT Theme Support" [Active]
org.eclipse.e4.ui.swt.gtk (1.1.100.v20210108-1832) "Eclipse UI GTK Enhancements" [Resolved]
org.eclipse.e4.ui.workbench.addons.swt (1.4.400.v20211102-0453) "Eclipse e4 Workbench Add-ons" [Active]
org.eclipse.e4.ui.workbench.renderers.swt (0.15.300.v20211102-1716) "Eclipse e4 Workbench SWT Renderer" [Active]
org.eclipse.e4.ui.workbench.swt (0.16.300.v20211102-0939) "Eclipse e4 Workbench SWT" [Active]
org.eclipse.jface.databinding (1.13.0.v20210619-1146) "JFace Data Binding for SWT and JFace" [Resolved]
org.eclipse.swt (3.118.0.v20211123-0851) "Standard Widget Toolkit" [Resolved]
org.eclipse.swt.gtk.linux.x86_64 (3.118.0.v20211123-0851) "Standard Widget Toolkit for GTK" [Resolved]

*** User Preferences:
/bundle_defaults/org.eclipse.jdt.ui/CallHierarchy.defaultExpandWithConstructorsMembers=java.lang.Runnable.run;java.util.concurrent.Callable.call;org.eclipse.swt.widgets.Listener.handleEvent
/bundle_defaults/org.eclipse.jdt.ui/content_assist_category_order=org.eclipse.jdt.ui.javaPostfixProposalCategory\:65547\u0000org.eclipse.jdt.ui.spellingProposalCategory\:65545\u0000org.eclipse.jdt.ui.javaTypeProposalCategory\:65540\u0000org.eclipse.jdt.ui.javaNoTypeProposalCategory\:65539\u0000org.eclipse.jdt.ui.textProposalCategory\:65541\u0000org.eclipse.jdt.ui.javaAllProposalCategory\:65542\u0000org.eclipse.jdt.ui.templateProposalCategory\:2\u0000org.eclipse.jdt.ui.swtProposalCategory\:3\u0000org.eclipse.jdt.ui.javaChainProposalCategory\:4
/bundle_defaults/org.eclipse.pde.ui/Preferences.MainPage.addSwtNonDisposalReporting\ =true

*** Current Install Configuration:

Id: org.eclipse.e4.ui.css.swt, Version: 0.14.400.v20211026-1534, Location: reference:file:/home/.../.p2/pool/plugins/org.eclipse.e4.ui.css.swt_0.14.400.v20211026-1534.jar
Id: org.eclipse.e4.ui.css.swt.theme, Version: 0.13.0.v20201026-1147, Location: reference:file:/home/.../.p2/pool/plugins/org.eclipse.e4.ui.css.swt.theme_0.13.0.v20201026-1147.jar
Id: org.eclipse.e4.ui.swt.gtk, Version: 1.1.100.v20210108-1832, Location: reference:file:/home/.../.p2/pool/plugins/org.eclipse.e4.ui.swt.gtk_1.1.100.v20210108-1832.jar
Id: org.eclipse.e4.ui.workbench.addons.swt, Version: 1.4.400.v20211102-0453, Location: reference:file:/home/.../.p2/pool/plugins/org.eclipse.e4.ui.workbench.addons.swt_1.4.400.v20211102-0453.jar
Id: org.eclipse.e4.ui.workbench.renderers.swt, Version: 0.15.300.v20211102-1716, Location: reference:file:/home/.../.p2/pool/plugins/org.eclipse.e4.ui.workbench.renderers.swt_0.15.300.v20211102-1716.jar
Id: org.eclipse.e4.ui.workbench.swt, Version: 0.16.300.v20211102-0939, Location: reference:file:/home/.../.p2/pool/plugins/org.eclipse.e4.ui.workbench.swt_0.16.300.v20211102-0939.jar
Id: org.eclipse.swt, Version: 3.118.0.v20211123-0851, Location: reference:file:/home/.../.p2/pool/plugins/org.eclipse.swt_3.118.0.v20211123-0851.jar
Id: org.eclipse.swt.gtk.linux.x86_64, Version: 3.118.0.v20211123-0851, Location: reference:file:/home/.../.p2/pool/plugins/org.eclipse.swt.gtk.linux.x86_64_3.118.0.v20211123-0851.jar
Anybody any idea, where that flickering might come from?
Thank you
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
frmb
Level 2
Level 2
Posts: 57
Joined: Sat Dec 17, 2016 12:59 pm

Re: Eclipse editor window flickers since Mint 20

Post by frmb »

Root cause and solution are explained in Github
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Eclipse editor window flickers since Mint 20

Post by SMG »

To mark your issue as solved, please go to your first post in this topic, click the pencil icon, and add [SOLVED] to the beginning of the title so others know you are no longer seeking help on this issue. (animated gif courtesy of user BJZilberman)
Image
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Software & Applications”