Opened 15 years ago
Closed 14 years ago
#2008 closed bug (fixed)
print composer grid feature freezes qgis if the test layer is not in a geographic CRS
Reported by: | lutra | Owned by: | mhugent |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | Version 1.4.0 |
Component: | Printing | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | Debian |
Platform Version: | Awaiting user input: | no |
Description
See summary. Tested under ubuntu 9.04, qgis trunk and a few simple shapefiles used singularly.
Attachments (3)
Change History (9)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Hi,
you are probably right (I don't have qgis compiled at hand now), but if I'm not wrong the program freezes right after selecting the grid checkbox, before selecting the intervals.
comment:3 by , 15 years ago
Hi, I compiled the latest code and gave a look again.
Actually I confirm my observations: if the layers/project are defined in a geog. crs no problem. If are in a projected crs then qgis freezes.
When I open the grid widget by activating the proper checkbox, the widget doesn't let me do anything, not even changing the intervals or checking "show grid".
The test is as simple as using one of the shapefiles of the qgis sample dataset. Tested under unbuntu 9.04.
Moreover I attach two screenshots to have a look to two more problems: a) when not docked the widget has no window "decorator" (is the right name?), so is not possible to move it around. When docked the widget is not usable because overlaps with other controls (I have a 1680x1050 screen).
thanks
by , 15 years ago
Attachment: | Screenshot.png added |
---|
by , 15 years ago
Attachment: | Screenshot-1.png added |
---|
comment:4 by , 15 years ago
Hi Lutra
Ah, I see what you mean. r11820 should fix the freeze. Also, the spin boxes take now only effect if return is pressed or they loose focus. So it's much easier to find the right interval without going through many unnecessary draws.
I confirm the 2 additional problems.
comment:5 by , 15 years ago
Hi Marco, thanks for the fix. It seems to work now. But I confirm also your first impression. If the selected x/y interval is too small (compared to map units and zoom level) then it takes a looong time to draw the grid, in some cases this can so much that can be the same as a freeze.
by , 15 years ago
Attachment: | Screenshot.2.png added |
---|
screenshot on how I see now the "cross" grid type
Probably the number you enter for x- and y-interval is too small. Therefore it takes a very long time to draw the lines