Created attachment 1865913 [details] Version-Release number of selected components Description of problem: Same behavior as see on a F35 ticket last year: [RHBZ ticket 2011066](https://bugzilla.redhat.com/show_bug.cgi?id=2011066) "If you boot a KDE live image in a windowed qemu VM using qxl or virtio graphics (which are the two most recent default settings in qemu) and log into Plasma on Wayland (the bug does not affect Plasma on X11), the real cursor position will be slightly offset from where it's drawn. For me the real position is always slightly above and to the left of the 'apparent' position." How reproducible: Allways Steps to Reproduce: 1.Install a KVM-Qemu-VirtManager VM qith Fedora 36 KDE spin 2.Open a plasma-wayland session 3. Open any window and try to move it Actual results: Mouse pointer offset (I'll upload a video from the behavior) Expected results: Pointer actually working (clicking) at the right places
Created attachment 1865914 [details] video of a plasma-wayland session bug on F36 KDE VM is BIOS and using QXL video driver
It seems upstream is tracking that here. Thanks Adam Williamson. https://bugs.kde.org/show_bug.cgi?id=427060
Since 2009304 and 2011066 was accepted as blocker at F35, I'm proposing this as a blocker too.
Geraldo, could you please test whether removing spice-vdagent from the VM again serves as a workaround for this bug? Thanks!
To answer myself - removing spice-vdagent doesn't help. I also tried putting KWIN_FORCE_SW_CURSOR=1 into /etc/environment, and then you see two cursors (host and guest) and you can see the actual offset between them. The offset is largest and easiest to detect, when you test this in the `drawing` app, probably due to the fact that it sets its own "cross" cursor.
also proposing as Beta FE. there's a patch upstream I'll backport shortly.
Discussed during the 2022-03-21 blocker review meeting: [0] The decision to classify this bug as both an "AcceptedBlocker (Final)" and an "AcceptedFreezeException (Beta)" was made as this is a significant problem in using virtual machines with a release-blocking desktop; we accepted an identical bug as blocker for F35 Final. As it will affect the KDE live we would also like to fix it in Beta if possible. [0] https://meetbot.fedoraproject.org/fedora-blocker-review/2022-03-21/f36-blocker-review.2022-03-21-16.01.txt
FEDORA-2022-6ae069bd8a has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-6ae069bd8a
Created attachment 1867341 [details] screencast with new updates With new updates (kwin-5.24.3-3.fc36) the offset looks a little better (it seems no horiszontal offset anymore) but stil some vertical to the right.
In my case, the offset was fixed perfectly by the update.
Created attachment 1867644 [details] at Fedora-KDE-Live-x86_64-36_Beta-1.4.iso it seems fixed
FEDORA-2022-6ae069bd8a has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.