Bug report #13300

Filter legend doesn't work when using Presets

Added by Jamie Portman over 8 years ago. Updated over 8 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:-
Affected QGIS version:2.10.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:21358

Description

The filter legend function does not work when using Presets for the map frame.

It works perfectly fine if this is not being used (with or without atlas), but as soon as you choose "set layer list from visibility preset" in the Item Properties of the Map Frame, everything disappears.

If the preset is chosen in the Map Canvas instead (not in the Print Composer) and then the view refreshed, then the filtered legend works fine.

If the legend is not Filtered, then it updates just fine when using Presets (except of course that everything that is not turned on visibility shows up in the legend... not ideal).

Associated revisions

Revision dcbe0d37
Added by Nyall Dawson over 8 years ago

Fix legends are empty if presets used with filtered legend (fix #13300)

History

#1 Updated by Harrissou Santanna over 8 years ago

  • Target version set to Version 2.12

I think the level of this issue should be raised since it breaks the use of "filter by map" option or oblige the user to avoid using preset options (something that can also be penalizing).
master fea4ed9

#2 Updated by Nyall Dawson over 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF