Bug report #20829

Snapping options in meters rounded to integers

Added by Hugo Mercier over 5 years ago. Updated about 5 years ago.

Status:Closed
Priority:Normal
Assignee:Loïc BARTOLETTI
Category:GUI
Affected QGIS version:3.4.2 Regression?:Yes
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:28648

Description

Snapping options expressed in map units (meters) in basic mode (not advanced) are rounded to integers, which may be a problem if you need to snap a something under a meter (say 10 cm), that gets rounded to 0.

In advanced mode, there is no rounding and it works fine.

My environment has a French local, but I also tested by launching QGIS with LANG=C and observe the same problem.

Associated revisions

Revision 50c9b239
Added by Loïc BARTOLETTI about 5 years ago

[BUGFIX] fixes #20829 Snapping options in meters rounded to integers

Revision d3eaa9b8
Added by Loïc BARTOLETTI about 5 years ago

[BUGFIX] fixes #20829 Snapping options in meters rounded to integers

(cherry picked from commit 50c9b2394e5b62a2421b0241799577f011a6de32)

History

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

  • Operating System deleted (linux)
  • Assignee set to Loïc BARTOLETTI
  • Status changed from Open to In Progress

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

  • % Done changed from 0 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF