Bug report #4762
Inconsistent behavior of legend groups
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||14626|
Legend group checkbox works in a wrong way. Checking group also checks all layers in this group and unchecking group uncheck all layers in this group. State of layers not saved.
For example, we have group with several layers and only one layer checked (see legend-01.jpg). I can't uncheck group - when I try to do this group and all layers become checked (see legend-02.jpg).
IMHO this is wrong and illogical behavior: changing group state should not change layers state.
#2 Updated by Giovanni Manghi about 10 years ago
- Operating System deleted (
Jaka Kranjc wrote:
Still present in current HEAD and I agree, this isn't the expected behaviour. Instead of forcing all the sublayers to checked/unchecked, it should just toggle their visibility. I'll try to whip up a patch in the following days.
I guess that this would be better to be discussed in the dev mailing list, rather than having it tagged as bug.