Feature request #14547

Legend group checkbox should honour visibility of layers in the group

Added by Frank Sokolic about 1 year ago.

Status:Open Start Date:03/22/2016
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:Map Legend
Target version:Future Release - Nice to have
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

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, 03/22/2016 11:48 pm

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

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


Related issues

duplicates QGIS Application - Bug report #4762: Inconsistent behavior of legend groups Open 01/08/2012

Also available in: Atom