Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1118317
Summary: | Scrolling Eclipse editor is distorted | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stephen Gallagher <sgallagh> | ||||||
Component: | eclipse | Assignee: | Mat Booth <mat.booth> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 22 | CC: | akurtako, alexey.brodkin, andjrobins, andreas.bierfert, bencardoen, hgkamath, jerboaa, krzysztof.daniel, mat.booth, msimacek, npmccallum, overholt, peljasz, rclark, rgrunber, sgallagh, swagiaal | ||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | eclipse-4.4.2-5.fc22 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-05-01 16:44:16 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Hi Stephen. Out of curiosity, does the problem go away if you edit your /etc/eclipse.ini file and change the "--launcher.GTK_version" option from 3 to 2? (In reply to Mat Booth from comment #1) > Hi Stephen. Out of curiosity, does the problem go away if you edit your > /etc/eclipse.ini file and change the "--launcher.GTK_version" option from 3 > to 2? It does indeed. confirming observation and workaround. so how to make work for gtk3 ? https://bugs.eclipse.org/bugs/show_bug.cgi?id=431160 https://bugs.eclipse.org/bugs/show_bug.cgi?id=432115 http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=8c8ff931eaefa50624561858afae1e6147ac41ae We decided to stick with GTK2 for now in F21 due to the number of problems with it. I reverted the changed that made GTK3 the default in F21, GTK3 is still enabled by default in rawhide (F22+). This problem should be fixed in eclipse-4.4.0-7.fc21: http://koji.fedoraproject.org/koji/buildinfo?buildID=544915 This issue wasn't really resolved, just worked around for F21. It still exists in Fedora 22. And the upstream Eclipse build doesn't have the same bug. Here is a video of the problem: https://www.youtube.com/watch?v=SeEDRJh56Ts Since my previous post and now I don't see it, in fedora-21. I have not on f22/rawhide so this comment does not invalidate previous comment $ cat /etc/eclipse.ini | grep launcher.GTK -A1 --launcher.GTK_version 3 $ rpm -qa | egrep -i "^eclipse" | egrep -i "platform|swt" eclipse-swt-4.4.2-2.fc21.x86_64 eclipse-platform-4.4.2-2.fc21.x86_64 $ rpm -qa | egrep -i "^gtk3-3" gtk3-3.14.10-1.fc21.i686 gtk3-3.14.10-1.fc21.x86_64 $ uname -a Linux sirius.localdomain 3.19.3-200.fc21.x86_64 #1 SMP Thu Mar 26 21:39:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Just a reminder, this is a continuing problem in Fedora 22. Please either fix the GTK3 support for F22 Final or revert it to using GTK2 like you did for F21. Thanks for the reminder Stephen, this has been fixed upstream and the fix will be backported shortly. eclipse-4.4.2-5.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/eclipse-4.4.2-5.fc22 *** Bug 1134295 has been marked as a duplicate of this bug. *** So, this fix works - kind of. All the strange rendering still occurs, it just gets refreshed away when the drag is finished. Hi Stephen, Can you expand a bit more on the failure you are seeing with the update? Can try temporarily renaming your ~/.eclipse directory before starting Eclipse to see if that kicks it into working? Package eclipse-4.4.2-5.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing eclipse-4.4.2-5.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-7277/eclipse-4.4.2-5.fc22 then log in and leave karma (feedback). Created attachment 1020587 [details]
Screencast AFTER the fix
Mat, I think you meant to needinfo me not Stephen... No, he was talking to me. I gave negative karma on the Bodhi update because I couldn't start eclipse after updating to this build. However, after having downgraded to the last stable build and then updating again, it seems to be working (albeit with the same distortion during scroll that you're reporting, Nathaniel). As with Nathaniel, the distortion immediately disappears once you stop scrolling, so it's still a marked improvement. I need to run another test to see if I can get the startup failure to occur again. I have a suspicion on what caused it. OK, my failure was user-error. I saw a message on update and misinterpreted .rpmsave as .rpmnew, so I copied over my old /etc/eclipse.ini and broke things... reinstalling the correct one from the latest RPM works properly. (I had a .rpmsave because I'd previously modified the ini file to use GTK2). I'll update my karma. Stephen, thanks. Mat, I also gave the update +1. However, I'm still concerned with the quality of the current fix. It gives a bad impression of the state of eclipse in Fedora. Can we either completely resolve this (my preference) or return to GTK2? Nathaniel, we are doing our best to resolve as much as possible but there are just that many hours. As the author of the fix I know it's a workaround in reality but upstream would also see this so the bad impression is about eclipse in general not only on Fedora. Regarding returning to GTK2 it has a number of instabilities (mostly in the Browser component) which lead to crashes so it's not that viable solution either. Work will continue on finding better fix but for now this is the compromise that is less evil in my eyes. Okay, thanks. I can agree with that. At least eclipse is usable at this point. eclipse-4.4.2-5.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 1197661 has been marked as a duplicate of this bug. *** |
Created attachment 917053 [details] Screencast of the distortion Description of problem: When scrolling the editor window, the refresh appears to be broken. See attached screencast for an example. I tested this with both a C and Python file, so it appears to be an Eclipse problem rather than a specific language editor. Version-Release number of selected component (if applicable): icu4j-eclipse-52.1-2.fc21.noarch eclipse-gef-3.9.100-1.gitb63ec56.fc21.noarch eclipse-emf-core-2.10.0-1.fc21.noarch eclipse-mylyn-tasks-web-3.12.0-0.6.git20140509.fc21.noarch eclipse-fedorapackager-0.4.1-10.fc21.noarch eclipse-mylyn-3.12.0-0.6.git20140509.fc21.noarch eclipse-remote-1.0.0-1.fc21.noarch eclipse-ptp-rdt-7.0.3-1.fc20.noarch eclipse-jdt-4.4.0-5.fc21.x86_64 eclipse-pde-4.4.0-5.fc21.x86_64 eclipse-cdt-8.4.0-1.fc21.x86_64 eclipse-oprofile-3.0.0-2.fc21.noarch eclipse-cdt-parsers-8.4.0-1.fc21.x86_64 eclipse-valgrind-3.0.0-2.fc21.noarch eclipse-equinox-osgi-4.4.0-5.fc21.x86_64 eclipse-emf-2.10.0-1.fc21.noarch eclipse-dtp-1.11.2-5.fc21.noarch eclipse-ecf-core-3.8.1-1.fc21.noarch eclipse-rpm-editor-3.0.0-2.fc21.noarch eclipse-packagekit-0.1.0-7.fc21.noarch eclipse-ptp-rdt-xlc-7.0.3-1.fc20.noarch eclipse-mylyn-tasks-bugzilla-3.12.0-0.6.git20140509.fc21.noarch eclipse-p2-discovery-4.4.0-5.fc21.x86_64 eclipse-linuxtools-3.0.0-2.fc21.noarch eclipse-mylyn-tasks-trac-3.12.0-0.6.git20140509.fc21.noarch eclipse-swt-4.4.0-5.fc21.x86_64 eclipse-ptp-7.0.3-1.fc20.x86_64 eclipse-mylyn-context-cdt-3.12.0-0.6.git20140509.fc21.noarch eclipse-subclipse-1.10.2-3.fc21.noarch eclipse-egit-3.4.1-1.fc21.noarch eclipse-pydev-3.5.0-4.fc21.noarch eclipse-changelog-3.0.0-2.fc21.noarch eclipse-rse-3.6.0-1.fc21.noarch eclipse-collabnet-merge-4.0.0-4.fc21.noarch eclipse-platform-4.4.0-5.fc21.x86_64 eclipse-mpc-1.2.1-0.2.git519e70b.fc21.noarch eclipse-jgit-3.4.1-1.fc21.noarch eclipse-mylyn-context-java-3.12.0-0.6.git20140509.fc21.noarch How reproducible: Every time Steps to Reproduce: 1. Open a code file 2. Scroll with mouse wheel or arrow keys 3. Actual results: Refresh issues on the editor Expected results: The editor should scroll normally. Additional info: