← Back to team overview

registry team mailing list archive

[Bug 427612] Re: kvm sends caps lock key up event twice

 

Attached a new version of my patch. You find two branches linked to this
bug for maverick and natty. The patch sets SDL_DISABLE_LOCK_KEYS and get
rid of the complete workaround in qemu-kvm. This requires SDL >= 1.2.14.

Stefan Weil wrote:
>The patch might fix part of the problem, but there remain more issues:
> 
> * SDL also sends an SDL_KEYUP event for caps lock when the
>    environment variable SDL_DISABLE_LOCK_KEYS is set.
>    This mode is very useful but currently unsupported by qemu/kvm.

Addressed by new patch.

> * Num lock and caps lock are handled in a similar way by SDL.
>    The patch only handles caps lock. Maybe this is less important
>    because keyboard layouts which remap num lock are rare
>    (I don't know any).

Addressed by new patch.

> * The keyboard status LEDs and the qemu client's keyboard status
>    can become unsynchronized if the input focus changes from qemu
>    to other applications.

Is this a regression of my patch or is it the case for the unpatched
qemu too?

** Patch added: "caps-lock-key-up-event-v2.patch"
   https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/427612/+attachment/1743919/+files/caps-lock-key-up-event-v2.patch

-- 
kvm sends caps lock key up event twice
https://bugs.launchpad.net/bugs/427612
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.