[Bug 1223] New: - Keyboard layout detection problem

wine-bugs at winehq.com wine-bugs at winehq.com
Mon Jan 13 17:00:45 CST 2003


http://bugs.winehq.com/show_bug.cgi?id=1223

           Summary: Keyboard layout detection problem
           Product: Wine
           Version: 20010112
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: wine-misc
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: bn304001 at belgacom.net


I've a problem with the keyboard layout detection.

  fixme:keyboard:X11DRV_KEYBOARD_DetectLayout Your keyboard layout was not
        found! Using closest match instead (Belgian keyboard layout) for
        scancode mapping.

I looked in dlls/x11drv/keyboard.c and found that the "Belgian French" layout was exactly what should be used.
My (105 keys) belgian keyboard has the pecularity that the "µ£`" is locate ON THE RIGHT of the RightShift key.

Here's what my keyboard layout looks like :

³  1   2   3   4  5  6  7  8  9   0   °  _  Back-
²  &|  é@  "#  '  (  §^ è  !  ç{  à}  )  -  space

Tab A  Z  E   R  T  Y  U  I  O  P "   *
           ¤                      ^[  $]
                                            Enter
Caps Q  S  D  F  G  H  J  K  L  M  %
Lock                               ù'

Sh-  >  W  X  C  V  B  N  ?  .  /  +   Sh-  £
ift  <\                   ,  ;  :  =~  ift  µ`

Ctrl win1 alt     spacebar   AltGr win1 win2  Ctrl


If I try to launch notepad, the "exponents" key is treated as the "1" key.
If I do "wine -debugmsg +key,+keyboard /win/windows/notepad.exe", I get the following messages (stripping the trace:key(board) prefix) :

X11DRV_InitKeyboard NumLockMask is 10
X11DRV_KEYBOARD_DetectLayout Attempting to match against "United States keyboard layout"
KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ff1b
KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ff1b
X11DRV_KEYBOARD_DetectLayout mismatch for keycode 10, character & (26, 31, 7c, ffffffa1)
[similar message for é " ' ( § è ! ç à ) ]
KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ff08
[similar for 0x0000ff08, 0x0000ff09, 0x0000fe20)
X11DRV_KEYBOARD_DetectLayout mismatch for keycode 34, character ^ (5e, ffffffa8, 5b, 30)
X11DRV_KEYBOARD_DetectLayout mismatch for keycode 35, character $ (24, 2a, 5d, 2d)
KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ff0d
[similar for 0x0000ff0d, 0x0000ffe3, 0x0000ffe3]
trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 48, character ù (fffffff9, 25, ffffffb4, ffffffb7)
trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 49, character ² (ffffffb2, ffffffb3, ffffffac, ffffffac)
trace:keyboard:KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ffe1
trace:keyboard:KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ffe1
<...>

You can find the whole listing at http://users.belgacom.net/key.log.bz2 if needed.
I use wine 20021219 on Linux i386, with fr_BE at euro locale.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1223>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list