Bug report #11380

When zooming, reference point checked doesn't anchor the scale bar frame

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

Status:Closed
Priority:High
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 #:19668

Description

Hi,
Launch QGIS master
Create a map composer
Add a map
Add a scale bar you'll align on right with the map
In scale bar properties, Set the Reference point at Right Up Checkbox
In map properties, change the scale value
The scale bar will be resized but there'll no more be alignment. whatever reference point you choose, when zooming in/out, the scale bar is resized considering the left side as its origin.

In QGIS 2.4, it is inversed : the right side is considered as the anchor point whatever reference point you choose.

This is a bit annoying when you are using atlas with no fixed scale and need to have items aligned. The reference point checked might be the one that anchors the resizing of the scale bar.

I don't know if this is an inplemented feature that is bugging but I think this use-case is the one any user is expecting to have there so I choose to report it as bug.

Associated revisions

Revision 5b9210b9
Added by Nyall Dawson about 10 years ago

[composer] Respect reference point when resizing scalebar and legend

Previously, the reference point (and data defined position/size) were
ignored when scalebars or legends resized themselves.

Fix #11321, #11380

History

#1 Updated by Nyall Dawson about 10 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF