Skip to content

Undo/redo in Styling panel does not refresh canvas with labelling change #60250

Description

@AlisterH

What is the bug or the crash?

After I edit a labelling expression in the Layer Styling panel, using undo and redo will undo and redo that change, but the map canvas will not refresh.

The same if I check or uncheck "Draw background", or "Draw text buffer". I guess all labelling changes are not refreshed with undo or redo...

Steps to reproduce the issue

see description above

Versions

QGIS version
3.40.2-Bratislava
QGIS code revision
14826ca

Libraries
Qt version
5.15.13
Python version
3.12.8
GDAL/OGR version
3.9.3
PROJ version
9.5.0
EPSG Registry database version
v11.016 (2024-08-31)
GEOS version
3.13.0-CAPI-1.19.0
SQLite version
3.46.1
PDAL version
2.8.1
PostgreSQL client version
16.2
SpatiaLite version
5.1.0
QWT version
6.3.0
QScintilla2 version
2.14.1
OS version
Windows 11 Version 2009

Active Python plugins
civilplan
1.0
Equal_area_slope_QGIS_Plugin
0.1
firstaid
3.2.0
FlowEstimator
0.21
joinmultiplelines
Version 0.4.1
LayerBoard
1.0.1
LockCanvasZoom
1.0
MemoryLayerSaver
5.0.2
nominatim
1.4.5
pathfinder
version 0.5
plugin_reloader
0.17
precisioncursor4qgis-main
1.1.D
QCopycanvas
0.7
quick_map_services
0.19.37
QWater
3.3.2
searchlayers
3.1.1
Serval
3.32.0
shapetools
3.5.1
valuetool
3.0.19
workbench
0.0.4
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.6
processing
2.12.99
basemaps
1.3
profiletool
4.3.0
data_sources_panel
0.2.1
changeDataSource
3.1

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEither a bug report, or a bug fix. Let's hope for the latter!GUI/UXRelated to QGIS application GUI or User ExperienceLabelingRelated to QGIS map labelingStyles

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions