<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">
      <meta name="qrichtext" content="1">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <style type="text/css">HiĀ 
p, li { white-space: pre-wrap; }
</style>Hi Mathias,<br>
      I've tried installing the dev version and I think that that worked
      (this is what 'about' shows).<br>
      <br>
      <meta name="qrichtext" content="1">
      <table style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px;" align="center" border="0" cellpadding="0"
        cellspacing="2" width="100%">
        <tbody>
          <tr>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">QGIS version</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2.15.0-Master</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">QGIS code revision</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/qgis/QGIS/commit/3d44a1e"><span style=" text-decoration: underline; color:#0000ff;">3d44a1e</span></a></p>
            </td>
          </tr>
          <tr>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Compiled against Qt</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">4.8.5</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Running against Qt</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">4.8.5</p>
            </td>
          </tr>
          <tr>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Compiled against GDAL/OGR</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2.0.2</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Running against GDAL/OGR</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2.0.2</p>
            </td>
          </tr>
          <tr>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Compiled against GEOS</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3.5.0-CAPI-1.9.0</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Running against GEOS</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3.5.0-CAPI-1.9.0 r4084</p>
            </td>
          </tr>
          <tr>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">PostgreSQL Client Version</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">9.2.4</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">SpatiaLite Version</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">4.3.0</p>
            </td>
          </tr>
          <tr>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">QWT Version</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">5.2.3</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">PROJ.4 Version</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">492</p>
            </td>
          </tr>
          <tr>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">QScintilla2 Version</p>
            </td>
            <td>
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2.7.2</p>
            </td>
            <td colspan="2">
              <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This copy of QGIS writes debugging output.</p>
            </td>
          </tr>
        </tbody>
      </table>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
      I started with a new project, added the tst shapefile again,
      repeated the process of adding the virtual fields. The problem
      persists. Am I overlooking something?<br>
      Thanks for your help!<br>
      Janneke<br>
      <br>
      On 16/05/2016 16:05, Matthias Kuhn wrote:<br>
    </div>
    <blockquote cite="mid:5739C589.4020100@opengis.ch" type="cite">
      <meta http-equiv="Context-Type" content="text/html; charset=utf-8">
      <br>
      <br>
      <div class="moz-cite-prefix">On 05/16/2016 01:24 PM, Janneke van
        Dijk wrote:<br>
      </div>
      <blockquote cite="mid:5739ADF8.1060406@gmail.com" type="cite">Dear
        list, <br>
        <br>
        In a polygon shapefile I'm seeing inconstistent behaviour in
        virtual fields. The attached project and shapefile has reduced
        it to it's simplest form: the shapefile contains two virtual
        fields, the first one containing the expression 1 (integer) and
        the second the expression 2 (integer). However, when I want to
        edit the expression for the fields, the first field does not
        give a problem. For the second field I click on the 'expression'
        to open the expression builder, but the expression shown in the
        expression builder equals 1. I have not been able to find any
        pattern in when it happens/for what type of expressions. This
        example is the most simple form of the unexpected behaviour, but
        I have seen it with more complicated expressions as well.
        Sometimes after trying to edit one of these 'erratic'
        expressions QGIS closes with a minidump being written error
        message. Again, not always. <br>
        <br>
        Anyone have any idea why this might happen and how to work
        around it? <br>
      </blockquote>
      Fixed in master<br>
      <blockquote cite="mid:5739ADF8.1060406@gmail.com" type="cite"> <br>
        Looking forward to some thoughts... <br>
        Janneke <br>
        <br>
        <br>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>