Select and paste not working properly in Eclipse (probably a Java issue)

Bug #239731 reported by Michael
4
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Kubuntu 8.04, java-6-openjdk.

When I select text in Eclipse to paste it using the middle mouse button, the text pasted is often the text which was selected before. If I select the text a second time, pasting it succeeds. I assume that this is a Java issue rather than an Eclipse one.

Revision history for this message
Michael (michaeljt) wrote :

Actually what makes the difference is if I change the selection several times in short succession. If I select something after not having selected anything for a while, the change is often not noticed. This also affects the clipboard (the Ctrl-C, Ctrl-V/X11 CLIPBOARD selection one).

Revision history for this message
kenden (kenden) wrote :

Same problem on Ubuntu 8.10 with Eclipse 3.2.2

Ctrl-C Ctrl-V does not work properly:
I have to press Ctrl-C twice each time.

Note: I also have Glipper installed on Ubuntu. No other program is giving problems with copy/paste.

Changed in eclipse:
status: New → Confirmed
Revision history for this message
kenden (kenden) wrote :

My problem was solved by installing parcellite instead of glipper, I found this is bug:
https://bugs.launchpad.net/ubuntu/+source/glipper/+bug/218624

Michael, do you have glipper installed?

Revision history for this message
Michael (michaeljt) wrote :

I was using klipper, which is installed by default in Kubuntu. Now I am no longer using Eclipse, as it can no longer cope with the size of the project I need it for, and crashes with "out of memory" every time I use it. So this ticket can probably be closed on both counts :) Kendon, thanks for pointing that out.

Revision history for this message
kenden (kenden) wrote :

Since the problem happened both with g/klipper, I am setting this bug as a duplicate.

Just for the record since you probably don't need it anymore, for big projects, the memory available to Eclipse can be adjusted using the arguments:
eclipse -vmargs -Xms512m -Xmx1024m -XX:MaxPermSize=512m
Or changing them in the eclipse.ini file:
-vmargs
-Xms512m
-Xmx1024m
-XX:MaxPermSize=512m

Then this can be checked in:
Help > About in "Configuration Details"

That should solve the Eclipse Out Of Memory issues!

Revision history for this message
wolfmanjm (morris-wolfman) wrote :

FWIW I had this problem with Ganymede and Klipper especially with mouse selections. The fix for me was to turn OFF the Klipper setting "prevent empty clipboard". Now copy/paste with mouse works fine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.