Bug report #14406
layer extent not updated after editing feature
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Vectors | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 22387 |
Description
In 2.14, a dataset extend change as a result of saving feature edits fails to update (cached?) layer extend.
Steps to reproduce- Create a new project
- Add the attached box shapefile dataset, and switch edit on
- Zoom out of a few steps, and enlarge the square-ish polygon already present
- Save the changes and switch edit off
- Right click on the layer, and select "zoom to layer"
- You'll notice it actually zooms to the extend of the layer prior to the edits you just saved
History
#1 Updated by Mathieu Pellerin - nIRV over 8 years ago
Note: the layer extend doesn't get updated when you expand / shrink existing feature, but it will probably update if the extend is expanded via feature creation.
#2 Updated by Mathieu Pellerin - nIRV over 8 years ago
- Resolution set to fixed/implemented
- Target version changed from Future Release - High Priority to Version 2.16
- Status changed from Open to Closed
Fixed in commit 4ece916728da95b7fd98e8f46564df3cc0826fcb
Thanks Nyall.
#3 Updated by Jürgen Fischer over 8 years ago
- Subject changed from layer extend not updated after editing feature to layer extent not updated after editing feature