Re: [QGIS-Developer] Disable/commenting provider filter?

2021-05-12 Thread Richard Duivenvoorde
On 5/12/21 8:07 AM, Andreas Neumann wrote: > Hi Richard and all, > > Speaking of the little "Filter icon". Couldn't this icon be used to toggle > the filter state "on"/"off"? > > A single click would toggle on/off state, a double click would open the > dialog? Currently clicking on it will

Re: [QGIS-Developer] Disable/commenting provider filter?

2021-05-12 Thread Andreas Neumann
Hi Richard and all, Speaking of the little "Filter icon". Couldn't this icon be used to toggle the filter state "on"/"off"? A single click would toggle on/off state, a double click would open the dialog? Just an idea. Not sure if it is doable. Thanks for working on this, Andreas On

Re: [QGIS-Developer] Disable/commenting provider filter?

2021-05-12 Thread Richard Duivenvoorde
On 5/11/21 10:45 PM, Jorge Gustavo Rocha wrote: > Hi, > > Another workaround is layer duplication. You can have an instance > without filters and one with filters. Then switch between them. > > But a filter history for the layer (like the one in the old DB manager > where you can save queries),

Re: [QGIS-Developer] Disable/commenting provider filter?

2021-05-11 Thread Jorge Gustavo Rocha
Hi, Another workaround is layer duplication. You can have an instance without filters and one with filters. Then switch between them. But a filter history for the layer (like the one in the old DB manager where you can save queries), could be useful. Regards, Jorge On 11/05/21 21:31,

Re: [QGIS-Developer] Disable/commenting provider filter?

2021-05-11 Thread Alexandre Neto
Bad workaround then :-p A terça, 11/05/2021, 21:10, Matthias Kuhn escreveu: > Unfortunately, that won't work, filters are not part of the style. > > On Tue, May 11, 2021 at 9:24 PM Alexandre Neto > wrote: > >> As an workaround, can't you just create a new style and remove the >> filter? Then

Re: [QGIS-Developer] Disable/commenting provider filter?

2021-05-11 Thread Matthias Kuhn
Unfortunately, that won't work, filters are not part of the style. On Tue, May 11, 2021 at 9:24 PM Alexandre Neto wrote: > As an workaround, can't you just create a new style and remove the filter? > Then go back to the default style? > > Obviously a checkbox would be much more user friendly. >

Re: [QGIS-Developer] Disable/commenting provider filter?

2021-05-11 Thread Alexandre Neto
As an workaround, can't you just create a new style and remove the filter? Then go back to the default style? Obviously a checkbox would be much more user friendly. Alexandre Neto A terça, 11/05/2021, 09:52, Andreas Neumann escreveu: > Hi Richard, > > Yes - I think this would be very useful.

Re: [QGIS-Developer] Disable/commenting provider filter?

2021-05-11 Thread Andreas Neumann
Hi Richard, Yes - I think this would be very useful. I would prefer the checkbox for enabling/disabling without losing the filter string. Thanks, Andreas On Mon, 10 May 2021 at 16:41, Richard Duivenvoorde wrote: > Hi List, > > When I add a filter to a layer, I often want to temporarily

Re: [QGIS-Developer] Disable/commenting provider filter?

2021-05-10 Thread Matthias Kuhn
Hi Richard, An enable/disable checkbox that works without deleting the filter would be very nice. Just like data defined symbology where you can disable it without losing the expression. Short term workaround for you: TRUE /* [yourfilter here] */ Matthias On Mon, May 10, 2021 at 4:42 PM