Bug report #17863
Zoom to layer has inconsistent behavior with filter
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Alessandro Pasotti | ||
Category: | Unknown | ||
Affected QGIS version: | master | Regression?: | Yes |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | Yes | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 25758 |
Description
Apply filter to existing layer. Click "Zoom to layer". Save project file, close, and reopen. Click "Zoom to layer". Zoom now changes behavior as if there is no filter at all.
Tested with Spatialite layer and Shapefile.
Associated revisions
[bugfix][ogr] Update extent when subsetstring is set in the ctor
Fixes #17863 - Zoom to layer has inconsistent behavior with filter
[bugfix][spatialite] Update extent when subsetstring is set in the ctor
Fixes #17863 - Zoom to layer has inconsistent behavior with filter
History
#1 Updated by Alessandro Pasotti almost 7 years ago
- Assignee set to Alessandro Pasotti
#2 Updated by Alessandro Pasotti almost 7 years ago
Interesting: geopackage is not affected but spatialite and shpefile are ....
#3 Updated by Alessandro Pasotti almost 7 years ago
- Pull Request or Patch supplied changed from No to Yes
- Status changed from Open to In Progress
This was indeed a problem with extent and feature count not being updated on (ogr and spatialite) filtered layers when they were created.
See PR https://github.com/qgis/QGIS/pull/6173
#4 Updated by Anonymous almost 7 years ago
- % Done changed from 0 to 100
- Status changed from In Progress to Closed
Applied in changeset qgis|e9c9b5dfb6016322d60add6277ee3e0ab5e9113e.
#5 Updated by Giovanni Manghi almost 7 years ago
- Resolution set to fixed/implemented