zoom to layer missbehaves when the layer is a single vector point
- Open the attached shapefile in QGIS.
- Zoom to layer.
- Map canvas becomes blank. Current map scale dialog does not get updated. Zoom tools start behaving strange - mouse scroll zooming does not work, click-zoom in/out and box-zoom out either. Only box-zoom in is OK. Once you box-zoom in or zoom to another layer all is fine again.
Debug output after zoom to single point layer:
Debug: /home/shoofi/src/straight/qgis09/src/gui/qgsmapcanvas.cpp: 452: (setExtent) Setting empty extent!
Debug: /home/shoofi/src/straight/qgis09/src/core/qgsmaprender.cpp: 202: (render) ========== Rendering ==========
Debug: empty extent... not rendering
QgsGrassPlugin::postRender()
Might be related to #651 #154 and #80.
single vectro point Shapefile