View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001741 | Draft | Bug | public | 2014-09-11 19:21 | 2014-09-27 19:50 |
Reporter | mghansen256 | Assigned To | yorik | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Kubuntu | OS | Linux | OS Version | 14.04 |
Summary | 0001741: Draft move shows coordinates with "." but expects entry with "," for de_DE.UTF-8 locale | ||||
Description | When using the Draft->Move command on a part object, the coordinates are displayed as "3.14" when moving the mouse across the scene and checking out snapping points. Moving from snap point to snap point works fine. However, when I enter coordinates manually, I have to enter them with a comma "3,14", because the "." is ignored. The problem appears when LC_NUMERIC="de_DE.UTF-8" and LANG="en_US.UTF-8". When LC_NUMERIC="en_US.UTF-8", the problem does not occur. I guess the code converting the numbers to strings does is not locale-aware, while the code parsing the strings is locale-aware. | ||||
Additional Information | My locale settings: declare -x LANG="en_US.UTF-8" declare -x LANGUAGE="" declare -x LC_ADDRESS="de_DE.UTF-8" declare -x LC_IDENTIFICATION="de_DE.UTF-8" declare -x LC_MEASUREMENT="de_DE.UTF-8" declare -x LC_MONETARY="de_DE.UTF-8" declare -x LC_NAME="de_DE.UTF-8" declare -x LC_NUMERIC="de_DE.UTF-8" declare -x LC_PAPER="de_DE.UTF-8" declare -x LC_TELEPHONE="de_DE.UTF-8" declare -x LC_TIME="de_DE.UTF-8" OS: Ubuntu 14.04.1 LTS Word size: 64-bit Version: 0.15.3904 (Git) Branch: master Hash: 8fcc3e94728280781391d0bb1e1ea776a7f5ca48 Python version: 2.7.6 Qt version: 4.8.6 Coin version: 4.0.0a SoQt version: 1.6.0a | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-09-11 19:21 | mghansen256 | New Issue | |
2014-09-11 19:28 | yorik | Note Added: 0005093 | |
2014-09-11 19:28 | yorik | Assigned To | => yorik |
2014-09-11 19:28 | yorik | Status | new => assigned |
2014-09-11 19:28 | yorik | Note Edited: 0005093 | |
2014-09-27 19:50 | yorik | Changeset attached | => FreeCAD Master master 463b5d4a |
2014-09-27 19:50 | yorik | Status | assigned => closed |
2014-09-27 19:50 | yorik | Resolution | open => fixed |