Open cupain opened 2 years ago
Have you seen the conversation in this issue? https://github.com/qgis/QGIS/issues/48931
Because this is the second time this has come up recently and it seems that the layout background following the project background is the expected behavior perhaps it makes sense to change this to a feature request. I could see this being solved either by:
I missed that discussion, sorry. Indeed, because when we add a map to the print layout, the project background color is automatically used in the layout, I expect the color to be updated in the layout when it is changed in the project. I think the background color of the layout should either always follow the color of the project, or never follow it. The actual behavior is a bit confusing
No problem- Would you consider changing the title of this to something like: Add option to sync map/project background colors.
What is the bug or the crash?
If the backgroung colour of the project is changed while a composer layout has been created yet, the colour is not updated in the composer. The map in the composer has to be deleted and created one more time.
Steps to reproduce the issue
Versions
Version de QGIS | 3.16.11-Hannover | Révision du code | 26cc1c76 -- | -- | -- | -- Compilé avec Qt | 5.15.2 | Utilisant Qt | 5.15.2 Compilé avec GDAL/OGR | 3.3.1 | Utilisé avec GDAL/OGR | 3.3.1 Compilé avec GEOS | 3.9.1-CAPI-1.14.2 | Utilisé avec GEOS | 3.9.1-CAPI-1.14.2 Compilé avec SQLite | 3.35.2 | Fonctionne avec SQLite | 3.35.2 Version du client PostgreSQL | 13.0 | Version de SpatiaLite | 5.0.1 Version de QWT | 6.1.3 | Version de QScintilla2 | 2.11.5 Compilé avec PROJ | 8.1.1 | Fonctionne avec PROJ | Rel. 8.1.1, September 1st, 2021 Version de l'OS | Windows 10 Version 2009 Extensions Python actives | cadastre; GeometryShapes; openlayers_plugin; QRectangleCreator; db_manager; MetaSearch; processing Version de QGIS 3.16.11-Hannover Révision du code [26cc1c76](https://github.com/qgis/QGIS/commit/26cc1c76) Compilé avec Qt 5.15.2 Utilisant Qt 5.15.2 Compilé avec GDAL/OGR 3.3.1 Utilisé avec GDAL/OGR 3.3.1 Compilé avec GEOS 3.9.1-CAPI-1.14.2 Utilisé avec GEOS 3.9.1-CAPI-1.14.2 Compilé avec SQLite 3.35.2 Fonctionne avec SQLite 3.35.2 Version du client PostgreSQL 13.0 Version de SpatiaLite 5.0.1 Version de QWT 6.1.3 Version de QScintilla2 2.11.5 Compilé avec PROJ 8.1.1 Fonctionne avec PROJ Rel. 8.1.1, September 1st, 2021 Version de l'OS Windows 10 Version 2009 Extensions Python actives cadastre; GeometryShapes; openlayers_plugin; QRectangleCreator; db_manager; MetaSearch; processing ### Supported QGIS version - [X] I'm running a supported QGIS version according to the roadmap. ### New profile - [ ] I tried with a new QGIS profile ### Additional context _No response_