Community
Participate
Working Groups
Created attachment 273290 [details] java file editing When opening a file (tested with .groovy, .java and .txt) and start writing as soon as you try to enter new lines (most of the time this start when you try to insert the second line) by pressing enter the source editor rendering starts to get rendering problems. A screenshot is attached how it looks like on java and txt file. The rendering normals back after you save your changes.
Created attachment 273291 [details] text file editing
This only happens on linux where i'm running on ElementaryOS Loki which uses GTK 3.18.9.
Also i more thing i'm running on GTK2 mode. GTK3 mode doesn't seems to startup even i just freeze after initial splash screen which seems to be a different bug.
So this is with GTK 2? I should let you know that GTK 2 support doesn't see any more improvements from committers so people should either provide patches themself or work or use GTK 3. What is the issue when you use GTK 3? Have you tried starting eclipse with -clean -debug -consolelog ? This should give some hints . Also which eclipse version exactly do you use?
This is the console output when i execute in GTK3 mode ---------------------------------------------------------------------------- Start VM: /opt/java/1.8/bin/java -Dosgi.requiredJavaVersion=1.8 -Dosgi.instance.area.default=@user.home/eclipse-workspace -XX:+UseStringDeduplication -jar /opt/eclipse/eclipse-photon//plugins/org.eclipse.equinox.launcher_1.5.0.v20180207-1446.jar -os linux -ws gtk -arch x86_64 -showsplash /opt/eclipse/eclipse-photon//plugins/org.eclipse.epp.package.common_4.8.0.20180315-1215/splash.bmp -launcher /opt/eclipse/eclipse-photon/eclipse -name Eclipse --launcher.library /opt/eclipse/eclipse-photon//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.700.v20180201-0654/eclipse_1703.so -startup /opt/eclipse/eclipse-photon//plugins/org.eclipse.equinox.launcher_1.5.0.v20180207-1446.jar --launcher.appendVmargs -exitdata 1d8005 -product org.eclipse.epp.package.java.product -clean -debug -consolelog -vm /opt/java/1.8/bin/java -vmargs -Dosgi.requiredJavaVersion=1.8 -Dosgi.instance.area.default=@user.home/eclipse-workspace -XX:+UseStringDeduplication -jar /opt/eclipse/eclipse-photon//plugins/org.eclipse.equinox.launcher_1.5.0.v20180207-1446.jar Install location: file:/opt/eclipse/eclipse-photon/ Configuration file: file:/opt/eclipse/eclipse-photon/configuration/config.ini loaded Configuration location: file:/opt/eclipse/eclipse-photon/configuration/ Framework located: file:/opt/eclipse/eclipse-photon/plugins/org.eclipse.osgi_3.13.0.v20180226-1711.jar Loading extension: reference:file:org.eclipse.osgi.compatibility.state_1.1.100.v20180131-1413.jar eclipse.properties not found Framework classpath: file:/opt/eclipse/eclipse-photon/plugins/org.eclipse.osgi_3.13.0.v20180226-1711.jar file:/opt/eclipse/eclipse-photon/plugins/ file:/opt/eclipse/eclipse-photon/plugins/org.eclipse.osgi.compatibility.state_1.1.100.v20180131-1413.jar Splash location: /opt/eclipse/eclipse-photon//plugins/org.eclipse.epp.package.common_4.8.0.20180315-1215/splash.bmp Debug options: file:/opt/eclipse/eclipse-photon/.options not found Time to load bundles: 118 org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized. Starting application: 26158 ------------------------------------------------------------------------------ The splash screen is shown and it closes after few seconds, the workspace selection dialog doesn't show up, while this is happens the whole system is not responsive to user inputs, i have to login to console mode in linux and kill the java process to get the system back to normal.
I did ran eclipse oxygen with GTK3 and there is not problem of running eclipse in GTK3 on Ubuntu 16.04 base ElementaryOS. But Photon M6 fails to who the workspace selection window after the splash screen when running with GTK3. This cannot be a Java version problem as well since with the same java version GTK2 works. So i believe this is a bug in SWT or Platform which is bundled in Photon M6.
Any updated on this issue ? Seems like this is a Photon specific bug because this cannot be reproduced in Oxygen release
(In reply to Gayan Perera from comment #6) > I did ran eclipse oxygen with GTK3 and there is not problem of running > eclipse in GTK3 on Ubuntu 16.04 base ElementaryOS. But Photon M6 fails to > who the workspace selection window after the splash screen when running with > GTK3. This cannot be a Java version problem as well since with the same java > version GTK2 works. > > So i believe this is a bug in SWT or Platform which is bundled in Photon M6. Is there a ticket open for this issue?
https://bugs.eclipse.org/bugs/show_bug.cgi?id=533326
(In reply to Eric Williams from comment #8) > (In reply to Gayan Perera from comment #6) > > I did ran eclipse oxygen with GTK3 and there is not problem of running > > eclipse in GTK3 on Ubuntu 16.04 base ElementaryOS. But Photon M6 fails to > > who the workspace selection window after the splash screen when running with > > GTK3. This cannot be a Java version problem as well since with the same java > > version GTK2 works. > > > > So i believe this is a bug in SWT or Platform which is bundled in Photon M6. > > Is there a ticket open for this issue? https://bugs.eclipse.org/bugs/show_bug.cgi?id=533326
This rendering issue is not there when running with GTK3.
(In reply to Gayan Perera from comment #11) > This rendering issue is not there when running with GTK3. GTK2 only bugs aren't really being investigated anymore, as manpower is limited and there are still many open GTK3 issues. If you have any "showstopper" GTK3 bugs (like bug 533326), please file them and add bug 527444 as a blocker.
(In reply to Eric Williams from comment #12) > (In reply to Gayan Perera from comment #11) > > This rendering issue is not there when running with GTK3. > > GTK2 only bugs aren't really being investigated anymore, as manpower is > limited and there are still many open GTK3 issues. If you have any > "showstopper" GTK3 bugs (like bug 533326), please file them and add bug > 527444 as a blocker. Then i think you can close this issue.
(In reply to Gayan Perera from comment #13) > (In reply to Eric Williams from comment #12) > > (In reply to Gayan Perera from comment #11) > > > This rendering issue is not there when running with GTK3. > > > > GTK2 only bugs aren't really being investigated anymore, as manpower is > > limited and there are still many open GTK3 issues. If you have any > > "showstopper" GTK3 bugs (like bug 533326), please file them and add bug > > 527444 as a blocker. > > Then i think you can close this issue. Okay, thank you for following up.
I am seeing this issue, too. Since I have to work on CentOS6, I just can't switch to GTK3. If this bug wouldn't be fix, then I am not able to upgrade to photon. Based on my observation, this may be a simple bug - the distance from the buggy white vertical bar to the right edge of eclipse window looks like the same as from the left edge of sourceview to the left edge of eclipse window. Looks like the box for redrawing is falsely offseted twice by the x-offset of sourceview. Or maybe the coordinates of redrawing box is relative to the sourceview but falsely considered relative to the eclipse window. If the bug is actually that simple, please help to fix it.