Decimal separator and numpad

Issue #401 closed
Former user created an issue

Originally reported on Google Code with ID 401

What steps will reproduce the problem?
1.Type a number with a decimal separator in the numerical pad in a spanish keyboard.
2.
3.

What is the expected output? What do you see instead?
In many programs, the software automatically inserts the local decimal separator when
pressing the point key of the numpad.
Speedcrunch always inserts a point.
I'd like to see the local separator inserted, or the separator that has been selected
via the menu.

What version of the product are you using? On what operating system?
Speedcrunch 0.10.1 in Ubuntu 12.04 final beta.

Please provide any additional information below.
Of course there is a workaround: to select the point as the decimal separator via the
menu, but in this case the resulting output shows points, which is inconvenient if
the output is to be copied and pasted somewhere.

Reported by jalonsomartinez on 2012-04-18 09:15:41

Comments (5)

  1. Former user Account Deleted
    There was a similar issue with kcalc (https://bugs.kde.org/show_bug.cgi?id=314586),
    which is now fixed. Maybe the solution there can be used for speedcrunch as well.
    

    Reported by gekylafas on 2013-07-20 12:47:04

  2. Felix Krull

    Numpad decimal separator key ('.'/',') always inserts default radix character.

    On certain Linux keyboard layouts (e.g. Spanish and French), the numpad key inserts a period ('.') rather than a comma (',') which is the default decimal separator for those locales. Fixes issue #401.

    See also the kcalc bug (https://bugs.kde.org/show_bug.cgi?id=314586) which the solution was adapted from.

    → <<cset cc11cbdcd256>>

  3. Helder Correia repo owner

    Numpad decimal separator key ('.'/',') always inserts default radix character.

    On certain Linux keyboard layouts (e.g. Spanish and French), the numpad key inserts a period ('.') rather than a comma (',') which is the default decimal separator for those locales. Fixes issue #401.

    See also the kcalc bug (https://bugs.kde.org/show_bug.cgi?id=314586) which the solution was adapted from.

    → <<cset cc11cbdcd256>>

  4. Log in to comment