<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>I looked at the project you sent me.  If you add a rule with no
      filter, the vertex tool will work as all the lines are now shown.
      You can then hide these features by deselecting the "no filter
      lines" in the layer panel or by making the line transparent.<br>
    </p>
    <p> So basically, the vertex tool stops working if some of the lines
      are not covered by a rule that contains attribute($currentfeature,
      left(@layer_name,8)).  This should be added to the bug report.   <br>
    </p>
    <p>If you change the rule "attribute($currentfeature,
      left(@layer_name,8)) = 'Y' AND Type = 'Chalk'"  to simply Type =
      'Chalk'  and filter the lines by  Plan1801 ='Y', the vertex tool
      works and the result is the same.  Deactivate editing/right click
      on the layer in the layer panel, filter, Type = 'Chalk'.
      Reactivate editing.<br>
    </p>
    <p>I will send you the project directly.</p>
    <p>Nicolas<br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 2019-05-25 12:53 p.m., Nicolas
      Cadieux wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:E44C225F-6BF8-418A-9535-BA06673AC8B6@archeotec.ca">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi,</div>
      <div dir="ltr"><br>
      </div>
      <div dir="ltr">I am intrigued by how you are doing things but not
        sure I completely understand your method.  If you can send me
        test file with a project, I could test on my end to see if I can
        replicate the bug.  I must admit thought that this will take
        time on your end and the end result might just be that we have
        the same problem and no solution.</div>
      <div dir="ltr"><br>
      </div>
      <div dir="ltr">Can filtering the file in the layer panel (you can
        fight click and create a filter there) with the “Y” present
        change anything?</div>
      <div dir="ltr"><br>
      </div>
      <div dir="ltr">Nicolas</div>
      <div dir="ltr"><br>
        Le 25 mai 2019 à 05:36, Peter Cornelissen <<a
          href="mailto:peter@cornelissen.org.uk" moz-do-not-send="true">peter@cornelissen.org.uk</a>>
        a écrit :<br>
        <br>
      </div>
      <blockquote type="cite">
        <div dir="ltr">
          <div style="color: rgb(0, 0, 0); font-family:
            Calibri,Arial,Helvetica,sans-serif; font-size: 12pt;">
            Hi</div>
          <div style="color: rgb(0, 0, 0); font-family:
            Calibri,Arial,Helvetica,sans-serif; font-size: 12pt;">
            <br>
          </div>
          <div style="color: rgb(0, 0, 0); font-family:
            Calibri,Arial,Helvetica,sans-serif; font-size: 12pt;">
            I see what you mean and I have used it this way on other
            occasions, but unfortunately it doesn't help with my
            situation. I have fields Plan1801, Plan1802, Plan1803 etc
            and each line or polygon can be on any number of plans. So,
            I use the 'Y' present in the field to enable its visibility
            when that plan is displayed and I use the layer name and
            then the attribute to reference the relevant field in the
            style.</div>
          <div style="color: rgb(0, 0, 0); font-family:
            Calibri,Arial,Helvetica,sans-serif; font-size: 12pt;">
            <br>
          </div>
          <div style="color: rgb(0, 0, 0); font-family:
            Calibri,Arial,Helvetica,sans-serif; font-size: 12pt;">
            Peter<br>
          </div>
          <hr style="display:inline-block;width:98%" tabindex="-1">
          <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
              face="Calibri, sans-serif" color="#000000"><b>From:</b>
              Nicolas Cadieux <<a
                href="mailto:nicolas.cadieux@archeotec.ca"
                moz-do-not-send="true">nicolas.cadieux@archeotec.ca</a>><br>
              <b>Sent:</b> 24 May 2019 20:09<br>
              <b>To:</b> Peter Cornelissen<br>
              <b>Cc:</b> <a href="mailto:qgis-user@lists.osgeo.org"
                moz-do-not-send="true">qgis-user@lists.osgeo.org</a><br>
              <b>Subject:</b> Re: [Qgis-user] Vertex tool not working on
              lines when style with 'attribute' assigned</font>
            <div> </div>
          </div>
          <div dir="auto">
            <div dir="ltr">Hi,</div>
            <div dir="ltr"><br>
            </div>
            <div dir="ltr">Open the field calculator.  By default, you
              will have « create a new field ».  Select « create virtual
              field » and use the attribute there. The virtual will be
              updated on the fly and is part of the project file.  If
              you export the file, it will be saved as a true field in
              the Shape file (or what ever format you are using).  </div>
            <div dir="ltr"><br>
            </div>
            <div dir="ltr">Nicolas</div>
            <div dir="ltr"><br>
              Le 24 mai 2019 à 14:31, Peter Cornelissen <<a
                href="mailto:peter@cornelissen.org.uk"
                moz-do-not-send="true">peter@cornelissen.org.uk</a>>
              a écrit :<br>
              <br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">
                <div style="color:rgb(0,0,0);
                  font-family:Calibri,Arial,Helvetica,sans-serif;
                  font-size:12pt">
                  Hi</div>
                <div style="color:rgb(0,0,0);
                  font-family:Calibri,Arial,Helvetica,sans-serif;
                  font-size:12pt">
                  <br>
                </div>
                <div style="color:rgb(0,0,0);
                  font-family:Calibri,Arial,Helvetica,sans-serif;
                  font-size:12pt">
                  I have reported it as a bug, but as yet no resolution
                  or acknowledgement that it is a bug. I was offered
                  possible solutions but in the end it was not really
                  answering the problem I have and since then it is just
                  there as an open issue.</div>
                <div style="color:rgb(0,0,0);
                  font-family:Calibri,Arial,Helvetica,sans-serif;
                  font-size:12pt">
                  <br>
                </div>
                <div style="color:rgb(0,0,0);
                  font-family:Calibri,Arial,Helvetica,sans-serif;
                  font-size:12pt">
                  I'm not really at a level to be quite sure what you
                  mean by using a 'virtual' field, could you please
                  explain? The attribute method I am using was a
                  solution given to me by someone else and as I say it
                  worked fine when first used in version 2.8.</div>
                <div style="color:rgb(0,0,0);
                  font-family:Calibri,Arial,Helvetica,sans-serif;
                  font-size:12pt">
                  <br>
                </div>
                <div style="color:rgb(0,0,0);
                  font-family:Calibri,Arial,Helvetica,sans-serif;
                  font-size:12pt">
                  Peter</div>
                <hr tabindex="-1" style="display:inline-block;
                  width:98%">
                <div id="x_divRplyFwdMsg" dir="ltr"><font
                    style="font-size:11pt" face="Calibri, sans-serif"
                    color="#000000"><b>From:</b> Nicolas Cadieux <<a
                      href="mailto:nicolas.cadieux@archeotec.ca"
                      moz-do-not-send="true">nicolas.cadieux@archeotec.ca</a>><br>
                    <b>Sent:</b> 24 May 2019 18:04<br>
                    <b>To:</b> Peter Cornelissen<br>
                    <b>Cc:</b> <a
                      href="mailto:qgis-user@lists.osgeo.org"
                      moz-do-not-send="true">qgis-user@lists.osgeo.org</a><br>
                    <b>Subject:</b> Re: [Qgis-user] Vertex tool not
                    working on lines when style with 'attribute'
                    assigned</font>
                  <div> </div>
                </div>
                <div dir="auto">
                  <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"
                      moz-do-not-send="true">peter@cornelissen.org.uk</a>>
                    a écrit :<br>
                    <br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <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">
                          <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>
                  </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"
                          moz-do-not-send="true">Qgis-user@lists.osgeo.org</a></span><br>
                      <span>List info: <a
