Opened 16 years ago

Closed 15 years ago

#1311 closed bug (fixed)

Zoom to a single point causes the program to freeze

Reported by: zachariahyoder Owned by: mhugent
Priority: critical: causes crash or data corruption Milestone: Version 1.2.0
Component: Vectors Version: Trunk
Keywords: zoom single point Cc:
Must Fix for Release: No Platform: Windows
Platform Version: Windows XP Home Awaiting user input: yes

Description

Rather than simply doing nothing, when I select a single point and choose "zoom to selection" the CPU goes to 100% and the program freezes.

Logically the user shouldn't want to zoom to a single point (except when he*'s found the point using the database Table find feature)

Related to #80 (and also #651 and #154).

  • "he" used in the old gender neutral sense

Attachments (1)

ExampleZoomError.zip (4.6 KB ) - added by zachariahyoder 15 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by mhugent, 16 years ago

What is the version you are using? It seems to me that this problem is fixed in current svn trunk (tested on Linux, but seems to be very unlikely that this is platform specific).

comment:2 by zachariahyoder, 16 years ago

I am testing on version 0.11.0 (and also 0.10.0).

I agree that it seems like a bug like this would affect all platforms, but I'm afraid at the moment I can only report what I am experiencing.

It is difficult for me to download large (70+MB) files where I work, but let me know if you want me to try with any other version.

comment:3 by homann, 16 years ago

Awaiting user input: set
Owner: changed from nobody to homann
Status: newassigned

Do you have rasters loaded in your canvas when you do this selection. For me, that makes the computer freeze *for a while*. This is due to the fact that zooming ratsers can be really slow sometimes.

If in fact you do not have any rasters loaded, we're back to square #1.

comment:4 by zachariahyoder, 15 years ago

No, I don't have any rasters loaded. However, I do have a shape with a dash-dot outline style surrounding the point.

In the attached file the problem DOES NOT occur:

a) If you zoom to "Point A" which is not within a polygon b) If you zoom to "Point D" while the outline style for the ExamplePolygon is solid line

However, if

a) you select "Point D" AND b) you choose "zoom to selection" WHILE c) the outline style for ExamplePolygon is "dash dot line"

The CPU goes to 100% and (for me) never comes back out again, and I have to force the program to close. (But maybe my computer isn't fast enough or I'm not patient enough)

I suspect #1344 may be related to this.

Note: ExamplePolygon refers to an attached file, not the reference it wants to automatically link to.

by zachariahyoder, 15 years ago

Attachment: ExampleZoomError.zip added

comment:5 by pcav, 15 years ago

Is this still valid? I have tested it rather extensively, and it never occurred to me: can we colse it down?

comment:6 by pcav, 15 years ago

Resolution: fixed
Status: assignedclosed

In the absence of further confirmation, I'm closing it down. Please reopen it if appropriate.

comment:7 by lutra, 15 years ago

Milestone: Version 1.0.2Version 1.2.0
Resolution: fixed
Status: closedreopened

Unfortunately I have to re-open this ticket, as I confirm this behaviour under Windows. I tested qgis Qgis 1.2 (rev. 10972M) installed from OSGeo4W under windows XP Professional.

I tested with the provided vectors and also with others made on purpose.

Pick a polygon and a point layer with a one or more points overlapping the polygon. Change the symbology of the outline of the polygon to something different from "solid line". Select a point that overlaps the polygon and then "zoom to selection".

Result is: QGIS freezes.

This don't happens (at least) with QGIS > 1.1 under Ubuntu 9.04

comment:8 by lutra, 15 years ago

Owner: changed from homann to mhugent
Status: reopenednew

in reply to:  8 comment:9 by jef, 15 years ago

Resolution: fixed
Status: newclosed

fixed in r10994

Note: See TracTickets for help on using tickets.