Bug report #13886
Applying qml old style make legend height crazy and then crash QGIS
|Affected QGIS version:||2.12.0||Regression?:||No|
|Operating System:||Ubuntu||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||21908|
Linux Ubuntu 14.04 64 bits with QGIS 2.12
How to reproduce (if not due to my platform)?
Download QML file from https://raw.githubusercontent.com/charleyglynn/OSM-Shapefile-QGIS-stylesheets/master/QML%20files/roads.qml
Then, go to Geofabrik to get SHP files from http://download.geofabrik.de/europe/france/champagne-ardenne-latest.shp.zip
Create a new project and add the downloaded layer roads.shp file.
Apply the QML style roads.qml to roads.shp layer
#2 Updated by Thomas Gratier over 4 years ago
It seems to be due to the units for styling (my default project was using EPSG 4326, hence degrees) and my styles depends from map units. So, my width for lines was 3 or 4 degrees sometimes.
Anyway, this behaviour should raise an error or a warning to say "Your width is too large considering the units configuration, you should change it" instead of the error that lead to "dumb" memory consumption.