Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In the print composer dynamically referencing to page size presets leads to wrong expression evaluation #24269

Closed
qgib opened this issue Mar 16, 2017 · 3 comments
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

Comments

@qgib
Copy link
Contributor

qgib commented Mar 16, 2017

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.

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0
  • regression was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Dec 19, 2017

Author Name: Nyall Dawson (@nyalldawson)


Please retest using layouts engine on qgis 3.0 master


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Aug 15, 2018

Author Name: Giovanni Manghi (@gioman)


Closing for lack of feedback.


  • resolution was changed from to not reproducable
  • status_id was changed from Feedback to Closed

@qgib qgib closed this as completed Aug 15, 2018
@qgib qgib added 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 labels May 25, 2019
@qgib qgib added this to the Version 2.18 milestone May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant