[kmymoney] [Bug 423509] New: kmymoney : decimal separator not supported anymore

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Jun 25 17:20:41 BST 2020


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

            Bug ID: 423509
           Summary: kmymoney : decimal separator not supported anymore
           Product: kmymoney
           Version: 5.1.0
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: tnemeth at free.fr
  Target Milestone: ---

SUMMARY

    When I try to input transaction amounts using the keypad, the decimal
    separator is not recognized and the decimal part is just appended
    without separation. Eg: "5,44" -> "544,00".

    In the KDE System Settings application, in the Advanced tab for the
    Keyboard configuration, the "Numeric keypad Delete behavior" is set
    to "4 level key with abstract decimal separator". My locale is French
    so the decimal separator is the coma "," instead of the dot.


STEPS TO REPRODUCE
1. Configure the locale as French
2. Configure the keyboard keypad Delete key to produce an abstract decimal
separator
3. Open Kmymoney and insert an amount with a decimal part in a transaction.

OBSERVED RESULT

    The decimal separator is not detected. As if the key was not typed or
    if the scancode was not recognized.


EXPECTED RESULT

    A decimal separator should have been inserted between the typed numbers.


SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: 5.17.5 / Linux kernel : 5.6.0-2
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.12.5

ADDITIONAL INFORMATION

    When the same operation is done in, say, calc, or speedcrunch the decimal
    separator is correctly handled and a coma is inserted as decimal separator.
    When used where a decimal separator is not needed (eg: konsole, kate), a
    dot is inserted, as expected.

    Here are the X events from xev :

KeyRelease event, serial 40, synthetic NO, window 0x8c00001,
    root 0x771, subw 0x0, time 38368496, (109,68), root:(3018,146),
    state 0x10, keycode 91 (keysym 0xffae, KP_Decimal), same_screen YES,
    XKeysymToKeycode returns keycode: 129
    XLookupString gives 1 bytes: (2e) "."
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8c00001,
    root 0x771, subw 0x0, time 38368571, (109,68), root:(3018,146),
    state 0x10, keycode 91 (keysym 0xffae, KP_Decimal), same_screen YES,
    XKeysymToKeycode returns keycode: 129
    XLookupString gives 1 bytes: (2e) "."
    XmbLookupString gives 1 bytes: (2e) "."
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8c00001,
    root 0x771, subw 0x0, time 38368647, (109,68), root:(3018,146),
    state 0x10, keycode 91 (keysym 0xffae, KP_Decimal), same_screen YES,
    XKeysymToKeycode returns keycode: 129
    XLookupString gives 1 bytes: (2e) "."
    XFilterEvent returns: False

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


More information about the KMyMoney-devel mailing list