Bug report #11459
Editing Composer legend while filtered does not work
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Martin Dobias | ||
Category: | Map Composer/Printing | ||
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 |
Description
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.
Associated revisions
Fix editing composer legend titles while filtering enabled (fix #11459)
History
#1 Updated by Alexandre Neto about 10 years ago
Forgot to say that I was using QGIS 2.5 962a7d9. So changes might have been done in the meanwhile.
#2 Updated by Martin Dobias about 10 years ago
- Priority changed from Severe/Regression to High
Lowering priority as this is not a blocker (editing works when filtering is turned off)
#3 Updated by Jürgen Fischer about 10 years ago
- Target version changed from Version 2.6 to Future Release - High Priority
#4 Updated by Lene Fischer over 9 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
#5 Updated by Nyall Dawson almost 9 years ago
- Status changed from Open to Closed
Fixed in changeset c7204cc72285489461722fd5c1669310ac53edc7.