What is the bug or the crash?
Geospatial PDF exported on 3.34.15
Theme A

Theme ABC

Theme CB

Themes are correctly set in "Calques" on the left
Geospatial PDF exported on 3.42.3 (or 3.40.7)
Theme A

Layer A is missing
GSat is only in theme A, not in others
Theme ABC

Only A, not B or C or GSat
Theme CB

Steps to reproduce the issue
bug_pdf_geospatial.zip
Load project in GPKG
Open print layout "Mise en page 1"
Export geospatial PDF with theme
export_geospa_3_42_3.pdf
export_geospa_3_34_15.pdf
Versions
| Version de QGIS | 3.42.3-Münster |
| Révision du code | bb018e12fe |
| |
| Bibliothèques |
| Version de Qt | 5.15.13 |
| Version de Python | 3.12.10 |
| GDAL version | 3.10.3 |
| Version de Proj | 9.6.0 |
| Version de la base de données du registre EPSG | v12.004 (2025-03-02) |
| Version de GEOS | 3.13.1-CAPI-1.19.2 |
| Version de SQLite | 3.46.1 |
| Version de PDAL | 2.8.3 |
| Version du client PostgreSQL | 17.3 |
| Version de SpatiaLite | 5.1.0 |
| Version de QWT | 6.3.0 |
| Version de QScintilla2 | 2.14.1 |
| Version de l'OS | Windows 10 Version 2009 |
| |
| Extensions Python actives |
| db_manager | 0.1.20 |
| grassprovider | 2.12.99 |
| MetaSearch | 0.3.6 |
| processing | 2.12.99 |
Also in 3.40.7
And 3.42.3 Qt6
Supported QGIS version
New profile
Additional context
No response
What is the bug or the crash?
Geospatial PDF exported on 3.34.15
Theme A
Theme ABC
Theme CB
Themes are correctly set in "Calques" on the left
Geospatial PDF exported on 3.42.3 (or 3.40.7)
Theme A
Layer A is missing
GSat is only in theme A, not in others
Theme ABC
Only A, not B or C or GSat
Theme CB
Steps to reproduce the issue
bug_pdf_geospatial.zip
Load project in GPKG
Open print layout "Mise en page 1"
Export geospatial PDF with theme
export_geospa_3_42_3.pdf
export_geospa_3_34_15.pdf
Versions
Also in 3.40.7
And 3.42.3 Qt6
Supported QGIS version
New profile
Additional context
No response