Bug report #15433

Measure tool returns weird total value

Added by Harrissou Santanna about 8 years ago. Updated about 8 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:Nyall Dawson
Category:Map Tools
Affected QGIS version:2.14.5 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:23359

Description

Summing up the length of the different segments doesn't equal the total shown in the dialog. This leads to wrong calculations and user is unable to know which value is correct.
This occurs when you change units during drawing: some (first) measures are silently wiped out, while the total still takes them into account.
see the screenshot.

Ltr and master

measure.PNG (10.1 KB) Harrissou Santanna, 2016-08-14 08:50 PM

Associated revisions

Revision 03bff507
Added by Nyall Dawson about 8 years ago

Fix measure dialog shows wrong results when changing units

If the measurement was not finished (ie right click occurred)
then the last length would be missing from the table

Fix #15433

Revision adb6c0a4
Added by Nyall Dawson about 8 years ago

Fix measure dialog shows wrong results when changing units

If the measurement was not finished (ie right click occurred)
then the last length would be missing from the table

Fix #15433

(cherry-picked from 03bff507d9814ec1a3d9fdfdbe5cfbc5b6274689)

Revision f327bf55
Added by Nyall Dawson about 8 years ago

Fix measure dialog shows wrong results when changing units

If the measurement was not finished (ie right click occurred)
then the last length would be missing from the table

Fix #15433

(cherry-picked from 03bff507d9814ec1a3d9fdfdbe5cfbc5b6274689)

Revision d98d24bf
Added by Nyall Dawson about 8 years ago

Fix measure dialog shows wrong results when changing units

If the measurement was not finished (ie right click occurred)
then the last length would be missing from the table

Fix #15433

(cherry-picked from 03bff507d9814ec1a3d9fdfdbe5cfbc5b6274689)

History

#1 Updated by Nyall Dawson about 8 years ago

  • Assignee set to Nyall Dawson

#2 Updated by Nyall Dawson about 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF