Bug report #11459
Editing Composer legend while filtered does not work
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||19735|
In Print Composer, if a legend is using filter my map content try to edit one of the legend elements migth lead to undesired results. This is true for both editing the lable, deleting legend items or reordering it.
In the images below I have tried to change a item "RECOLTE" name to "RECOLTE_2", and as you can see it changes another item instead. I believe this is something to do with the legenf item idex, since the item I was trying to edit is in the third line when the legend is filtered, and the edited item is in the same position when the legend is not filtered
To replicate, create a categorized view of any layer and create a map with it. Filter legend to map content and zoom to an area where some categories are filtered. Now try to edit labels, delete items or reorder them.
#4 Updated by Lene Fischer over 5 years ago
Same issue in 2.6.1
When I edit a filtered version of the legend, is act as if it is unfiltered
Having a list with 4 posts
Filtering and now see post 1 and 4 - viewing only 2 posts
Try to edit post 4 - nothing change
Unfilter and post no. 2 has the changes.
See video http://screencast.com/t/okfwS2a8m