Bug report #20817

Advanced digitizing doesn't accept mathematical operations when QGIS uses language other than EN

Added by Antoine Lafranchis over 5 years ago. Updated about 5 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Digitising
Affected QGIS version:3.5(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:28636

Description

In english locale (en_US), advanced digitizing values (d, a, x, y) accept mathematical operations. It's possible, for example, to type "132.15000/2" in the distance field to snap on the midpoint of a line.
In french locale (fr_FR), entering mathematical operation doesn't work directly. The format of the numbers is comma (e.g. 132,15000), and mathematical operations are accepted only if I replace the comma with a dot before pressing enter.

Qgis_US.png - Advanced digitizing in en_US locale (147 KB) Antoine Lafranchis, 2018-12-15 12:29 PM

History

#1 Updated by Jesahel Benoist about 5 years ago

Somehow linked to #18963-3

#2 Updated by salvatore fiandaca about 5 years ago

I also confirm the problem for the Italian language.
win 10 64b OSGeo4W QGIS 3.4.4 e master

#3 Updated by Giovanni Manghi about 5 years ago

  • Affected QGIS version changed from 3.4.2 to 3.4.4
  • Subject changed from Advanced digitizing doesn't accept mathematical operations in french locale to Advanced digitizing doesn't accept mathematical operations when QGIS uses language other than EN

#4 Updated by Loïc BARTOLETTI about 5 years ago

  • Operating System deleted (Windows 10)
  • Affected QGIS version changed from 3.4.4 to 3.5(master)

Also available in: Atom PDF