What is the bug or the crash?
I modified the name of a group in Qgis. It was "CCM", the new name is "CCDL". The modification is ok in Qgis interface.
But when I open this project (.qgs) in a notepad the modification is not updated :

Note : I use Invisible layers and groups plugin for hiding groups
Steps to reproduce the issue
- Change group name
- Hide group with Invisible layers and groups plugin
- Save project
- Close Qgis
Go to Notepad
- Open project .qgs
- Search "CCM"
- In the part code linked to the theme (in the image example "CARTE GRISE - osm"), group "CCM" exists but group "CCDL" doesn't exist
Versions
| Version de QGIS | 3.40.15-Bratislava |
| Révision du code | f68f1bf573 |
| |
| Bibliothèques |
| Version de Qt | 5.15.13 |
| Version de Python | 3.12.12 |
| GDAL version | 3.12.2 — Chicoutimi |
| Version de Proj | 9.7.1 |
| Version de la base de données du registre EPSG | v12.029 (2025-10-03) |
| Version de GEOS | 3.14.1-CAPI-1.20.5 |
| Version de SQLite | 3.50.4 |
| Version de PDAL | 2.10.0 |
| Version du client PostgreSQL | unknown |
| Version de SpatiaLite | 5.1.0 |
| Version de QWT | 6.3.0 |
| Version de QScintilla2 | 2.14.1 |
| Version de l'OS | Windows 11 Version 2009 |
| |
| Extensions Python actives |
| AnotherDXF2Shape | 1.4.1 |
| cadastre | 2.2.5 |
| Climb | 1.1 |
| DataPlotly | 4.3.2 |
| french_locator_filter | 1.4.1 |
| InvisibleLayersAndGroups | 2.2 |
| kmltools | 3.2.3 |
| LayerDiffViewer | 1.0.0 |
| multilayerselect | 2.0.0 |
| OpenRecoStarPlugin | version 2.1-4-geef7fdb |
| processing_power_pack | v1.0 |
| processing_r | 4.1.0 |
| qfieldsync | v4.18.3 |
| refFunctions | 1.6 |
| SgmExpressionFunctions | 3.0.5 |
| StreetView | 3.3 |
| unique_values_viewer | 0.2 |
| wbt_for_qgis | 1.0.9 |
| wnt | 1.3.6 |
| db_manager | 0.1.20 |
| MetaSearch | 0.3.6 |
| processing | 2.12.99 |
Supported QGIS version
New profile
Additional context
No response
What is the bug or the crash?
I modified the name of a group in Qgis. It was "CCM", the new name is "CCDL". The modification is ok in Qgis interface.
But when I open this project (.qgs) in a notepad the modification is not updated :

Note : I use Invisible layers and groups plugin for hiding groups
Steps to reproduce the issue
Go to Notepad
Versions
Supported QGIS version
New profile
Additional context
No response