Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legend in Print Layout does not follow set map-theme #27877

Closed
qgib opened this issue Oct 9, 2018 · 3 comments
Closed

Legend in Print Layout does not follow set map-theme #27877

qgib opened this issue Oct 9, 2018 · 3 comments
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

Comments

@qgib
Copy link
Contributor

qgib commented Oct 9, 2018

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


@qgib
Copy link
Contributor Author

qgib commented Oct 10, 2018

Author Name: Harrissou Santanna (@DelazJ)


@qgib
Copy link
Contributor Author

qgib commented Oct 11, 2018

Author Name: Saber Razmjooei (@saberraz)


  • operating_system was changed from Windows to
  • version was changed from 3.2.3 to 3.3(master)

@qgib
Copy link
Contributor Author

qgib commented Oct 12, 2018

Author Name: Nyall Dawson (@nyalldawson)


Duplicate of #24694


  • resolution was changed from to duplicate
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Oct 12, 2018
@qgib qgib added 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 labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant