Bug 391246 - Cannot copy and paste - Klipper empty entry
Summary: Cannot copy and paste - Klipper empty entry
Status: RESOLVED NOT A BUG
Alias: None
Product: klipper
Classification: Applications
Component: plasma-widget (show other bugs)
Version: 5.12.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Flöser
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-28 22:39 UTC by Germano Massullo
Modified: 2018-11-29 09:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Germano Massullo 2018-02-28 22:39:04 UTC
My Klipper is setted to keep only one entry in history.
Sometimes when I copy some text, the moment I try to paste it, the system does not paste anything. If I go to Klipper applet, I don't see anything in the current history entry
Comment 1 Martin Flöser 2018-03-01 05:19:23 UTC
If you only want one entry, just disable klipper.
Comment 2 Germano Massullo 2018-03-01 14:47:58 UTC
I rephrase the message.
Sometimes the copy and paste does not work. I copy some text, and when I try to paste it, the system does not do anything.
Since Klipper should be the manager of all copy and paste actions in Plasma, when the problem occurs, I go to Klipper to check out what he memorized, and it has nothing in the "paste slot" that should be active
Comment 3 Enrico Tagliavini 2018-03-01 16:12:39 UTC
I also saw this a few times. It's happening very rarely and I cannot relate it to any action for the time being. I have 10 entries in klipper (more one some PCs), and sometimes I find myself pasting nothing, looking at the entry list the last is empty, even though I'm fairly sure I didn't copied something empty.

This is very hard to reproduce for me so... feel free to take this with a grain of salt
Comment 4 Martin Flöser 2018-03-01 16:54:55 UTC
You misunderstood the functionality of klipper. It is not the clipboard, but just the history. Clipboard is handled by the windowing system (e.g X11). If the clipboard is empty it's not klipper's fault.
Comment 5 Germano Massullo 2018-03-04 13:53:14 UTC
(In reply to Martin Flöser from comment #4)
> You misunderstood the functionality of klipper. It is not the clipboard, but
> just the history. Clipboard is handled by the windowing system (e.g X11). If
> the clipboard is empty it's not klipper's fault.

Okay, I will try pinging X11 guys.
Meanwhile I attach a video that I just recorded https://youtu.be/7lnn6S6hkC0
Comment 6 Martin Flöser 2018-03-04 14:57:35 UTC
(In reply to Germano Massullo from comment #5)
> (In reply to Martin Flöser from comment #4)
> > You misunderstood the functionality of klipper. It is not the clipboard, but
> > just the history. Clipboard is handled by the windowing system (e.g X11). If
> > the clipboard is empty it's not klipper's fault.
> 
> Okay, I will try pinging X11 guys.
> Meanwhile I attach a video that I just recorded https://youtu.be/7lnn6S6hkC0

There is no reason to ping X11 devs. They cannot do anything about it either. The fault is most likely with the application.

I try to explain how a clipboard works:
* application A takes the clipboard and provides content
* application B takes the content

This uses X11 functionality, but it's not like X11 as the server provides the clipboard. It's just a shared medium between all applications. If it doesn't work it's mostly the fault of the application in question.
Comment 7 Germano Massullo 2018-03-10 12:35:42 UTC
I want to share the following information, it may be useful to other people:
I have found out what interfered with the copy and paste action: a virt-manager session running Fedora LXQT.
Everytime it runs, the problem happens
Comment 8 Germano Massullo 2018-03-10 22:34:23 UTC
(In reply to Germano Massullo from comment #7)
> I want to share the following information, it may be useful to other people:
> I have found out what interfered with the copy and paste action: a
> virt-manager session running Fedora LXQT.
> Everytime it runs, the problem happens

Err, it happens with any kind of Linux virtual machine running on virt-manager
Comment 9 Germano Massullo 2018-11-29 09:49:46 UTC
For information completeness, it looks like a Spice problem
https://gitlab.freedesktop.org/spice/spice-gtk/issues/36#note_44581