Bug report #19930
"Zoom to feature" does not work
|Affected QGIS version:||3.2.3||Regression?:||No|
|Operating System:||linux (ubuntu bionic)||Easy fix?:||No|
|Pull Request or Patch supplied:||Yes||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||27753|
The "Zoom to Feature" action in the attribute table is not working as I would expect. If I:
- Create a SQL layer from a spatialite data source
- Select "Open attribute table..." for this layer
- Create a field filter
- Search for a particular value
- Right click on the result row and select "Zoom to feature"
...then QGIS reports "Zoom to feature id failed: Feature not found".
The feature exists (I'm looking at it in the attribute table). The feature has a unique id, and the corresponding column is identified as the unique id column.
#8 Updated by Lars Kellogg-Stedman about 2 years ago
I see the same behavior in the latest nightly build (208571a). I've recorded a video of the behavior here in case I'm neglecting something in my description of the problem: https://youtu.be/Xk0vMaVsypY
Let me know if you would like more information.
#9 Updated by Alessandro Pasotti about 2 years ago
Thanks for the video!
Since we don't know exactly where the problem is, it would be really helpful if you could share some data and a project to test with (plus the SQL query that you set in db-manager), this would make it easier to replicate your scenario.