Bug report #6938

Legend group visibility computation is wrong

Added by Sandro Santilli over 11 years ago. Updated over 9 years ago.

Category:Map Legend
Affected QGIS version:2.2.0 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 #:16051


Adding groups make them marked as "visible" by default, adding layers and setting their visibility to off doesn't change that state.
So you can easily end up with a checked group containing all unchecked layers.


#1 Updated by Sandro Santilli over 11 years ago

Ideally a group should start as not visible and its state should be updated whenever a child layer-or-group visibility gets updated.

#2 Updated by Giovanni Manghi over 11 years ago

maybe related to #5924 ?

#3 Updated by Sandro Santilli over 9 years ago

According to Martin this should not be a bug anymore since 2.4: #11382-12

To be checked by dropping workarounds in TopoViewer and check they are not needed anymore:

#4 Updated by Sandro Santilli over 9 years ago

  • Status changed from Open to Closed
  • Target version set to 2.4
  • Affected QGIS version changed from master to 2.2.0
  • Resolution set to fixed/implemented

Confirmed fixed, workaround removed with 93864ce55c9e4ec1a3441f32f73c3166b83ea36c

Also available in: Atom PDF