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
Create a vector layer with a boolean field
Open the layer properties on the Diagrams tab
Select a diagram type
Go to the Rendering tab
Bind the “Show diagram” property to the layer’s field
Click OK
Reopen the layer properties on the same tab
The setting will be reset
Screencast_20250822_101908.webm
Versions
QGIS version 3.44.1-Solothurn QGIS code branch Release 3.44 Libraries Qt version 5.15.17 Python version 3.13.5 GDAL version 3.11.3 — Eganville PROJ version 9.6.0 EPSG Registry database version v12.004 (2025-03-02) GEOS version 3.13.1-CAPI-1.19.2 SQLite version 3.50.3 PDAL version 2.9.0 PostgreSQL client version 17.5 SpatiaLite version 5.1.0 QWT version 6.3.0 QScintilla2 version 2.14.1 OS version Arch Linux Active Python plugins digitizr 1.2.0 molusce 5.0.0 nextgis_toolbox 1.0.2 wurman_dots 2.0.0 geometry_paster 1.2.0 clickfu 0.8.0 firstaid 3.2.1 plugin_reloader 0.18 qgis_layers_data_update 0.3.0 qgis_points2one 0.4.0 map_tile_loader 0.2.0 reconstruct_line 0.8.0 HCMGIS 25.1.9 zoom_level 0.3.3 devtools 1.2.0 identifyplus 4.2.0 OpenTopography-DEM-Downloader 3.0 shortcut_manager 1.2.0 copy_coords 0.4.0 pluginbuilder3 3.2.1 connect_points 0.5.0 qgis_versioning 1.0 osmpoly_export 0.7.0 quicksaveqml 0.2.0 multiqml 0.7.0 osminfo 1.2.0 simplereports 0.4.0 processing_saga_nextgen 1.1.0 ngq_rosreestr_tools 3.0.1 qgis_easy_query 1.1.0 qgis_ogrstyle 0.3.0 quick_map_services 0.21.2 qtiles 1.8.0 joinlines 0.6.0 AppendFeaturesToLayer 2.1.0 dumploadfield 0.4.0 nextgis_connect 3.4.0 db_manager 0.1.20 processing 2.12.99
Supported QGIS version
New profile
Additional context
No response
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
Screencast_20250822_101908.webm
Versions
Supported QGIS version
New profile
Additional context
No response