Bug report #17375
Print Composer ignores width values from expression
|Affected QGIS version:||2.14.17||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||not reproducable|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||25272|
Hello. I found strange thing.
I have a project where lines width is calculated with such expression:
"width_coefficient" + to_real( @TEST_VAR_WIDTH )
"width_coefficient" is column and @TEST_VAR_WIDTH global variable in qgis.
Here how layer looks like when @TEST_VAR_WIDTH = 0
And now @TEST_VAR_WIDTH = -0.5
Everything works fine but when I try to print as pdf from composer I get all lines.
I've created test qgis project with one layer and composer. You can try it yourself.
QGIS version 2.14.17-Essen
Compiled against Qt 4.8.5
Compiled against GDAL/OGR 2.2.1
Compiled against GEOS 3.5.0-CAPI-1.9.0