SUMMARY The cursor in Plasma 5.25.0 was inverted so that it pointed down and to the left instead of up and to the right in Fedora Rawhide/37 GNOME Boxes QEMU-KVM VMs using with 3D acceleration enabled using the virgl driver from mesa 22.1.2 and virtio gpu. The selected region was above the cursor by about 1-2 times the height of the cursor every time. In order to select and open the Application Launcher menu, the cursor had to be moved below the bottom-left of the screen. When trying to select menu items or other things in the Application Launcher menu, Firefox, Konsole, System Settings, kinfocenter, I needed to put the cursor about 1-2 cursor heights below the item to be selected. STEPS TO REPRODUCE 1. Boot a Fedora 36 KDE Plasma installation 2. Log in to Plasma on Wayland 3. install GNOME Boxes if it isn't already with sudo dnf install gnome-boxes 4. Download Fedora-KDE-Live-x86_64-Rawhide-20220617.n.0.iso from https://koji.fedoraproject.org/koji/buildinfo?buildID=1986249 5. Start GNOME Boxes 6. Start a QEMU-KVM VM with Fedora-KDE-Live-x86_64-Rawhide-20220617.n.0.iso in GNOME Boxes with 3 GB RAM, 3D acceleration enabled, and EFI enabled 7. Move the cursor around in Plasma with the mouse. The cursor is inverted. 8. Try to select the Application Launcher menu button at the bottom-left of the screen normally. The cursor must be moved below the bottom-left of the screen to select Application Launcher menu button to open it. 9. Try to select the menu items or icons normally in the Application launcher menu. The cursor only selects the menu items or icons when it's 1-2 cursor heights below them. 9. Start Konsole 10. Try to select the menus in Konsole normally. The cursor only selects the menus when it's 1-2 cursor heights below them. OBSERVED RESULT The cursor was inverted and the selected region was above the cursor position in VMs with 3D acceleration enabled EXPECTED RESULT The cursor would appear normally and it would select things as usual. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora Rawhide/37 (available in About System) KDE Plasma Version: 5.25.0 KDE Frameworks Version: 5.94.0 Qt Version: 5.15.4 ADDITIONAL INFORMATION This problem didn't happen when using the same Fedora Rawhide KDE Plasma image on bare metal with the radeonsi mesa driver and amdgpu kernel driver with an integrated Radeon R5 GPU or in a GNOME Boxes QEMU-KVM VM with 3D acceleration disabled using the llvmpipe driver and virtio gpu. The problem might involve the virgl driver.
Created attachment 149984 [details] A screenshot of the inverted cursor over the All Applications item but the Favorites item was highlighted in the Application Launcher menu The first line in my report should have started: The cursor in Plasma 5.25.0 was inverted so that it pointed down and to the left instead of up and to the left... I'm attaching a screenshot showing the inverted cursor over the All Applications item but the Favorites item being highlighted instead in the Application Launcher menu.
Same bug in KDE Neon User 5.25 on Wayland with Virt-manager (QEMU/KVM). On X11 no problem
Created attachment 150623 [details] Fedora 36, Plasma 5.25.3, virgl and reverted cursor
Created attachment 150624 [details] openSUSE Tumbleweed, Plasma 5.25.2, virgl and reverted cursor
I can confirm the same issue. QEMU, KVM, virt manager and virgl. Host: Arch Linux Guests: Fedora 36, openSUSE Tumbleweed. This didn't happen with Fedora when it was on 5.24. TW had 5.25 when I first installed it.
The cursor appeared normally and selected the correct regions in GNOME Boxes QEMU/KVM VMs with 3D acceleration enabled using Fedora-KDE-Live-x86_64-Rawhide-20220806.n.0.iso https://koji.fedoraproject.org/koji/buildinfo?buildID=2042542 which had Plasma 5.25.4 and Mesa 22.1.5.
Updated my guest Fedora to 5.25.4. Host Arch still on 25.3. Issues seems resolved with .4 - cursor is no longer flipped!
After updating my Tumbleweed kvm guest to KDE 5.25.4 the issue was fixed here to, TW snapshot 20220805. No change on the host or the client running virt-viewer.
This seems to be resolved, so I'm closing this bug. If anyone still has the issue, feel free to reopen