Feature request #14547

Legend group checkbox should honour visibility of layers in the group

Added by Frank Sokolic over 3 years ago. Updated over 1 year ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Map Legend
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:22520

Description

Layers in the Map Legend can be organised into groups. It is often useful to have some of the layers in the group visible and others not visible (figure 1). Currently, when the group checkbox is clicked, the visibility of all group layers is toggled (figures 2 and 3). It would be very useful if the visibility settings of the layers in the group were remembered when clicking the group checkbox.

My suggestion for handling the group layer visibility is:
  • Clicking the group checkbox shows or hides the layers in the group but honours their visibility settings, i.e. toggle between the states shown in figures 1 and 3.
  • Ctrl + clicking the group checkbox shows or hides all layers in the group, i.e. toggle between the states shown in figures 2 and 3.

Groups_1.png - Fig 1: Three of the group layers visible (14.2 KB) Frank Sokolic, 2016-03-22 11:48 PM

Groups_2.png - Fig 2 : All group layers visible (13.1 KB) Frank Sokolic, 2016-03-22 11:48 PM

Groups_3.png - Fig 3: No group layers visible (12.5 KB) Frank Sokolic, 2016-03-22 11:48 PM


Related issues

Duplicates QGIS Application - Bug report #4762: Inconsistent behavior of legend groups Closed 2012-01-08

History

#1 Updated by Giovanni Manghi over 2 years ago

  • Easy fix? set to No

#2 Updated by Alexander Bruy over 1 year ago

  • Status changed from Open to Closed

Works as expected in 3.0

Also available in: Atom PDF