Clipboard in eclipse 2.1.3 is broken after upgrade of GTK+ library up to 2.4.7 version. Clipboard doesn't work in both versions: one ebuilded (2.1.3-r5) and another one that got from www.eclipse.org. Menwhile text clipped from others gtk applications (GEdit-2.6.2) can be pasted in Reproducible: Always Steps to Reproduce: 1. Run eclipse 2. Copy text in the buffer 3. Paste it Actual Results: Nothing get inserted. Expected Results: Text is inserted at the current cursor position
This bug is known upstream: https://bugs.eclipse.org/bugs/show_bug.cgi?id=72415 It will not be fixed, there's nothing we can do about that. Upgrade to 3.0 is what I'm being told.
However, I would like to point out that I experience no cut'n'paste problems with eclipse-sdk-2.1.3-r5 and gtk+-2.4.7. If you are running on ~x86, you should try upgrading gtk+ to 2.4.9. I've also talked to some of the Eclipse developers. They cannot reproduce the bug with gtk+-2.4.7 on their systems with Eclipse 2.1.3 either.
I run GTK+ 2.4.9-r1 and I do get clipboard problems with Eclipse 2.1.3. Basically sometimes it works, but most of the times it doesn't. Both middle-click pasting and Windows/Mac-style copy/cut/pasting are affected. I still don't run Eclipse 3.x because I prefer to run the same version as on the workstations at my school, but seeing the eclipse devs' "we don't care" attitude regarding eclipse 2.x, I guess I'll have to try it.
A little update: I tried downgrading GTK+ to 2.4.4 (ie. the latest pre-2.4.7 available in Portage) and the problem persists.
Third (and probably final) update: eclipse-3.x works well (not perfect though, middle-button paste doesn't work well, but I guess it's a limitation of eclipse ??). I also tried rebuilding eclipse-2.x and it still doesn't work well. So I guess it's 3.x for me then.