[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2021-10-13 Thread Christian Ehrhardt 
As outlined in #55 unless we identify a smaller set of fixes I'm unsure what we could do for Focal. I'm out of ideas, the only one good thing is that it seems better in later versions and got more rare. But I hate when I do not understand all of a problem, here I might need help from

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2021-04-15 Thread Jeff Francus
I noticed this issue with Kubuntu (Plasma) host and Ubuntu (GNOME) guest. I thought I was the only one affected since this makes almost impossible to use VMs with GUI (desktop). Not that you wouldn't be able to run them but that you realize that you use Ctrl+c/Ctrl+v so often that when it doesn't

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2021-04-14 Thread Christian Ehrhardt 
Recent Bug 1922942 made me aware that this is again showing up in recent versions. Kubuntu 21.04 shows very similar symptoms, but non-KDE systems seem not affected at all. I was able to use it without any trouble on gnome based Ubuntus (Host and Guest). Does any of the involved/subscribed

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-12-16 Thread launcher of pad's
issue still present after installing libspice-client-glib-2.0-8_0.38-2ubuntu1_amd64.deb libspice-client-gtk-3.0-5_0.38-2ubuntu1_amd64.deb spice-client-glib-usb-acl-helper_0.38-2ubuntu1_amd64.deb and rebooting -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-11-09 Thread Christian Ehrhardt 
Interesting thanks Jakub, 0.38 is in groovy and later spice-gtk | 0.37-2fakesync1 | focal/universe | source spice-gtk | 0.38-2ubuntu1 | groovy/universe | source spice-gtk | 0.38-2ubuntu1 | hirsute/universe | source But being a protocol change [1] I'm unsure we can SRU this to Focal

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-11-09 Thread Jakub Klos
Actually, the issue for both Linux and Windows guests is resolved by this fix https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/82 You do not need to do anything else just install the latest 0.38 spice- client libs on the host (on Ubuntu 20.04):

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-11-01 Thread Jakub Klos
@paelzer Thank you, Christian. Yes, I am aware of the workaround as I am using it on Windows (stopping the VDAgent is sufficient on the guest). The only way to use the guest reasonably (you would never tell how copy/paste is used frequently during coding) Currently, I am happy with the patch on

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-11-01 Thread Christian Ehrhardt 
Thanks Jakub for that confirmation! But as discussed before that most likely means we can't fix it in Focal as the updates needed bring too much regression potential for a low prio issue that has alternative (to admit - non perfect) workarounds (e.g. the disabling of the clipboard - which avoids

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-10-31 Thread Jakub Klos
@paelzer Hello Christian, fix small fix did not help but bigger fix works for me fine on focal. I did not have to update the spice-vdaagent on the host. All I did was update on the guest and things started working instantly (after reboot of course). I can help in further testing if needed. Now,

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-09-22 Thread Giacomo Tazzari
@paelzer I have an update. After correctly applying the big fix on the guest too, the bug was still occurring but much more rarely. But now, after I tried disabling Klipper (the KDE clipboard history manager) on both host and guest, the bug seems to have disappeared completely (and copy still

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-09-12 Thread Giacomo Tazzari
@paelzer Christian: When checking my installed packages today I just realized that I didn't actually update spice-vdagent on my guest machine, I only updated it on the host (臘‍♂️)... So, I am retesting again (starting from the big fix). I apologize for the mistake! -- You received this bug

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-09-01 Thread Giacomo Tazzari
Out of desperation, I now tried to enable "Ignore selection" (I don't really use that feature anyway) in my Clipboard settings on KDE on both Host and Guest, and see if that changes anything (while still using the big fix for the time being). I am trying that because I noticed that often, when

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-09-01 Thread Christian Ehrhardt 
Thanks Giacomo, then we are back to step I - not even knowing what to consider backporting :-/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872527 Title: Clipboard doesn't work 100% of the time

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-09-01 Thread Giacomo Tazzari
@paelzer Christian: the bug still happens for me even when using the big fix solution. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872527 Title: Clipboard doesn't work 100% of the time in Ubuntu

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-08-23 Thread Mirto Silvio Busico
The problem is still here with Kubuntu 20.04 updated today for guest and host: clipboard works erratically and sometimes is bloked. The proposed solution don't work fr me because I need to copy from host and paste in guest. The only workaround I found is to use mate desktop in the guest. --

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-08-20 Thread Christian Ehrhardt 
From https://libvirt.org/formatdomain.html#graphical-framebuffers "Copy & Paste functionality (via Spice agent) is set by the clipboard element. It is enabled by default, and can be disabled by setting the copypaste property to no. Since 0.9.3" So yeah if disabling this turns out to be a

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-08-20 Thread Sebastian Haag
I came across the same issue with a guest distro. I finally solved it by editing the XML File of the "Display Spice" section in the VM settings in virt-manager. Open the details window of the affected VM in virt-manager. Navigate to the section "Display Spice". Click on the Tab "XML" (XML

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-08-19 Thread Giacomo Tazzari
Christian: the bug occurred again today while using the small fix version: so that one didn't solve it for me. I will start using the big fix now and see how it goes through the next weeks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-08-11 Thread Christian Ehrhardt 
Great - thank you for that Giacaomo Note to myself, for the sake of finding things more easily next time: https://code.launchpad.net/~paelzer/ubuntu/+source/spice-vdagent/+git/spice-vdagent/+ref/lp1872527-clipboard-handling-small

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-08-11 Thread Giacomo Tazzari
Thank you, Christian! I began testing the small fix first: I will use it for a couple weeks and see if the bug happens again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872527 Title:

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-08-10 Thread Christian Ehrhardt 
Hi Gicaomo, yeah every now and then I need to clean up most old builds to not get slapped by the admins :-) I have refreshed them: small fix: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/4187/+packages big fix (more likely to help, but not really SRUable to Fical):

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-08-10 Thread Giacomo Tazzari
@paelzer Hello Christian, since I am affected by this bug (Kubuntu 20.04) I wanted to try those PPAs mentioned in your last comment, but the links aren't working. Is there any update on all this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-06-30 Thread Iain Lane
** Tags removed: champagne -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872527 Title: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests) To manage notifications about this

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-25 Thread Christian Ehrhardt 
Since bug 1852183 is released this is fixed for many but not all cases. More people chime in to be affected and there seems to be a spike of KDE users in that (which makes sense as they won't see a mutter change have any effect for them I guess). We already had a PPA [1] to try with something

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-24 Thread Kevin
Just chiming in to say that I am experiencing this problem on a fresh install of Kubuntu 20.04. I previously experienced it on a forced upgrade from 19.10->20.04; I thought perhaps the upgrade process was too premature so I wiped and started fresh. Still broken. Sometimes it works, sometimes it

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-23 Thread Jules Samuel Randolph
I have experienced the same inconsistencies as reported by OP between Ubuntu 20.04 guest and hosts. The guest is connected through SPICE. On top of that, the clipboard has been working unreliably within the host system (i3). For example, I often have to copy multiple times the same text to have it

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-20 Thread Stan
Actually another scenario which is even worse now that I have experienced again today, is copy/paste is broken within libreoffice, on a VM. It gets to the point libreoffice hangs completely, and then the VM itself. Eventually the VM logs me right off. Logging back on, and launching libreoffice,

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-19 Thread Stan via ubuntu-bugs
A general userland comment: Reading the above, I experience this among Centos VMs. It is very hard to reproduce for typical text copy/pastes involving bash terminals, text files, and spreadsheets (libre). However, it plagues me for copying from Firefox web pages. It is so bad that I often open

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-18 Thread Christian Ehrhardt 
We know (from the commits) that it is a race - maybe the race window is actually rather small and only few people run into it (and rarely). Having it fixed in 20.10 is already a good thing. But the SRU of a fix will need some sort of reproducer, especially with this somewhat more complex change

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-18 Thread w
Unfortunately, I wasn't able to re-enact the buggy state when I uninstalled the packages. Not sure why. I even tried to upgrade a clean version of Ubuntu 19.10 and 20.04 and still can't get the buggy state with that version. -- You received this bug notification because you are a member of

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-15 Thread Christian Ehrhardt 
Thanks, the versions in the guest should be good then. So does it work and fix the bug? Unfortunately just knowing that it "works" isn't enough it should be relibaly switching between buggy and good state when changing the package versions (and reboot the guest). Otherwise we might just look at

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-14 Thread w
this is guest-after.txt ** Attachment added: "guest-after.txt" https://bugs.launchpad.net/ubuntu/focal/+source/spice-vdagent/+bug/1872527/+attachment/5371584/+files/guest-after.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-14 Thread w
Ok so I'm attaching the dpkg -l output after my tests. I found no obvious issues with the fix in ppa2. I also tested the ppa2 on a freshly installed Ubuntu 20.04 and found no obvious issues. The team might want to consider deploying this fix and see if it could help more users and get their

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-14 Thread w
ok let me try. I tried to upgrade another VM from 18.04 to 20.04 to do this, but I didn't experience any copy and paste issues by doing so. The affected VM was from 19.10 to 20.04. I will test the VM out with your suggestions -- You received this bug notification because you are a member of

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-14 Thread Christian Ehrhardt 
** Attachment added: "a list of current virt components in Ubuntu 20.04 for comparison" https://bugs.launchpad.net/ubuntu/+source/spice-protocol/+bug/1872527/+attachment/5371442/+files/virt-components-focal.txt -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-14 Thread Christian Ehrhardt 
@lwk32 - If you remove your self-built spice-vdagent and spice protocol and reset reset spice* to the versions from (your) archive that should be fine. You then should be able to run with spice-vdagent 0.19.0-2ubuntu0.1~ppa2 from the PPA. My assumption is that this won't be enough missing the

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-13 Thread w
You are right. I need to build spice-protocol 0.14.1 to get spice- vdagent 0.20 to work. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872527 Title: Clipboard doesn't work 100% of the time in

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-13 Thread w
I don't mind trying out the ppa, but my distro is Pop OS Ubuntu 20.04. Is that alright? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872527 Title: Clipboard doesn't work 100% of the time in

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-13 Thread Christian Ehrhardt 
There are plenty of components involved in "trying" to fix this by spice upstream. The discussion in https://gitlab.freedesktop.org/spice/linux/vd_agent/-/issues/9 is rather long. It eventually seems to be fixed in https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/4 I think

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-13 Thread Bug Watch Updater
** Changed in: spice-vdagent (Debian) Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872527 Title: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-12 Thread Christian Ehrhardt 
Since Daniel split up the "related but not the same" mutter changes to bug 1852183 (thanks for that work BTW!) let us here focus on the spice component. Thanks lwk32 for identifying a fix for that, I'll be taking a look if that is SRU-safely backportable to Focal. ** Also affects: spice-vdagent

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-12 Thread w
update - after manually building and installing spice-vdagent 0.20 from Groovy, spice's clipboard works as expected. I no longer need to disable clipboard on virt manager to resolve the copy and paste issues. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-10 Thread Daniel van Vugt
** Also affects: spice (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=1600798 Importance: Unknown Status: Unknown ** Description changed: + https://gitlab.freedesktop.org/spice/linux/vd_agent/issues/9 + + --- + I'm testing Ubuntu 20.04 LTS (Focal Fossa) Beta. I

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-05-08 Thread w
I have issues with copy and pasting on KVM too. In fact, it freezes the IDEs (vs code/intellij) when i tried to copy and paste. Sometimes it cause vs code to crash too. After searching around, I found another person who has the exact same issues albeit on Red Hat:

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-04-21 Thread Daniel van Vugt
In case anyone lands on the wrong bug, as often happens, please see also bug 1852183. ** Also affects: spice (Ubuntu) Importance: Undecided Status: New ** Changed in: spice (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-04-20 Thread Daniel van Vugt
No mutter is not used in Kubuntu as far as I know. I was wondering about that. If you can reproduce the bug without Mutter being involved then obviously it shouldn't be assigned to Mutter. I will shotgun a few related projects... They might not all be to blame but at least other people will be

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-04-20 Thread John Morrison
Hi Daniel, Thank you. Btw. is Mutter also in Kubuntu (KDE Plasma)? The reason I'm asking is that this issue is not just happening between Ubuntu host and Ubuntu guest (more details above). This is also happening between Kubuntu host and Kubuntu guest. If there is no mutter in Kubuntu then this

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-04-19 Thread Daniel van Vugt
There's a surprising number of clipboard fixes already landed upstream and waiting to be released in mutter 3.36.2 -- we should probably wait and see if they help. Most of them don't have associated bug reports :/ Also, in case you haven't already please try both 'Ubuntu' and 'Ubuntu on Wayland'.

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-04-17 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: mutter (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872527 Title:

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-04-16 Thread John Morrison
Hi Bryce, After long testing I have no problems with any key shortcuts (Ctrl+d and Ctrl+z for example), I only see this issue when using Clipboard. I tested: Kubuntu host with Console (Qt terminal) and Ubuntu guest with GNOME terminal (GTK) - problem Kubuntu host with Console (Qt terminal) and

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-04-15 Thread Bryce Harrington
It sort of sounds like there is a race condition going on in the consumption of the key sequence. I don't want to guess exactly what the problem is in this particular case, but just as general X info (which you probably already know...): Keyboard input is processed through several levels...

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-04-15 Thread John Morrison
In my case (with Kubuntu 20.04) I can't even have the virt-manager window opened since it's messing up with the host clipboard (KDE Plasma clipboard). I need to close the virt-manager or I need to open a VM with no desktop (a server without X is fine). In other words: 1. host Kubuntu with guest

Re: [Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-04-15 Thread Christian Ehrhardt 
> Thank you. Did you try it on Ubuntu or Kubuntu host? Host was Ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872527 Title: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-04-15 Thread John Morrison
Hi Christian, Thank you. Did you try it on Ubuntu or Kubuntu host? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872527 Title: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-04-15 Thread Christian Ehrhardt 
I can't recreate this on a 20.04 host neither with virt-manager open or not. Only in the guest. I tried editor (gnome) and kate (KDE editor) on y gnome based 20.04. Very awkward issue, I hope my video helps and I'm looking forward to what Desktop people say as well. -- You received this bug

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-04-15 Thread John Morrison
Hi Christian, > I found some odd behavior, sometimes it would seem as if my copy would not > work. > Pasting then would paste "nothing" later on if I copy something again it > would "free up" and unblock all old calls, suddenly pasting all of them. > > Example > text editor with: > aa > bb >

[Bug 1872527] Re: Clipboard doesn't work 100% of the time in Ubuntu 20.04 (in KVM guests)

2020-04-15 Thread Christian Ehrhardt 
@Desktop Team: For its similarity with bug 1852183 I'll start with `mutter`, but please re-triage this to where you think this really belongs. ** Tags added: champagne -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.