Bug report #15203

feature ordering randomly fails when panning / zooming canvas

Added by Mathieu Pellerin - nIRV over 8 years ago. Updated about 7 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:Matthias Kuhn
Category:Unknown
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:23141

Description

The settings of layer's feature rendering order appear to randomly fail when zooming / panning around the QGIS' canvas. See attached screencast (bug.mp4).

Steps to reproduce
  1. Create a new project
  2. Add a vector layer dataset with feature overlap(s) which can be sorted to be above / below one another
  3. Activate the [x] control feature rendering order, sort by a given column (in the above screencast, I'm sorting a text column)
  4. Click on the [ Apply ] button (* live update doesn't work with rendering order)
  5. Start panning around, notice the rendering order is randomly failing

bug.mp4 (921 KB) Mathieu Pellerin - nIRV, 2016-07-03 07:50 PM

Associated revisions

Revision 5d4836e9
Added by Mathieu Pellerin - nIRV over 8 years ago

add quotes to field name is the rendering order settings dialog (#3270)

(fixes #15203)

History

#1 Updated by Mathieu Pellerin - nIRV over 8 years ago

More on this: the issue has to do with sorting of a field which name is an expression engine function (i.e. field name YEAR, expression function year()). The code must fail to put the field name in between "quotation marks".

#2 Updated by Matthias Kuhn over 8 years ago

Is that fixed with https://github.com/qgis/QGIS/pull/3269 ?

(FYI, if you put "Fix #15203" into the commit message, the issue will be linked and closed)

#3 Updated by Matthias Kuhn over 8 years ago

  • Status changed from Open to Feedback

#4 Updated by Mathieu Pellerin - nIRV over 8 years ago

  • Status changed from Feedback to Closed

#5 Updated by Jürgen Fischer about 7 years ago

  • Category set to Unknown

Also available in: Atom PDF