Bug report #17863
Zoom to layer has inconsistent behavior with filter
|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|
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.
[bugfix][ogr] Update extent when subsetstring is set in the ctor
Fixes #17863 - Zoom to layer has inconsistent behavior with filter
#3 Updated by Alessandro Pasotti almost 3 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