[Kmymoney-devel] [kmymoney4] [Bug 326683] 10-keypad's decimal separator not localized anymore

Mathieu MD mathieu.md at gmail.com
Wed Jan 1 18:37:32 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=326683

--- Comment #4 from Mathieu MD <mathieu.md at gmail.com> ---
Here is the output:

KeyPress event, serial 40, synthetic NO, window 0x5e00001,
    root 0x2d6, subw 0x0, time 177342530, (-352,-129), root:(748,706),
    state 0x10, keycode 91 (keysym 0x2e, period), same_screen YES,
    XKeysymToKeycode returns keycode: 59
    XLookupString gives 1 bytes: (2e) "."
    XmbLookupString gives 1 bytes: (2e) "."
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x5e00001,
    root 0x2d6, subw 0x0, time 177342626, (-352,-129), root:(748,706),
    state 0x10, keycode 91 (keysym 0x2e, period), same_screen YES,
    XKeysymToKeycode returns keycode: 59
    XLookupString gives 1 bytes: (2e) "."
    XFilterEvent returns: False

I see yours is showing a "," while mine a ".". So I went into "System
Configuration > Input Devices > Keyboard", then in tab "Advanced" where I can
enable the setting "Touche à quatre niveaux avec virgule" (probably something
like "Four levels key with comma") under "Comportement de la touche de Suppr.
du pavé numérique" ("Numerical keypad Del key behaviour"), which then fix it:

KeyPress event, serial 40, synthetic NO, window 0x6400001,
    root 0x2d6, subw 0x0, time 177671107, (-291,-54), root:(809,781),
    state 0x10, keycode 91 (keysym 0x2c, comma), same_screen YES,
    XKeysymToKeycode returns keycode: 58
    XLookupString gives 1 bytes: (2c) ","
    XmbLookupString gives 1 bytes: (2c) ","
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x6400001,
    root 0x2d6, subw 0x0, time 177671163, (-291,-54), root:(809,781),
    state 0x10, keycode 91 (keysym 0x2c, comma), same_screen YES,
    XKeysymToKeycode returns keycode: 58
    XLookupString gives 1 bytes: (2c) ","
    XFilterEvent returns: False

However, doing this make the decimal keyboard's Del key to _always_ produce a
comma, while, before, it was producing a dot in all cases, except into numeric
context (KMyMoney, LibreOffice Calc, etc.). This was the perfect behaviour.
Hasn't something regressed?

Now you helped me to find this bypass, and it will make my days easier anyway:
thanks a lot. :)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list