Sticky keys repeat indefinitely unless if pressed again
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
It was noticed that, when using QEMU, keys pressed when using the guest can get stuck and repeat indefinitely. To undo that, the particular key has to be pressed again. While what is the key currently stuck can be obvious when it is a letter or number, Ctrl or even Enter can get stuck, which can lead to confirming doing dangerous actions in the guests (think replacing multiple files with a GUI file manager).
A command as simple as:
qemu-system-x86_64 -accel kvm -m 1536 -vga qxl -cdrom xubuntu-
Is triggering the bug. I tried using the workaround using -device usb-kbd but that didn't solve. It's currently being hard to use QEMU due to this bug.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: qemu-system-x86 1:4.0+dfsg-
ProcVersionSign
Uname: Linux 5.4.0-9-generic x86_64
ApportVersion: 2.20.11-0ubuntu15
Architecture: amd64
CurrentDesktop: XFCE
Date: Mon Jan 13 23:38:56 2020
InstallationDate: Installed on 2017-06-13 (944 days ago)
InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
KvmCmdLine:
COMMAND STAT EUID RUID PID PPID %CPU COMMAND
qemu-system-x86 Sl+ 0 0 33485 33480 22.7 qemu-system-x86_64 -accel kvm -m 1536 -cpu Skylake-Client -device nec-usb-xhci -device usb-host,
kvm-nx-lpage-re S 0 0 33490 2 0.0 [kvm-nx-lpage-re]
kvm-pit/33485 S 0 0 33494 2 0.0 [kvm-pit/33485]
MachineType: LENOVO 80UG
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: qemu
UpgradeStatus: Upgraded to focal on 2019-12-22 (22 days ago)
dmi.bios.date: 08/09/2018
dmi.bios.vendor: LENOVO
dmi.bios.version: 0XCN45WW
dmi.board.
dmi.board.name: Toronto 4A2
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40679 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: IDEAPAD
dmi.product.name: 80UG
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
mtime.conffile.
Changed in qemu (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
Hi Leonardo,
I've not heard about that behavior before nor seen it myself.
I booted y xubuntu iso but to me it seemed to behave normal.
What exactly are you doing to trigger it being stuck.
E.g. open a console in the guest and hold "A" for 3 seconds?
For me that entered some "A" chars until I let go (plus some overhang for inputs already queued but taking a while to be processed, but not much maybe half a second)