Bug report #7660

all features disappear when editing layer feature(s) under {categorized,graduated,rule-based} symbology

Added by Mathieu Pellerin - nIRV almost 11 years ago. Updated almost 11 years ago.

Assignee:Martin Dobias
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:duplicate
Crashes QGIS or corrupts data:No Copied to github as #:16580


That should be fixed prior to 2.0, pretty scary behavior. When a layer symbology is set to categorized, graduated, or rule-based, all features will disappear when editing feature(s) on that layer. If the user then leave the edit mode (saving changes or not), all features will reappear.

Steps to reproduce:
1. Load the attached shapefile (featuresgone.shp) into a new project
2. Open the featuresgone layer property window, switch style to categorized (using 'blah' column), and apply
3. Toggle edit mode on for the featuresgone layer
4. Move a feature with the node tool

At that stage, only the feature moved will remain visible, all the other features are gone. The features are still there, simply not drawn. Saving the layer by leaving the edit mode will re-draw all features.

Data stays, but it's super scary behavior :)

featuresgone.zip.zip (1.26 KB) Mathieu Pellerin - nIRV, 2013-04-20 01:12 AM

Related issues

Duplicates QGIS Application - Bug report #7472: vector editing errors Closed 2013-03-29


#1 Updated by Giovanni Manghi almost 11 years ago

confirmed here.

#2 Updated by Mathieu Pellerin - nIRV almost 11 years ago

Forgot to mention that there is an error that shows up in the log window when going through the steps above which says: "Already active iterator on this provider was closed".

#3 Updated by Olivier Dalang almost 11 years ago

It seems this was already reported twice :

#4 Updated by Nathan Woodrow almost 11 years ago

  • Assignee set to Martin Dobias

#5 Updated by Mathieu Pellerin - nIRV almost 11 years ago

  • Resolution set to duplicate
  • Status changed from Open to Closed

Closing as this is reported already in other bugs, main one being #7472.

Also available in: Atom PDF