Feature request #8995

[composer] Size of scale bar bloated (problem for Atlas, LizMap, QWC)

Added by Paolo Cavallini about 9 years ago. Updated over 7 years ago.

Category:Map Composer/Printing
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:17652


If a scale is correctly defined, then the scale of the map is changed (as it happens e.g. for Atlas printing at varying scales, or in web printing), the number of segment of the bar is kept constant, resulting in a scale bar that can be either too big, exceeding the size of the page, or too small.

Associated revisions

Revision 45bdae46
Added by Sandro Mani over 7 years ago

[FEATURE] Add scalebar sizing mode to fit a desired scalebar width (fix #8995)


#1 Updated by Werner Macho about 9 years ago

I can see what you mean .. And I can imagine where the problem is ..
But AFAIK QGIS is working fine with Scalebars..
If you change the Scale - the scalebar changes its size to stick to the scale you have set in the map and the properties of the scalebar itself..
(the item properties of the scale bar include the settings for the number of segments left and right.. and therefore must stay constant)

In conclusion I would not see it as a bug but more as a feature enhancement that the scalebar has to be treated in a special way if the scale of the map changes automatically within using for e.g. Atlas..

I hope that is what you meant..

#2 Updated by Paolo Cavallini about 9 years ago

Yes: I think one should be able to specify the size of the scale bar on the page, and the number of segments should be recalculated accordingly.
This could be an enhancement; having the scale bar extending outside the page, however, may be seen as a bug.
So, classification uncertain. Thanks for comments.

#3 Updated by Nyall Dawson almost 9 years ago

  • Category changed from 33 to Map Composer/Printing
  • Subject changed from Size of scale bar bloated (problem for Atlas, LizMap, QWC) to [composer] Size of scale bar bloated (problem for Atlas, LizMap, QWC)
  • Tracker changed from Bug report to Feature request

#4 Updated by Sandro Mani over 7 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF