FS#62541 - [qemu] 4.0 breaks keyboard input in linux guests with xserver

Attached to Project: Arch Linux
Opened by frederick_metzengerstein (metzengerstein) - Friday, 03 May 2019, 23:17 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 11 December 2019, 07:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
In a linux guest within X at any text input field (shell, editor, browser...), pressing and holding a key for a short time causes the associated char to be typed endlessly. The release of the key gets ignored.
Example 1: pressing and holding 'a' for a few seconds results in typing of 'aaaaaaaaaaaa...' endlessly.
Example 2: pressing and holding 'Backspace' for a few seconds results in deleting all your previously typed text.

Expected Behavior:
The typing of a char stops when releasing the associated key.

Additional info:
* package version: 4.0.0-2
* last working version: 3.1.0-2

Steps to reproduce:
Start any linux guest system with xserver, open a terminal, press and hold a key for a short time: Look how it gets typed endlessly (Try a few times if it doesn't happen immediately).

The easiest way is to run a linux live cd, like this:
$ qemu-system-x86_64 -enable-kvm -m 512 -boot d -cdrom grml96-full_2017.05.iso
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 11 December 2019, 07:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 4.1
Comment by frederick_metzengerstein (metzengerstein) - Saturday, 04 May 2019, 10:43 GMT
Btw, the input is broken independently of text input. It's just most noticable this way.

Also, windows guests and ReactOS for example are not affected by this bug.
Comment by frederick_metzengerstein (metzengerstein) - Monday, 06 May 2019, 14:40 GMT
The problem goes away, when disabling xorgs autorepeat setting via "xset -r" on the host (see https://wiki.archlinux.org/index.php/Xorg/Keyboard_configuration#Adjusting_typematic_delay_and_rate).
Thats not a sane workaround off course.
Comment by frederick_metzengerstein (metzengerstein) - Wednesday, 08 May 2019, 18:07 GMT
Since it also happens when build fromm official git repo, I've also filed a bug at qemu bug tracker: https://bugs.launchpad.net/qemu/+bug/1828272

Loading...