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

Bug#577392: x11-xserver: dead_stroke has no visible effect



Package: x11-xserver-utils
Version: 7.5+1
Severity: normal
File: x11-xserver

this is related to maemo bug 
https://bugs.maemo.org/show_bug.cgi?id=2259

I use dead_stroke in a keymap table file and I don't manage to obtain
any visible effect.

hitting a key associated to dead_stroke followed by l should produce ł
but gives l.  compose slash l works correctly.  

this wasn't ever a problem on my desktop linux box because I don't
use dead keys but rely on the compose.  maemo, derived from debian,
has a different approach for compose (displays an on-screen menu of
combinable keys) so to people who only want to use the keyboard, symbols
like øđǥħłƶ¢ƀ₥ are unavailable.

to reproduce the bug, I used this keymap table file, »
clear Lock
keycode 66 = Multi_key
keycode 48 = dead_stroke
«.  xev gives the following sequence of events:

compose slash l: »
KeyPress event, serial 30, synthetic NO, window 0x3200001,
    root 0x101, subw 0x0, time 153375248, (172,-15), root:(177,38),
    state 0x0, keycode 66 (keysym 0xff20, Multi_key), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: True

KeyRelease event, serial 33, synthetic NO, window 0x3200001,
    root 0x101, subw 0x0, time 153375392, (172,-15), root:(177,38),
    state 0x0, keycode 66 (keysym 0xff20, Multi_key), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x3200001,
    root 0x101, subw 0x0, time 153375528, (172,-15), root:(177,38),
    state 0x0, keycode 61 (keysym 0x2f, slash), same_screen YES,
    XLookupString gives 1 bytes: (2f) "/"
    XmbLookupString gives 1 bytes: (2f) "/"
    XFilterEvent returns: True

KeyRelease event, serial 33, synthetic NO, window 0x3200001,
    root 0x101, subw 0x0, time 153375656, (172,-15), root:(177,38),
    state 0x0, keycode 61 (keysym 0x2f, slash), same_screen YES,
    XLookupString gives 1 bytes: (2f) "/"
    XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x3200001,
    root 0x101, subw 0x0, time 153375840, (172,-15), root:(177,38),
    state 0x0, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: True

KeyPress event, serial 33, synthetic NO, window 0x3200001,
    root 0x101, subw 0x0, time 153375840, (172,-15), root:(177,38),
    state 0x0, keycode 0 (keysym 0x1000142, U0142), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 2 bytes: (c5 82) "ł"
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x3200001,
    root 0x101, subw 0x0, time 153375936, (172,-15), root:(177,38),
    state 0x0, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False
«

dead_stroke l:»
KeyPress event, serial 30, synthetic NO, window 0x3200001,
    root 0x101, subw 0x0, time 153300976, (174,-15), root:(179,38),
    state 0x0, keycode 48 (keysym 0xfe63, dead_stroke), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: True

KeyRelease event, serial 33, synthetic NO, window 0x3200001,
    root 0x101, subw 0x0, time 153301096, (174,-15), root:(179,38),
    state 0x0, keycode 48 (keysym 0xfe63, dead_stroke), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x3200001,
    root 0x101, subw 0x0, time 153301704, (174,-15), root:(179,38),
    state 0x0, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: True

KeyPress event, serial 33, synthetic NO, window 0x3200001,
    root 0x101, subw 0x0, time 153301704, (174,-15), root:(179,38),
    state 0x0, keycode 0 (keysym 0x1000142, U0142), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 2 bytes: (c5 82) "ł"
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x3200001,
    root 0x101, subw 0x0, time 153301800, (174,-15), root:(179,38),
    state 0x0, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False
«

I don't see any significative difference in the two ł events.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32-trunk-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages x11-xserver-utils depends on:
ii  cpp                           4:4.4.3-1  The GNU C preprocessor (cpp)
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  libice6                       2:1.0.6-1  X11 Inter-Client Exchange library
ii  libx11-6                      2:1.3.3-2  X11 client-side library
ii  libxau6                       1:1.0.5-2  X11 authorisation library
ii  libxaw7                       2:1.0.7-1  X11 Athena Widget library
ii  libxext6                      2:1.1.1-3  X11 miscellaneous extension librar
ii  libxi6                        2:1.3-4    X11 Input extension library
ii  libxmu6                       2:1.0.5-1  X11 miscellaneous utility library
ii  libxmuu1                      2:1.0.5-1  X11 miscellaneous micro-utility li
ii  libxrandr2                    2:1.3.0-3  X11 RandR extension library
ii  libxrender1                   1:0.9.5-2  X Rendering Extension client libra
ii  libxt6                        1:1.0.7-1  X11 toolkit intrinsics library
ii  libxxf86vm1                   1:1.1.0-2  X11 XFree86 video mode extension l
ii  x11-common                    1:7.5+5    X Window System (X.Org) infrastruc

x11-xserver-utils recommends no packages.

Versions of packages x11-xserver-utils suggests:
pn  cairo-5c                      <none>     (no description available)
pn  nickle                        <none>     (no description available)
ii  xorg-docs-core                1:1.5-1    Core documentation for the X.org X

-- no debconf information



Reply to: