Bug report #16359
In the print composer dynamically referencing to page size presets leads to wrong expression evaluation
|Affected QGIS version:||2.18.4||Regression?:||No|
|Operating System:||Debian Jessie||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||not reproducable|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||24269|
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.