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

2012-09-14 Thread Paolo Bonzini
Fixed in upstream commit 4e79bcbb96d3c189e50adbdac7b1e28d834ba43e. ** Changed in: qemu Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/427612

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

2010-12-09 Thread Launchpad Bug Tracker
This bug was fixed in the package qemu-kvm - 0.12.5+noroms-0ubuntu7.1 --- qemu-kvm (0.12.5+noroms-0ubuntu7.1) maverick-proposed; urgency=low * Add caps-lock-key-up-event.patch to enable normal up/down events for Caps-Lock and Num-Lock keys by setting SDL_DISABLE_LOCK_KEYS

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

2010-12-04 Thread Jean-Baptiste Lallement
** Tags added: verification-done ** Tags removed: verification-needed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. https://bugs.launchpad.net/bugs/427612 Title: kvm sends caps lock key up event twice --

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

2010-12-03 Thread Martin Pitt
Accepted qemu-kvm into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags added: verification-needed

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

2010-12-03 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/maverick-proposed/qemu-kvm -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. https://bugs.launchpad.net/bugs/427612 Title: kvm sends caps lock key up event twice -- Ubuntu-server-bugs

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

2010-12-03 Thread Benjamin Drung
I have installed the package from maverick-proposed and can confirm that this bug is fixed by that version. ** Description changed: 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

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

2010-11-25 Thread Launchpad Bug Tracker
This bug was fixed in the package qemu-kvm - 0.13.0+noroms-0ubuntu8 --- qemu-kvm (0.13.0+noroms-0ubuntu8) natty; urgency=low * Add caps-lock-key-up-event.patch to enable normal up/down events for Caps-Lock and Num-Lock keys by setting SDL_DISABLE_LOCK_KEYS (which requires

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

2010-11-25 Thread Benjamin Drung
Attached the uploaded debdiff for maverick. ** Patch added: qemu-kvm_0.12.5+noroms-0ubuntu7.1.debdiff https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/427612/+attachment/1745373/+files/qemu-kvm_0.12.5%2Bnoroms-0ubuntu7.1.debdiff ** Changed in: qemu-kvm (Ubuntu Maverick) Status:

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

2010-11-24 Thread Launchpad Bug Tracker
** Branch linked: lp:~bdrung/qemu-kvm/caps-lock-key-up-event -- 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 Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs

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

2010-11-24 Thread Benjamin Drung
** Also affects: libsdl1.2 (Ubuntu Maverick) Importance: Undecided Status: New ** Also affects: qemu-kvm (Ubuntu Maverick) Importance: Undecided Status: New ** Changed in: libsdl1.2 (Ubuntu Maverick) Status: New = Invalid -- kvm sends caps lock key up event twice

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

2010-11-24 Thread Launchpad Bug Tracker
** Branch linked: lp:~bdrung/qemu-kvm/caps-lock-key-up-event.maverick -- 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 Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. --

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

2010-11-24 Thread Benjamin Drung
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

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

2010-11-24 Thread Serge Hallyn
** Changed in: qemu-kvm (Ubuntu) Assignee: Serge Hallyn (serge-hallyn) = (unassigned) -- 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 Ubuntu Server Team, which is subscribed to qemu-kvm in

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

2010-11-23 Thread Serge Hallyn
Thanks, Benjamin. I've pushed your fix to a ppa in https://launchpad.net/~serge-hallyn/+archive/qemu-capslock for testing. I'd like someone with a standard keyboard with capslock not remapped to give this a spin, then I'll propose the fix for merge into the natty tree (after which it can be

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

2010-11-22 Thread Benjamin Drung
Attached the patch for qemu-kvm 0.13. This patch is tested on natty with qemu-kvm 0.13.0+noroms-0ubuntu7 and the German and NEO2 keyboard layout. ** Patch added: caps-lock-key-up-event.patch

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

2010-11-19 Thread Benjamin Drung
You mean press caps lock with capslock turning on and release caps lock with capslock turning off? ** Description changed: 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

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

2010-11-19 Thread Serge Hallyn
Sorry, Benjamin, I cut-pasted the wrong bit. When capslock is mapped to control on the host, then I get: key press: sdl_process_key({type=0x2,which=0x0,state=0x1,keysym={scancode=0x42,sym=0x132,mod=0x0,unicode=0x0}}) keycode = 0x3a kbd_put_keycode(0x3a) kbd_put_keycode(0xba) key up:

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

2010-11-18 Thread Benjamin Drung
I am reopening the bug again, because I am the original bug reporter and this bug depends on the keyboard layout. ** Summary changed: - does not pass pressed caps lock to client + kvm sends caps lock key up event twice ** Changed in: qemu-kvm (Ubuntu) Status: Fix Released = New -- kvm

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

2010-11-18 Thread Benjamin Drung
libsdl1.2 does not send an key up event for the host caps lock key, but does send the key up event if the physical caps lock key is mapped to another key (like NEO2 does). qemu-kvm works around this bug by sending a key up event for every caps lock key event. The attached patch fixes the bug for

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

2010-11-18 Thread Serge Hallyn
Quoting Benjamin Drung (benjamin.dr...@gmail.com): libsdl1.2 does not send an key up event for the host caps lock key, but does send the key up event if the physical caps lock key is mapped to another key (like NEO2 does). Right, and when I have capslock mapped to control as I usually do, then

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

2010-11-18 Thread Serge Hallyn
Quoting Benjamin Drung (benjamin.dr...@gmail.com): I am reopening the bug again, because I am the original bug reporter and Haha - then of course it's appropriate :) Though the description might then not be right. this bug depends on the keyboard layout. -serge -- kvm sends caps lock key