On Tue, 23 Oct 2018 at 09:13, rjwillson <[email protected]> wrote: > > That totally makes sense. > > It would be great to have the checkbox option.
Ok, done in https://github.com/qgis/QGIS/pull/8275 Nyall > > Thanks! > > -------- Original message -------- > From: Nyall Dawson <[email protected]> > Date: 2018-10-22 18:28 (GMT-05:00) > To: [email protected] > Cc: qgis-developer <[email protected]> > Subject: Re: [QGIS-Developer] restricting layers to be added to legend to > those turned on in the selected map theme > > On Tue, 23 Oct 2018 at 04:15, <[email protected]> wrote: > > > > Hi, > > > > in QGIS 2.18 when you had selected for your layout to "follow visibility > > preset" and then went to "Add layer to legend" your list of layers would be > > restricted to the subset of layers that were turned on for the preset (now > > called map theme). > > > > This does not happen in Q3.2 or the latest Q developmental version where > > instead all of the layers in the project are listed. > > > > I love the new search dialogue built into the developmental version so that > > you can quickly search for your layer to add to the legend; however, it is > > still much quicker to add the relevant layers to your legend by restricting > > the layers shown in the selection dialogue to those turned on in the map > > theme selected to be followed (i.e., checkbox for follow map theme > > selected). Usually I have lots of layers in the project that are not turned > > on so it can be hard to remember what the layers are called later when I > > get around to creating the legend > > > > Possibly this change in behaviour was introduced by design or necessitated > > by some other limitation so may not even be possible to retain? > > The change was intentional, as it allows layers to be added to a > legend when they aren't visible in the main canvas (e.g. due to the > canvas showing a different map theme, or having a layer for "legend > purposes only"). > > I'd suggest we could satisfy both use cases by adding a checkbox "only > show visible layers" to the bottom of this dialog. Do you agree? > > Nyall _______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
