QGIS
QGIS copied to clipboard
Label rubberband is not displayed correctly if horizontal alignment is set when rotating label
What is the bug or the crash?
When using other than 'left' (default) horizontal alignment, the rubberband of the label is not displayed correctly when the label is being rotated as can be seen in GIF below:
The rotation is still set correctly according to set degrees.
Steps to reproduce the issue
- Create point layer with rotation (decimal) field
- Properties -> Label -> Single labels
- For placement options:
- For Coordinate X expression: @x
- For Coordinate Y expression: @y
- For Horizontal Alignment: 'center' or 'right'
- For Rotation field: rotation
- Create point with some rotation and start rotating it with the "Rotate a label" tool
Versions
QGIS version | 3.36.1-Maidenhead | QGIS code branch | Release 3.36 |
---|---|---|---|
Qt version | 5.15.13 | ||
Python version | 3.11.8 | ||
GDAL/OGR version | 3.8.4 | ||
PROJ version | 9.4.0 | ||
EPSG Registry database version | v11.004 (2024-02-24) | ||
GEOS version | 3.12.0-CAPI-1.18.0 | ||
SQLite version | 3.45.2 | ||
PDAL version | 2.7.1 | ||
PostgreSQL client version | 16.2 | ||
SpatiaLite version | 5.1.0 | ||
QWT version | 6.2.0 | ||
QScintilla2 version | 2.14.1 | ||
OS version | EndeavourOS | ||
Active Python plugins | |||
db_manager | 0.1.20 | ||
MetaSearch | 0.3.6 | ||
processing | 2.12.99 | ||
grassprovider | 2.12.99 |
Active Python plugins db_manager 0.1.20 MetaSearch 0.3.6 processing 2.12.99 grassprovider 2.12.99
Supported QGIS version
- [X] I'm running a supported QGIS version according to the roadmap.
New profile
- [X] I tried with a new QGIS profile
Additional context
No response
This issue also occurs in 3.34.3-Prizren