Bug 60247

Summary: can not paste from xcoral
Product: [Unmaintained] kdelibs Reporter: mi+kde
Component: generalAssignee: Stephan Kulow <coolo>
Status: RESOLVED WORKSFORME    
Severity: normal CC: l.lunak, plehn
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: FreeBSD   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description mi+kde 2003-06-22 23:39:23 UTC
Version:           3.1.1a (using KDE 3.1.1)
Installed from:    compiled sources
Compiler:          gcc version 2.95.4 20020320 [FreeBSD]
OS:          FreeBSD (i386) release 4.8-STABLE

There are several problem reports related to the copy/paste behaviour of KDE applications.

My latest, easy to reproduce example may help identifying the problem.

When selecting some text in xcoral -- the text editor favoured by one of my users -- the text can be pasted into xterm, but not into konqueror, nor into kedit, nor into konsole. My work-around is to go through xterm, but it is, of course. inconvenient...

XCoral can be found at http://xcoral.free.fr/
Comment 1 Thiago Macieira 2003-06-23 00:07:21 UTC
You should be aware of the distinction that exists between the two so-called 
clipboards: PRIMARY and CLIPBOARD (I hope I'm using the correct terms). 
 
PRIMARY is the selection you make with the mouse or keyboard. CLIPBOARD is 
the data that is copied explicitly by a program command. You paste the contents of 
PRIMARY with the middle mouse button and you paste the contents of 
CLIPBOARD with an explicit command. 
 
In KDE applications, CLIPBOARD is accessed by the Edit menu commands Cut, 
Copy, Paste and their shortcuts, while access to PRIMARY is the text selection, 
as I mentioned. 
 
Having said that, it is very likely that your X applications are using one entity and 
you're trying to paste from the other in KDE applications. Please try running Klipper 
and verify if the contents get read when you copy from the X applications. Klipper 
can also synchronise the contents of both -- it's an option in its configuration. 
 
In all, I highly recommend running Klipper if you don't already. And I should note 
that I don't have any problems with copy/pasting in KDE, including the few pure X 
applications I use (notably, Emacs). 
Comment 2 Tobias Koenig 2003-11-01 21:04:11 UTC
Hmm, tested it with CVS HEAD now... it's still reproduceable, even with klipper running.
When you have marked text in xcoral you can paste it with the middle mouse button
in xterm or xedit but not in KDE apps.
If you cut/copy text in xcoral, you can't insert it neither in xterm nor in xedit and not in
KDE apps... really strange...
Comment 3 Tobias Koenig 2003-11-01 21:06:24 UTC
*** Bug 60519 has been marked as a duplicate of this bug. ***
Comment 4 Marko Mäkiö 2004-01-27 09:56:55 UTC
I have used vmware several years and I remember faintly that paste from vmware to KDE would have worked with some earlier version of KDE (maybe 3.x.x that came with Mandrake 9.0). I have been too busy/lazy to complain this bug earlier, but it would be nice to see this bug fixed in KDE 3.2.

I have used the following workaroung (pretty annoying):
Copied the text in vmware and pasted it to gedit (with MMB). Then copied the text from gedit (with LMB) and pasted it to konsole or any other KDE application needed.

Paste from vmware to Gnome (gtk) and other non-KDE (non qt?) applications works perfectly. Klipper is running. Copy/Paste from KDE to vmware does work.

I use the following versions:
VMware 3.2.1 build-2242
Mandrake 9.2 (KDE 3.1.3)
Comment 5 Lubos Lunak 2004-05-19 10:14:00 UTC
Copy&paste to or from xcoral works fine for me with KDE-3.2.2+Qt-3.3.1. Only MMB pasting, but that's because xcoral uses only selection. Assuming this has been fixed.
Comment 6 Hartmut Plehn 2004-06-02 09:19:24 UTC
I don't know about pasting from xcoral to kde, but pasting from vmware to kde 3.2.1 using Ctrl-C in vmware/windows and MMB in kde still does not work. Pasting to e.g. xterm works. It makes no difference if klipper is running or not.