<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>We came across an inconsistency in the field calculator:</p>
<p>One can select the checkbox "Only update xx selected features" in combination with creating a new virtual field. This is quite misleading for the user, as the result is that all features (not only the selected ones) are updated.</p>
<p>I see the following solutions:</p>
<p>- disable the checkbox "only update xx selected features" as soon as a the field is created as virtual (the easy fix)</p>
<p>- change the behavior of virtual fields in order to really allow update of selected features only. This would probably imply that we have to store the primary keys of the selected features somewhere and can lead to follow-up problems later on.</p>
<p>Any opinions on this?</p>
<p>Personally I would say that virtual fields cannot update "selected only features" and disable that checkbox as soon as virtual fields are created.</p>
<p>Andreas</p>

</body></html>