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):
Steps to Reproduce:
1. Open a code file
2. Scroll with mouse wheel or arrow keys
Refresh issues on the editor
The editor should scroll normally.
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 ?
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:
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
$ rpm -qa | egrep -i "^eclipse" | egrep -i "platform|swt"
$ rpm -qa | egrep -i "^gtk3-3"
$ 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.
*** 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.
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?
* 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:
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.
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. ***