Legend in Print Layout does not follow set map-theme #27877
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
High Priority
Print Layouts
Related to QGIS Print Layouts, Atlas or Reporting frameworks
Author Name: Jamie Sheehan (Jamie Sheehan)
Original Redmine Issue: 20055
Affected QGIS version: 3.3(master)
Redmine category:map_composer/printing
If multiple map themes are created using different styles for the 1 layer, and Print Layouts are created using the "follow map theme" option, the Legend incorrectly shows styles as per the theme currently being displayed in the Map Composer, not as per the Map Theme chosen in the print layout. This glitch can be overcome by selecting the appropriate Map Theme in the Map Composer each time a Print Layout is to be exported, however, it prevents the use of automated Print Exports for multiple layouts, and introduces significant chances of error by forgetting to update the Map Composer every time.
For example -
See attached images, where I have saved 2 Map Themes... "No Style" and "Categorised".
I then create a Print Layout and set it to follow Map Theme "Categorised". While the Map Composer is showing the same theme, the legend displays correctly. However, if the Map Composer is switched to a different Map Theme, the Legend in the Print Composer no longer reflects what is being shown in the print layout, and instead reflects the Map Theme of the Print Composer.
Related issue(s): #24694 (relates)
Redmine related issue(s): 16795
The text was updated successfully, but these errors were encountered: