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)

Screenshot.png (63.1 KB ) - added by lutra 15 years ago.
Screenshot-1.png (27.0 KB ) - added by lutra 15 years ago.
Screenshot.2.png (93.3 KB ) - added by lutra 15 years ago.
screenshot on how I see now the "cross" grid type

Download all attachments as: .zip

Change History (9)

comment:1 by mhugent, 15 years ago

Probably the number you enter for x- and y-interval is too small. Therefore it takes a very long time to draw the lines

comment:2 by lutra, 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 lutra, 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 lutra, 15 years ago

Attachment: Screenshot.png added

by lutra, 15 years ago

Attachment: Screenshot-1.png added

comment:4 by mhugent, 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 lutra, 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 lutra, 15 years ago

Attachment: Screenshot.2.png added

screenshot on how I see now the "cross" grid type

comment:6 by lutra, 14 years ago

Resolution: fixed
Status: newclosed

it seems all fine to me now.

Note: See TracTickets for help on using tickets.