Bug report #2008
print composer grid feature freezes qgis if the test layer is not in a geographic CRS
|Affected QGIS version:||Regression?:||No|
|Operating System:||Debian||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||12068|
See summary. Tested under ubuntu 9.04, qgis trunk and a few simple shapefiles used singularly.
#3 Updated by Giovanni Manghi about 11 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).
#4 Updated by Marco Hugentobler about 11 years ago
Ah, I see what you mean. d7bb27d2 (SVN r11821) 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.
#5 Updated by Giovanni Manghi about 11 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.