Bug report #20582

feature rendering order does not work for virtual fields

Added by Jochen Huber about 2 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Symbology
Affected QGIS version:3.5(master) Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:28402

Description

When activating "control feature rendering order" in the vector layer symbology settings, the order can be correctly controlled by values in a normal field. If a virtual field is selected, however, rendering order ist not changed according to the field values.
An example project and shapefile are attached. When selecting the normal field "priority" in the control feature rendering order dialog, the order of the two polygons can be reversed by switching the sort order. When the virtual field "virtual" is selected, the rendering order does not change.
Testet on Windows with Version 3.4.1 and Master (3.5.0, code version 152b1b09ff).

test.cpg (5 Bytes) Jochen Huber, 2018-11-21 05:05 PM

example.qgz (3.78 KB) Jochen Huber, 2018-11-21 05:05 PM

test.dbf (140 Bytes) Jochen Huber, 2018-11-21 05:05 PM

test.prj (417 Bytes) Jochen Huber, 2018-11-21 05:05 PM

test.qpj (637 Bytes) Jochen Huber, 2018-11-21 05:05 PM

test.shp (452 Bytes) Jochen Huber, 2018-11-21 05:05 PM

test.shx (116 Bytes) Jochen Huber, 2018-11-21 05:05 PM

Also available in: Atom PDF