x86: 0.947 device: 0.797 graphic: 0.696 architecture: 0.622 performance: 0.621 i386: 0.511 ppc: 0.486 semantic: 0.473 PID: 0.469 network: 0.354 mistranslation: 0.304 socket: 0.266 register: 0.260 kernel: 0.254 permissions: 0.252 vnc: 0.245 hypervisor: 0.237 user-level: 0.231 arm: 0.230 TCG: 0.227 boot: 0.216 risc-v: 0.212 peripherals: 0.170 debug: 0.162 VMM: 0.149 virtual: 0.143 KVM: 0.100 files: 0.098 assembly: 0.074 Alt-TAB minimizes a full screen key-grabbed SDL window Description of problem: I was made aware of a case where a qemu seems to respond to a keyboard event `Alt+Tab` that isn't meant for it. When running in "SDL + full-screen + keys being grabbed by the guest" (see steps to reproduce below) one would expect `Alt+Tab` to do nothing on the host. But it does minimize the qemu window. This does not happen if: - using GTK instead of SDL - not being in full-screen mode No error message or warning appears while this happens. Steps to reproduce: You do not need and workload to run inside qemu for this 1. `qemu-system-x86_64 -display sdl` 2. Get your key grabbed: `click inside the window` 3. Go full screen: `Alt+Ctrl+F` 4. Press `Alt+Tab` 5. Expected: nothing, Experienced: window minimizes Note: it even is reproducible if running the qemu binary from another system through SSH with X11 forwarding. P.S. I haven't had a chance yet to try qemu 7.0 from git, but will in a bit. It is easy enough to reproduce that I considered it worth filing without. For the start it would be great to hear if others see that as well or not. In case of the latter we'd have to compare library versions (currently I use sdl 2.0.20+dfsg-2build1).