Bug report #20580
Legend - Filter legend by map content not working
|Affected QGIS version:||3.4.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||28400|
The Filter legend by map content seems to fail to work occasionally - the count features shows zeros, but the program will not remove these items from the legend. Any ideas how to force this to work, or why it might fail to work?
#2 Updated by Giles Manners almost 2 years ago
I found out why - looking at the Items panel, it showed that there were two maps on the layout and the legend was referencing a spurious empty map that nobody seems to have created (not intentionally anyway), and this seems to have caused a glitch. We right clicked on the extra map, clicked delete, then deleted the legend and added a new legend - and now the filter works.
Thought I would post that in case anyone else has the same issue.