Print Composer ignores width values from expression #25272
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Print Layouts
Related to QGIS Print Layouts, Atlas or Reporting frameworks
Author Name: zimirrr leonid (zimirrr leonid)
Original Redmine Issue: 17375
Affected QGIS version: 2.14.17
Redmine category:map_composer/printing
Hello. I found strange thing.
I have a project where lines width is calculated with such expression:
@"width_coefficient" + to_real( @TEST_VAR_WIDTH )@
where @"width_coefficient"@ is column and @TEST_VAR_WIDTH global variable in qgis.
Here how layer looks like when @TEST_VAR_WIDTH = 0
!step1.jpg!
And now @TEST_VAR_WIDTH = -0.5
!step2.jpg!
Everything works fine but when I try to print as pdf from composer I get all lines.
See export_pdf.pdf
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
The text was updated successfully, but these errors were encountered: