seam allowance tool does not take decimals with locale de_DE.utf8

Issue #625 resolved
oni303 created an issue

I just stumbled into another bug: In the new seam allowance tool it is not possible to enter a width like 1.5 or as we do it in German 1,5. If I try to put "1.5" the "Width:" label turns red and the "OK" button is grayed out. With "1,5" the "DialogUndo" dialog jumps up after clicking "OK".

In all other input that I used till now I was able to enter decimals with a "," .

I try to debug it my self but in the debugger my local is en_US.utf8 for some reason. My normal locale is: LANG=en_US.utf8 LC_CTYPE="en_US.utf8" LC_NUMERIC=de_DE.utf8 LC_TIME=de_DE.utf8 LC_COLLATE="en_US.utf8" LC_MONETARY=de_DE.utf8 LC_MESSAGES="en_US.utf8" LC_PAPER=de_DE.utf8 LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT=de_DE.utf8 LC_IDENTIFICATION="en_US.utf8" LC_ALL=

Yes it is mixed, no one needs error messages in German ...

Comments (7)

  1. Roman Telezhynskyi repo owner

    With "1,5" the "DialogUndo" dialog jumps up after clicking "OK".

    Select Fix formula and show us which formula is broken.

  2. Roman Telezhynskyi repo owner

    I try to debug it my self but in the debugger my local is en_US.utf8 for some reason.

    Because LANG=en_US.utf8.

  3. oni303 reporter

    Just try the "Fix formula" dialog, it actually processes the "1,5" but when I open the "seam allowance" dialog again it says "1.5" and "Width" is red. Works the evaluation of the width formula different in any way than all the other formula evaluations?

    I will try to start the debugger with LANG=de_DE.uft8 but this should not change the handling of numbers in my opinion.

  4. oni303 reporter

    While trying to debug with LANG=de_DE.uft8 and all other locales also de_DE.utf8, I still get "." as the valid seperator (which is worng).

  5. Log in to comment