[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 427612] Re: kvm sends caps lock key up event twice
From: |
Benjamin Drung |
Subject: |
[Qemu-devel] [Bug 427612] Re: kvm sends caps lock key up event twice |
Date: |
Wed, 24 Nov 2010 21:44:06 -0000 |
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 qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: New
Status in “libsdl1.2” package in Ubuntu: Invalid
Status in “qemu-kvm” package in Ubuntu: In Progress
Status in “libsdl1.2” source package in Maverick: Invalid
Status in “qemu-kvm” source package in Maverick: New
Status in “libsdl1.2” package in Debian: Fix Released
Bug description:
Binary package hint: qemu-kvm
I have set the keyboard layout to German NEO 2 [1] in the host and the client
(both current karmic). The caps lock is used as modifier (similar to shift) in
NEO. When I press "caps lock" + "t", then the client prints a "t" instead of a
"-". A caps lock key up event is sent to the client before I release the caps
lock key.
[1] http://www.neo-layout.org/
ProblemType: Bug
Architecture: amd64
Date: Fri Sep 11 01:38:58 2009
DistroRelease: Ubuntu 9.10
KvmCmdLine: Error: command ['ps', '-C', 'kvm', '-F'] failed with exit code 1:
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
Package: qemu-kvm 0.11.0~rc2-0ubuntu2
PccardctlIdent:
PccardctlStatus:
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-10-generic
root=UUID=37b01f5a-a578-49d6-a812-f166b103e68a ro quiet splash
ProcEnviron:
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.31-generic
SourcePackage: qemu-kvm
Uname: Linux 2.6.31-10-generic x86_64
dmi.bios.date: 07/15/2009
dmi.bios.vendor: Intel Corp.
dmi.bios.version: DPP3510J.86A.0572.2009.0715.2346
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: DG33TL
dmi.board.vendor: Intel Corporation
dmi.board.version: AAD89517-802
dmi.chassis.type: 3
dmi.modalias:
dmi:bvnIntelCorp.:bvrDPP3510J.86A.0572.2009.0715.2346:bd07/15/2009:svn:pn:pvr:rvnIntelCorporation:rnDG33TL:rvrAAD89517-802:cvn:ct3:cvr:
- [Qemu-devel] Re: [Bug 427612] Re: kvm sends caps lock key up event twice, (continued)
- [Qemu-devel] [Bug 427612] Re: kvm sends caps lock key up event twice, Benjamin Drung, 2010/11/19
- [Qemu-devel] [Bug 427612] Re: kvm sends caps lock key up event twice, Serge Hallyn, 2010/11/19
- [Qemu-devel] [Bug 427612] Re: kvm sends caps lock key up event twice, Benjamin Drung, 2010/11/22
- [Qemu-devel] [Bug 427612] Re: kvm sends caps lock key up event twice, Serge Hallyn, 2010/11/23
- [Qemu-devel] [Bug 427612] Re: kvm sends caps lock key up event twice, Launchpad Bug Tracker, 2010/11/24
- [Qemu-devel] [Bug 427612] Re: kvm sends caps lock key up event twice, Benjamin Drung, 2010/11/24
- [Qemu-devel] [Bug 427612] Re: kvm sends caps lock key up event twice, Launchpad Bug Tracker, 2010/11/24
- [Qemu-devel] [Bug 427612] Re: kvm sends caps lock key up event twice,
Benjamin Drung <=
- [Qemu-devel] [Bug 427612] Re: kvm sends caps lock key up event twice, Serge Hallyn, 2010/11/24
- [Qemu-devel] [Bug 427612] Re: kvm sends caps lock key up event twice, Launchpad Bug Tracker, 2010/11/25
- [Qemu-devel] [Bug 427612] Re: kvm sends caps lock key up event twice, Benjamin Drung, 2010/11/25