Bug report #21379

Report with predefined scale changes the height of the map

Added by Romain Blanc over 5 years ago. Updated over 5 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Map Composer/Printing
Affected QGIS version:3.4.5 Regression?:No
Operating System:Windows 10 x64 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29196

Description

Create a report and a group field, add a body, add a map. Take a line or polygon layer and iterate over it. Select "Controlled by report" in the map properties and select "Predefined scale". Export the report.

Results: each entity takes 100% of the width and QGIS adjusts the height of the map to the entity. In older versions, in the atlas, the size of the map was not changing.

When the height is changing, some of the maps are cut because they are bigger as the page size.

Tested on 3.4.4, 3.4.5 and 3.6 on W10, all x64.

expected.PNG - Expected result (14.7 KB) Romain Blanc, 2019-02-25 05:24 PM

height_change.PNG - Height change result (18.6 KB) Romain Blanc, 2019-02-25 05:24 PM

History

#1 Updated by Romain Blanc over 5 years ago

QGIS changes the height of the map, in some cases the map becomes bigger as the page:

The size of the map must not change, only the scale must change:

Also available in: Atom PDF