Version: (using KDE 4.3.5) Installed from: Mandriva RPMs Copy and Paste does not work even in the text is present in clipboard, you can see it Klipper, and it is on the top of the history list, as expected. Nothing suspicious here. But “Paste” pastes nothing. If you open it in Klipper and explicitly click on the item, Paste starts to work. It seems to be that the clipboard item is just not “active”. This however is not indicated in Klipper. It is on the top. It is difficult to reproduce. It is always happening when you are “not looking” and “not prepared”. It happens quite scarce. Lets say once an hour on average. I was never able to detected what exact consequences can trigger this. Whenever I have some theory how to reproduce it for sure, next try will prove I am wrong. This is happening for many years, even from KDE 3 times, as far as I can remember. It is still present in KDE 4.3.5. How to reproduce: Let's say I wan to copy full path, URL of a particular file, to OOo or Kate. 1. Start fresh KDE session. Select file in Dolphin, locate the file, do Copy (Ctrl+C) 2. In OpenOffice.org do Paste or Paste Special. Or Kate or KWrite and do paste. 3. Nothing happens. 4. However – open Klipper, the file URL is on the top, click on it. Now the paste works. However if I repeat the steps just after it, it works. As I said it is tricky to reproduce. My clipper config: Clipboard Actions – disabled. Prevent empty clipboard – ON (don't know what is good for, was a default setting) Separate clipboard and selection (don't know what is good for, was a default setting) It never happens, as far as I remember, when using C&P in the same applications. It appears only when coping form one application to another.
This may be related to bugs #228737 and #225681: https://bugs.kde.org/show_bug.cgi?id=228737 - Klipper often does not activate last copied/cut entry, and I have to switch between entries to select the last one. https://bugs.kde.org/show_bug.cgi?id=225681 - Klipper ignores copying, have to copy twice
I cannot reproduce this :( A few questions: Do you close Dolphin before copying? By fresh session, do you "start new session" and the test right away?
I can definitely confirm this bug. But it strikes me only since KDE 4 (until now, 4.3.5) - version 3 had no such issue for me. I had this on different machines and different distros (Kubuntu and Gentoo). Here, I mostly run into this when I want to copy&paste text between different OpenOffice-Windows, but I also had this with other applications. It's always the same scenario as described above: Copy text via Ctl-C or via mouse-marking it, try to paste it in the same document or in another window - nothing pasted. Klick on Klipper, klick on the top entry in the list, which is the desired text, go back to the working window, try to paste again, success. I consider this quite a nasty thing that really should be dealt with, but did not find anything that definitely would trigger this.
@Mathias: That is probably another bug; there was a race between the new Qt4 XFixes-enabled clipboard and the good old klipper xfixes code. In 4.4, the klipper xfixes code is disabled, so this should no longer occur. It has, unfortunately, exposed a possible bug in the QT4 clipboard code concerning application that terminates while holding the clipboard.
Hm, seems that you are right since the problem I described had nothing to do with copied FILES but only text and closed applications also were not involved. Just in case it makes sense to add: when pasting failes, the checkbox before entry no. 1 in the klipper list is unchecked. Only after manually check it, pasting works. But well, if it's solved in 4.4 then I have to be patient and wait for 4.4 - let's hope.
Yesterday, I caught it when copying text from Firefox to OOo. It pasted previous (old) value in clipboard (I do use C&P a lot). Interestingly, when it opened Klipper the new value was there, at the top of history, so everything looked OK. It just looked as if the new value is not "active". When I clicked on it it worked. I was to able to reproduce again. So unfortunately I don't know what would happen if I did not click I have to confirm Mathias discovery that failed C&P is easily fixed by "reiterating". If paste fails (paste nothing or rarely the old value) simply go back to original, usually still opened application, the text is usually still selected, hit Ctrl+C again and return to target application and do paste again. The bug never repeat itself again on the same spot. Possible clipboard conflict with another clipboard (does X server has its own?) Is it possible that I hit mouse middle button by mistake in the middle of C&P operation thus deactivating the just selected content? (I never use middle mouse button for C&P purposes) I will keep an eye on the circumstances and update this bug report if I find something worthy.
Seems to be a regression in KDE 4.4.2 4.4.0 and 4.4.1 had this nailed down. But after the newer update, Once I close any applications which has any entry on the clipboard, they stop working. Klipper still lists everything right, but you have to reselect one of then to get your clipboard back. I hope this can be fixed for the next point release. It's REALLY annoying.
(In reply to comment #7) > Seems to be a regression in KDE 4.4.2 The same problem. Arch Linux KDE 4.4.3 Qt 4.6.2
have this bag on any distributives with KDE4 (and 4.4.3 to) i636 and x86_64 keyboard layout en+ru using xneur (demon without gui)
*** This bug has been confirmed by popular vote. ***
I confirm this very annoying yet 'one of the' kde bugs.
On Gentoo i.e.
My problem got solved after configuring clipper in a better way... Retracting votes...
I'm on KDE 4.4.5 now, haven't encountered the problem for a while. Probably solved in this version?
I failed to reproduce the reported problem using 4.7.x. Feel free to reopen or leave comment if it still happens in recent versions.