Bug report #10640
Print Composer: image-rotation issue with north-arrows
|Affected QGIS version:||2.2.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||19043|
This is a side effect of the recent image scaling modes.
Previously, when one synced an image with the main map for north-arrows, the north arrow rotated and stayed at constant size. This is the behavior we want.
Now when rotating the map the arrow gets smaller with the rotation because it has to fit in the bounding-box because of the "zoom" scale mode. All the other scaling modes do not rotate.
I think we need a special "no scale" mode for north arrows where the image rotates around the center but does not scale at all - meaning that the bounding-box can grow and shrink, but the image stays at constant size.
[composer] Allow rotation for pictures set to "zoom & resize" mode
Previously rotation was only allowed for pictures set to "Zoom" mode,
which causes pictures to change size when the rotation changes (frame
size is constant). This change allows pictures set to "Zoom and resize"
mode to have rotation set. Altering the rotation when in this mode
keeps the picture size constant and changes the frame size to suit.