Bug report #17426
regression: adding new features to point/multipoint layers fails to render until layer saved
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | - | ||
Category: | Data Provider | ||
Affected QGIS version: | master | Regression?: | Yes |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 25323 |
Description
A regression slipped into the memory provider under QGIS master whereas added features to a point memory layer fails to draw the added features until the layer is saved.
Steps to reproduce- Create a new project
- Create a new memory layer, set it to point (or multipoint)
- The created layer should already be in edit mode, if not switch it on
- Add a point feature
- Notice you will not see the newly added point on the canvas
- Hit the "save layer edits" toolbar button
- Notice the added feature now appears
Associated revisions
Trigger layer repaint when adding field-less features (fixes #17426)
History
#1 Updated by Mathieu Pellerin - nIRV about 7 years ago
The regression occurs with memory point layers having no fields.
#2 Updated by Mathieu Pellerin - nIRV about 7 years ago
- Subject changed from regression: adding new features to a point/multipoint memory layers fails to render until layer saved to regression: adding new features to point/multipoint layers fails to render until layer saved
Note: this actually impacts not only memory provider's point layers, the regression is also present with field-less shapefile (i.e. ogr provider) point layers.
#3 Updated by Mathieu Pellerin - nIRV about 7 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|e7a1c0440abaf144636e8e607f0ed347cf92d308.