Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#1008 closed bug (fixed)

zoom to layer missbehaves when the layer is a single vector point

Reported by: msieczka Owned by: nobody
Priority: major: does not work as expected Milestone:
Component: MapCanvas Version: Trunk
Keywords: Cc:
Must Fix for Release: Yes Platform: All
Platform Version: Awaiting user input: no

Description

  1. Open the attached shapefile in QGIS.
  1. Zoom to layer.
  1. 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.

Attachments (1)

pts.tar.bz2 (608 bytes ) - added by msieczka 15 years ago.
single vectro point Shapefile

Download all attachments as: .zip

Change History (4)

by msieczka, 15 years ago

Attachment: pts.tar.bz2 added

single vectro point Shapefile

comment:1 by jef, 15 years ago

fixed in r8268

comment:2 by jef, 15 years ago

Resolution: fixed
Status: newclosed

comment:3 by (none), 14 years ago

Milestone: Version 0.9.2

Milestone Version 0.9.2 deleted

Note: See TracTickets for help on using tickets.