Bug 376244 - [locales] Bug with manual right-click entries on widget for numeric ( comma and dot issue in sliders )
Summary: [locales] Bug with manual right-click entries on widget for numeric ( comma a...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (other bugs)
Version First Reported In: 3.1 Beta
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-09 15:52 UTC by David REVOY
Modified: 2017-08-31 18:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
[gif anim of the bug] (85.70 KB, image/gif)
2017-02-09 15:52 UTC, David REVOY
Details

Note You need to log in before you can comment on or make changes to this 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!