href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-user&data=02%7C01%7C%7Ce7a1957013f547b3412f08d6e07b69ac%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636943217986442028&sdata=pYlsbueSjJaCh8%2BObAoB4n1RT8JWPKtVxZJwtAHTxc0%3D&reserved=0"
originalsrc="https://lists.osgeo.org/mailman/listinfo/qgis-user"
shash="gAOvwwKZb8veRwabsjY4Xd5KqRPsYQDdezWLfe6Tweb1e8vEs/5J1WULn/QdrOsumfU1kNwulVW2vNArT0OAHDOJoOr9O8xjEVyHQ3Ip+Zjsu1y0slQ4MS5oKSnueXUygWgNTrhEu3HC0DSkevDrVQiyHpUpXXoxS7uXe4RCmq0="
                          moz-do-not-send="true">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br>
                      <span>Unsubscribe: <a
href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-user&data=02%7C01%7C%7Ce7a1957013f547b3412f08d6e07b69ac%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636943217986462044&sdata=dEVhpC1yTtCe66jq%2FoltKm74LYmJzO8RcKa2hFJxhNY%3D&reserved=0"
originalsrc="https://lists.osgeo.org/mailman/listinfo/qgis-user"
shash="p0e6YPUDHHPOV1EnA6zP/YM5O2YJfvB5ipT38vScWQFco65FZ6Uiyx/fC1sRf/GeRWrBgNFsH1HKvJ2/vxJDAMj6uRRUXTKwcCIghijPY4iGt1QGYqB2aYnxXmSbRhpt2gfwB91PJX6VvbBMpuSAAIFPEAkwUrhR4EnRUXAs+eo="
                          moz-do-not-send="true">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span></div>
                  </blockquote>
                </div>
              </div>
            </blockquote>
          </div>
        </div>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
    </blockquote>
  </body>
</html>