Bug 469355

Summary: It seems very difficult to escape a remote-viewer grab even pressing Shift+F12
Product: [Plasma] kwin Reporter: bluescreenavenger
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.27.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description bluescreenavenger 2023-05-04 12:47:59 UTC
SUMMARY
***
So I have a QEMU VM with *two* virtual screens, maybe this is part of the issue clicking on the VM, it grabs the cursor, and even pressing the Shift+F12, I can't break the cursor away
***


STEPS TO REPRODUCE
1. qemu-system-x86_64 -m 1024 -cdrom ~/SomeLiveCD.iso -enable-kvm -spice port=3001,disable-ticketing=on -device secondary-vga,id=video1
2. remote-viewer spice://127.0.0.1:3001
3. Click on the remote-viewer

OBSERVED RESULT
It steals the cursor, and pressing Shift+F12 doesn't release it like it says it shuold

EXPECTED RESULT
Some way to free the cursor

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 23.04
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
It's easier on my laptop with a touchscreen, as I can bail myself out by clicking on something else, but not on a desktop
Comment 1 bluescreenavenger 2023-05-08 02:52:48 UTC
Just remembered that I can break out of it quite easy by pressing Super. Kind of odd that QEMU doesn't release the cursor though, haven't tested on other compositors though to see if it's in kwin, or qemu