Bug report #4762
Inconsistent behavior of legend groups
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | GUI | ||
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 |
Description
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.
Related issues
History
#1 Updated by Jaka Kranjc about 12 years ago
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.
#2 Updated by Giovanni Manghi about 12 years ago
- Operating System deleted (
all)
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.
#3 Updated by Paolo Cavallini about 12 years ago
- Target version set to Version 2.0.0
#4 Updated by Sandro Santilli almost 12 years ago
Still present. I'd also like the toggle-all behavior instead. Maybe keep the all-on all-off with a keystroke combination ? (ie: SHIFT-click)
#5 Updated by Jürgen Fischer over 10 years ago
- Target version changed from Version 2.0.0 to Future Release - Lower Priority
#6 Updated by Giovanni Manghi over 7 years ago
- Regression? set to No
- Easy fix? set to No
#7 Updated by Alexander Bruy over 6 years ago
- Status changed from Open to Closed
- Description updated (diff)
Works as expected in 3.0