-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
BugEither a bug report, or a bug fix. Let's hope for the latter!Either a bug report, or a bug fix. Let's hope for the latter!Print LayoutsRelated to QGIS Print Layouts, Atlas or Reporting frameworksRelated to QGIS Print Layouts, Atlas or Reporting frameworks
Description
What is the bug or the crash?
When rotating a map in print layout the map extents change even though they are constant values.
Steps to reproduce the issue
-
Create a new project
-
Add a Shapefile Layer, name it
clipping_path
-
Set the Geometry type to Polygon and click OK
-
Edit the layer
-
Add a polygon feature
-
Draw a rectangle
-
Save the layer edits
-
Create a new Print Layout
-
Add a Map to the Print Layout
-
Scroll down to the Extents section and add the following expressions for X min and Y min:
x_min(layer_property('clipping_path', 'extent'))
y_min(layer_property('clipping_path', 'extent'))
This will obtain the extent values from the shape layer and use them to set the shape in the bottom left corner of the map.

- Change the rotation to 90 degrees
Expected result
- The rectangle shape remains perfectly aligned in corner of the map
Actual result
- The rectangle shape is no longer aligned in the corner of the map

Versions
QGIS version | 3.40.1-Bratislava |
QGIS code revision | 989853a7a31 |
Libraries | |
Qt version | 5.15.2 |
Python version | 3.9.5 |
GDAL/OGR version | 3.3.2 |
PROJ version | 8.1.1 |
EPSG Registry database version | v10.028 (2021-07-07) |
GEOS version | 3.9.1-CAPI-1.14.2 |
SQLite version | 3.35.2 |
PDAL version | 2.3.0 |
PostgreSQL client version | unknown |
SpatiaLite version | 5.0.1 |
QWT version | 6.1.6 |
QScintilla2 version | 2.11.5 |
OS version | macOS 14.7 |
Active Python plugins | |
quick_map_services | 0.19.37 |
DEMto3D | 3.6 |
HCMGIS | 25.1.9 |
Qgis2threejs | 2.8 |
pointsamplingtool | 0.5.4 |
shapetools | 3.5.1 |
processing | 2.12.99 |
grassprovider | 2.12.99 |
db_manager | 0.1.20 |
MetaSearch | 0.3.6 |
Supported QGIS version
- I'm running a supported QGIS version according to the roadmap.
New profile
- I tried with a new QGIS profile
Additional context
No response
Metadata
Metadata
Assignees
Labels
BugEither a bug report, or a bug fix. Let's hope for the latter!Either a bug report, or a bug fix. Let's hope for the latter!Print LayoutsRelated to QGIS Print Layouts, Atlas or Reporting frameworksRelated to QGIS Print Layouts, Atlas or Reporting frameworks