NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc/40582: Mode_switch key press takes 2 seconds to get processed



>Number:         40582
>Category:       xsrc
>Synopsis:       Mode_switch key press takes 2 seconds to get processed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 08 19:10:00 +0000 2009
>Originator:     Michael Stapelberg
>Release:        5.99.7 (current)
>Organization:
>Environment:
NetBSD ms 5.99.7 NetBSD 5.99.7 (GENERIC) #6: Sun Feb  8 16:18:37 CET 2009  
root@ms:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
I've remapped Caps-lock to be Mode_switch using this .Xmodmap:

keycode 66 = Mode_switch
clear Lock

Furthermore, I'm generating umlauts using this key, .Xmodmap looks like this:
keycode 30 = u U udiaeresis Udiaeresis
keycode 32 = o O odiaeresis Odiaeresis
keycode 38 = a A adiaeresis Adiaeresis
etc?

The problem is: Whenever I press Mode_switch, I have to wait 2 seconds until 
the key press gets processed (I don't know exactly where it hangs, but xev 
shows the event about two seconds later and the character gets inserted then 
into urxvt/firefox).

Probably this has something to do with the xterm/inputmethod-thing of which one 
can read on the mailing list.

I'm using the following settings in .xsession before starting my window manager 
(wmii-3.6 from pkgsrc):
export LC_CTYPE=de_DE.UTF-8
export LC_COLLATE=de_DE.UTF-8
export LC_TIME=de_DE.UTF-8
export LC_NUMERIC=de_DE.UTF-8
export LC_MONETARY=de_DE.UTF-8
export LC_MESSAGES=C
export LC_PAPER=de_DE.UTF-8
export LC_NAME=de_DE.UTF-8
export LC_ADDRESS=de_DE.UTF-8
export LC_TELEPHONE=de_DE.UTF-8
export LC_MEASUREMENT=de_DE.UTF-8
export LC_IDENTIFICATION=de_DE.UTF-8

I'm not sure ? Perl complains aswell when starting it, but locale -a says that 
de_DE.UTF-8 is available.
>How-To-Repeat:
Open a terminal/firefox/whatever.

Press AltGr (=Mode_switch) + a after activating an Xmodmap like the above.
>Fix:



Home | Main Index | Thread Index | Old Index