<div dir="auto">As an workaround, can't you just create a new style and remove the filter? Then go back to the default style?<div dir="auto"><br></div><div dir="auto">Obviously a checkbox would be much more user friendly.</div><div dir="auto"><br></div><div dir="auto">Alexandre Neto</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">A terça, 11/05/2021, 09:52, Andreas Neumann <<a href="mailto:andreas@qgis.org">andreas@qgis.org</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Richard,</div><div><br></div><div>Yes - I think this would be very useful. I would prefer the checkbox for enabling/disabling without losing the filter string.</div><div><br></div><div>Thanks,<br></div><div>Andreas<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 10 May 2021 at 16:41, Richard Duivenvoorde <<a href="mailto:rdmailings@duif.net" target="_blank" rel="noreferrer">rdmailings@duif.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi List,<br>
<br>
When I add a filter to a layer, I often want to temporarily disable that <br>
filter (just to see what the full view is).<br>
<br>
Working a lot with sql scripts recently, in which you comment out (a <br>
part) of a sql query by putting '--' in front of it, I tried that also <br>
in the Query builder, and though it looks like I'm commenting out my <br>
query (the query is greyed-out), it's not working, I get a parsing <br>
error.<br>
<br>
So usability question:<br>
- would other people be interested in temporarily disabling the layer <br>
filter query, or am I the only one :-)<br>
<br>
If yes:<br>
<br>
- should it be implemented by 'commenting' out part of the query?<br>
- or should there be some 'temporarily disable' checkbox in the query <br>
builder)<br>
- should it be a context menu (either the layer, or the little filter <br>
overlay icon in the layermanager)<br>
<br>
Tech question:<br>
- any forseeing issues with such thing?<br>
<br>
Regards,<br>
<br>
Richard Duivenvoorde<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr"><div><br>--<br>Andreas Neumann<br></div><a href="http://QGIS.ORG" target="_blank" rel="noreferrer">QGIS.ORG</a> board member (treasurer)<br></div></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>