Bug 376244

Summary: [locales] Bug with manual right-click entries on widget for numeric ( comma and dot issue in sliders )
Product: [Applications] krita Reporter: David REVOY <info>
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: laurent.valentin
Priority: NOR    
Version First Reported In: 3.1 Beta   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=384100
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: [gif anim of the bug]

Description David REVOY 2017-02-09 15:52:11 UTC
Created attachment 103922 [details]
[gif anim of the bug]

Hi,
Krita follows on my system the value of my locales[1], this is nice.
   eg. 0,42 for fr_FR.UTF-8 instead of 0.42 for fr_FR.UTF-8 
   Note the difference, comma instead of dot :-)

The problem/bug is that I can't edit the widget using a decimal written with comma. Krita displays them this way, but I can't edit them this way ( right click on a widget to edit value manually ). Only entering a number with a dot will work. 

I attach to this bug report a quick gif animation to illustrate the bug in action.

[1] ref for my locales:
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=fr_FR.UTF-8
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_ALL=
Comment 1 David REVOY 2017-02-09 15:53:58 UTC
(errata: copy/paste error in the previous example)
   eg. 0,42 for fr_FR.UTF-8 instead of 0.42 for **en_US.UTF-8**
Comment 2 Paragon 2017-03-31 07:53:11 UTC
The fix has made it's way into master.

Commit: 61e58d5dea9f5641dbb30275eb7798157a18eb9d
Comment 3 David REVOY 2017-03-31 09:37:11 UTC
Thanks!