Bug report #11143

cannot remove layer visiblity group

Added by Denis Rouzaud over 10 years ago. Updated over 10 years ago.

Status:Closed
Priority:Normal
Assignee:Martin Dobias
Category:Map Legend
Affected QGIS version:2.4.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:19471

Description

if you enable a group, of which some layers were previously deleted, it is not marked as in use (group is not checked in the menu).

hence, you cannot delete this group anymore.

also, nice to have would be to update a group.

Associated revisions

Revision fd5669cf
Added by Martin Dobias over 10 years ago

Fix #11143 (remove visibility groups after removal of a layer)

Revision c04127ec
Added by Martin Dobias over 10 years ago

Fix #11143 (cannot remove visibility group) take two

Revision 95f4a30e
Added by Martin Dobias over 10 years ago

Fix #11143 take 3 (cannot remove visibility groups)

Now we also handle rules that are not valid anymore

History

#1 Updated by Martin Dobias over 10 years ago

  • Status changed from Open to Closed

#2 Updated by Denis Rouzaud over 10 years ago

  • Status changed from Closed to Reopened

Old visibility groups are still not checked after loading them.
Hence I can't remove them.

#3 Updated by Martin Dobias over 10 years ago

  • Status changed from Reopened to Closed

#4 Updated by Denis Rouzaud over 10 years ago

  • Status changed from Closed to Reopened

might require a take 3, sorry...

I am still having trouble. I suspect this is related to rule based symbols visibility.

If it helps, we could arrange a live debugging on my project. Let me know.

#5 Updated by Martin Dobias over 10 years ago

  • Status changed from Reopened to Closed

Also available in: Atom PDF