Bug report #1311
Zoom to a single point causes the program to freeze
|Affected QGIS version:||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||11371|
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)
- "he" used in the old gender neutral sense
#2 Updated by zachariahyoder - over 11 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.
#3 Updated by Magnus Homann over 11 years ago
- Status changed from Open to In Progress
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 #3905.
#4 Updated by zachariahyoder - over 11 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
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.
#7 Updated by Giovanni Manghi over 10 years ago
- Status changed from Closed to Feedback
- Resolution deleted (
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