--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: xkb-data: CapsLock-Alt_L combination doesn't work when ctrl(swapcaps) is set
- From: Takeshi Hakamata <tkh@cs.unm.edu>
- Date: Mon, 01 Oct 2007 04:07:53 -0600
- Message-id: <20071001100753.18214.14039.reportbug@athlon.localnet.net>
- Reply-to: Takeshi Hakamata <tkh@cs.unm.edu>
Package: xkb-data
Version: 1.0~cvs.20070916-1
Severity: important
If the xkb option ctrl(swapcaps) is set to make CapsLock an additional
Ctrl, CapsLock-Alt_L combination does not generate KeyPress event for
Alt_L when pressing Alt_L key. Instead it is generated when *releasing*
the Alt_L key. There is no problem when pressing CapsLock-Alt_R or
Ctrl_L-Alt_L.
Here is my xkb settings:
athlon:~% setxkbmap -v
Trying to build keymap using the following components:
keycodes: xfree86+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us+ctrl(swapcaps)
geometry: pc(pc104)
To reproduce the problem, first do 'setxkbmap -v -option ctrl(swapcaps)'.
Then press CapsLock, and press Alt_L. No event is generated when
pressing Alt_L. If you release Alt_L, then both KeyPress and KeyRelease
events for Alt_L are generated at the *same* time. See the following
xev output:
KeyPress event, serial 27, synthetic NO, window 0x3c00001,
root 0x1a6, subw 0x0, time 198571408, (367,-23), root:(371,0),
state 0x10, keycode 66 (keysym 0xffe3, Control_L), same_screen YES,
XKeysymToKeycode returns keycode: 37
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 30, synthetic NO, window 0x3c00001,
root 0x1a6, subw 0x0, time 198578840, (379,-23), root:(383,0),
state 0x14, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 30, synthetic NO, window 0x3c00001,
root 0x1a6, subw 0x0, time 198578840, (379,-23), root:(383,0),
state 0x1c, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Note that the timestamps for KeyPress and KeyRelease events are the
same.
Takeshi
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22.9 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 2:1.4.1~git20071117-1
Andrea Vettorello wrote:
> On Nov 18, 2007 6:29 PM, Brice Goglin <Brice.Goglin@ens-lyon.org> wrote:
>> Could you guys test with xserver-xorg-core 2:1.4.1~git20071117-1 which
>> just got uploaded to unstable? It contains multiple input-related fixes.
>
> Fixed mine (443471) but reverted back to xserver-xorg-core 2:1.4-3 as
> with 2:1.4.1~git20071117-1 resolution is broken here (HorizSync and
> VertRefresh values are ignored from xorg.conf, i'll double check and
> eventually file a new one ^_^).
Already reported as #451876. Might be fixed soon.
> Strangely enough, it's now working with 2:1.4-3 too. Should i close it
> myself (443471) or should i leave it to the maintainers?
I am closing it. Thanks.
It will close the 3 other bugs automatically. If any of the other
reporters still has the bug, please let me know, I'll unmerge your
bug and reopen it (they could be slightly different).
Brice
--- End Message ---