Bug report #15122
Map canvas gets stuck after doing pan on a null geometry feature
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Debian Stretch||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||23063|
When running the "Pan map to the selected rows" tool on a row that has NULL geometry the canvas gets stuck to the extent.
Using the pan tool is useless as the canvas is frozen in that position.
You can unfreeze the canvas by clicking "Zoom to Extents" or "Zoom last tools".
I've tested with QGIS 2.4.3 and Master on Debian Stretch, with Sqlite and Postgis as data sources.
I'm attaching data to reproduce the problem.
Steps to reproduce:
- Open project
- Open attribute table and select only the row with id 2 or name "No geometry"
- Press the "Pan map to the selected rows"
- Try to pan the map