Bug report #13572

Composer scale bar : the segment width is not coherent with the width set when changing units

Added by Harrissou Santanna almost 9 years ago. Updated over 8 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Map Composer/Printing
Affected QGIS version: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 #:21614

Description

Steps to reproduce:
Add a scale bar to a composer map (in a project where meters is the unit used)
And set units to map units. You'll surely have a bar with steps of 10 units (which is the value set in Segments section > "Fixed width".
Change the units (nautical miles, feet), the segment size will change but the value set in "Fixed width" doesn't change.

The other side is that if you have changed the width and then change units, the value remains in the box but it's not what is dispaleyd in the map.

I think the value set for the segment width should be applied when changing the units (this seems to work well with the "Fit segment width" option but not with the "Fixed width" one).

master 15af5a1

Associated revisions

Revision dc6c12b6
Added by Nyall Dawson over 8 years ago

[composer] Fix scalebar widgets not updated when changing units (fix #13572)

Revision 6320dcfd
Added by Nyall Dawson over 8 years ago

[composer] Fix scalebar widgets not updated when changing units (fix #13572)

(cherry-picked from dc6c12b6c333fe31fd249c96fc64f87261da2716)

History

#1 Updated by Nyall Dawson over 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF