Bug report #21624
Layouts with variables/expressions do not update properly after page format change
|Affected QGIS version:||3.7(master)||Regression?:||Yes|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||29440|
When using variables and expressions in a layout in order to position and size items (e.g. @layout_pagewidth and @layout_pageheight in combination with an expression), then the items do not update properly after a change of page size or orientation.
The sample project contains 2 layouts: "Test" and "Test 2". The first contains only a rectangle, the second one a full layout with all items positioned and sized dynamically.
In QGIS master (3.7) and LT version (3.4 master) it updates, after pressing the "Refresh View" button.
This used to work in the past. The issue did once appear, was fixed, but now it reincarnated again.