<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">Hi,</div><div dir="ltr"><br></div><div dir="ltr">This looks like a good bug report! I would do one. Have you tried making a virtual field with the attributes? This way, you can query two fields and not an attribute and a field. The end result would be the same but perhaps, without a bug... I have been doing that with no trouble for a couples of weeks now for a project. Never tried doing it your way exactly.</div><div dir="ltr"><br></div><div dir="ltr">Nicolas</div><div dir="ltr"><br>Le 24 mai 2019 à 06:35, Peter Cornelissen <<a href="mailto:peter@cornelissen.org.uk">peter@cornelissen.org.uk</a>> a écrit :<br><br></div><blockquote type="cite"><div dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<div style="color: rgb(0, 0, 0); font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt;">
<div style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
Has anyone else come across this?</div>
<span style="display: inline !important; background-color: rgb(255, 255, 255); font-size-adjust: none"></span>
<div style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
<br>
</div>
<span style="display: inline !important; background-color: rgb(255, 255, 255); font-size-adjust: none"></span>
<div style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
Personally I think this is a bug or possibly something wrong with my installation, but I've not had any confirmation from the QGIS team.</div>
<span style="display: inline !important; background-color: rgb(255, 255, 255); font-size-adjust: none"></span>
<div style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
<br>
</div>
<span style="display: inline !important; background-color: rgb(255, 255, 255); font-size-adjust: none"></span>
<div style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
If I have a styled line or polygon and use the 'attribute' expression in the filter, then once the shapefile has been saved, closed and then re-opened, then the vertex editor does not work and I cannot edit any of the lines or polygons in the shapefile and
the only way I can is to open the same shapefile without a style of with one not using attribute in the filter. I use the same shapefile numerous times and use the layer name to display specific lines as relevant to that layer.<font style="background-color: rgb(255, 255, 255)">
E.g.<span style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; display: inline; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px"> the table has a field called
Plan1801, so the layer name starts Plan1801. An example of the style is: </span>
<span style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; display: inline; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">attribute($currentfeature, left(@layer_name,8))
= 'Y' AND Type = 'Chalk'), so if a record in the shapefile table has a 'Y' in the Plan1801 column and 'Chalk' in the type column it will display as that style. If I change the style to Plan1801 ='Y' AND Type = 'Chalk' the vertex editor works fine.</span></font></div>
<span style="display: inline !important; background-color: rgb(255, 255, 255); font-size-adjust: none"></span>
<div style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
<font style="background-color: rgb(255, 255, 255)"></font><br>
</div>
<span style="display: inline !important; background-color: rgb(255, 255, 255); font-size-adjust: none"></span>
<div style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
There maybe another way around this, but there are approx. 20 different styles for the lines and a similar number for the polygons used in each layer and getting on for 30 layers (and growing) using it so I do not want to have create dedicated styles for each
layer or have a separate shapefile for each layer. If there is, I have not as yet found one.</div>
<span style="display: inline !important; background-color: rgb(255, 255, 255); font-size-adjust: none"></span>
<div style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
<br>
</div>
<span style="display: inline !important; background-color: rgb(255, 255, 255); font-size-adjust: none"></span>
<div style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
<div style="background-color: rgb(255, 255, 255); border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
Any help would be appreciated.</div>
<div style="background-color: rgb(255, 255, 255); border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
<br>
</div>
<div style="background-color: rgb(255, 255, 255); border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
I am now using version 3.6.3, but the problem has been there at least since 3.6.0, possibly earlier (not there in the old node editor in 2.8, but I know that was a completely different beast).</div>
<div style="background-color: rgb(255, 255, 255); border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
<br>
</div>
<div style="background-color: rgb(255, 255, 255); border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
Peter Cornelissen</div>
</div>
</div>
<div id="Signature"></div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>Qgis-user mailing list</span><br><span><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a></span><br><span>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br><span>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span></div></blockquote></body></html>