Skip to content

Diagram properties related to variables and expressions are not saved #62936

Description

@ivanbarsukov

What is the bug or the crash?

Any configured diagram property is reset after clicking OK or saving the style in QML

Steps to reproduce the issue

  1. Create a vector layer with a boolean field
  2. Open the layer properties on the Diagrams tab
  3. Select a diagram type
  4. Go to the Rendering tab
  5. Bind the “Show diagram” property to the layer’s field
  6. Click OK
  7. Reopen the layer properties on the same tab
  8. The setting will be reset
Screencast_20250822_101908.webm

Versions

QGIS version3.44.1-Solothurn
QGIS code branchRelease 3.44
 
Libraries
Qt version5.15.17
Python version3.13.5
GDAL version3.11.3 — Eganville
PROJ version9.6.0
EPSG Registry database versionv12.004 (2025-03-02)
GEOS version3.13.1-CAPI-1.19.2
SQLite version3.50.3
PDAL version2.9.0
PostgreSQL client version17.5
SpatiaLite version5.1.0
QWT version6.3.0
QScintilla2 version2.14.1
OS versionArch Linux
 
Active Python plugins
digitizr1.2.0
molusce5.0.0
nextgis_toolbox1.0.2
wurman_dots2.0.0
geometry_paster1.2.0
clickfu0.8.0
firstaid3.2.1
plugin_reloader0.18
qgis_layers_data_update0.3.0
qgis_points2one0.4.0
map_tile_loader0.2.0
reconstruct_line0.8.0
HCMGIS25.1.9
zoom_level0.3.3
devtools1.2.0
identifyplus4.2.0
OpenTopography-DEM-Downloader3.0
shortcut_manager1.2.0
copy_coords0.4.0
pluginbuilder33.2.1
connect_points0.5.0
qgis_versioning1.0
osmpoly_export0.7.0
quicksaveqml0.2.0
multiqml0.7.0
osminfo1.2.0
simplereports0.4.0
processing_saga_nextgen1.1.0
ngq_rosreestr_tools3.0.1
qgis_easy_query1.1.0
qgis_ogrstyle0.3.0
quick_map_services0.21.2
qtiles1.8.0
joinlines0.6.0
AppendFeaturesToLayer2.1.0
dumploadfield0.4.0
nextgis_connect3.4.0
db_manager0.1.20
processing2.12.99

Supported QGIS version

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

New profile

Additional context

No response

Metadata

Metadata

Assignees

Labels

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

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