[Qgis-user] A bug and a crash for qgis 2.2 and qgis-dev on windows

Andrea Peri aperi2007 at gmail.com
Thu May 1 08:59:48 PDT 2014


Hi,

we are experiencing a qgis crash using the svg symbols.

We test this on windows using qgis 2.2 and qgis-dev update just today.

This is the reproducible steps:

1th)
Create a new empty project.
After this add to the project a multipolygon shapefile, and rendering the
polygon
from
layer-properties -> style -> SVG fill -> choose any svg file available.
(we choose golf.svg)
accept it and save the project.

after close the project and re-opened it

You can see that in the style -> data-definition section there is an
expression
"svgOutlineWidth_expression" in "border width" section of data-definition.

This is a first bug because we don't set this expression . It is add from
qgis.

This bug is more serious than what you can thing because it can easily
produce a crash of qgis.

Infact if we suppose that the svg is missing in the PC that open the
project.
You can think to use an user customized svg and think to forget to pass it
with the project to other users, or set the wrong path in SVG paths.

To simulate this missing is sufficiente close the project and rename
temporaly the
svg file used.

After reopened the qgis and zoom on the dataset it crash immediatelly.

Andrea.


-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140501/eecf58dd/attachment.html>


More information about the Qgis-user mailing list