In the print composer dynamically referencing to page size presets leads to wrong expression evaluation #24269
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Expressions
Related to the QGIS expression engine or specific expression functions
Milestone
Author Name: Johanna Seibert (Johanna Seibert)
Original Redmine Issue: 16359
Affected QGIS version: 2.18.4
Redmine category:expressions
In the print composer a preset page size is set (e.g. A0). Item sizes/positions are defined using expression evaluation like "@layout_pagewidth -10". When changing the preset page size, it is expected that the item variable follows the change. However, the expression seems to be evaluated with the old layout presets. A work around is saving the project with the new page sizes and after reload the expression has been correctly evaluated.
The text was updated successfully, but these errors were encountered: