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

Layout: data-defined properties on a shape item not automatically run #55557

Closed
1 of 2 tasks
DelazJ opened this issue Dec 7, 2023 · 2 comments
Closed
1 of 2 tasks

Layout: data-defined properties on a shape item not automatically run #55557

DelazJ opened this issue Dec 7, 2023 · 2 comments
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

Comments

@DelazJ
Copy link
Contributor

DelazJ commented Dec 7, 2023

What is the bug or the crash?

In a layout, I want to build a 1 ha square shape item whose size should follow the map item scale: both width and height properties are thus set to (in cm)

10000/map_get(item_variables('Map 1'), 'map_scale')

When the map scale varies, the shape item does unfortunately not change. I need to press the Refresh button to get a result.

Steps to reproduce the issue

Enregistrement.de.l.ecran.2023-12-07.a.17.29.52.mov

Versions

QGIS version 3.34.1-Prizren QGIS code revision 1339274
Qt version 5.15.2
Python version 3.9.5
GDAL/OGR version 3.3.2
PROJ version 8.1.1
EPSG Registry database version v10.028 (2021-07-07)
GEOS version 3.9.1-CAPI-1.14.2
SQLite version 3.35.2
PDAL version 2.3.0
PostgreSQL client version unknown
SpatiaLite version 5.0.1
QWT version 6.1.6
QScintilla2 version 2.11.5
OS version macOS 13.6
       
Active Python plugins
changeDataSource 3.1
qtribu 0.14.2
bdtopo_importer 0.2
MemoryLayerSaver 4.0.4
lizmap 3.8.3
StreetView 3.2
db_manager 0.1.20
MetaSearch 0.3.6
MapsPrinter 0.9
processing 2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@DelazJ DelazJ added 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 labels Dec 7, 2023
@nyalldawson
Copy link
Collaborator

Duplicate of #26657

@nyalldawson nyalldawson marked this as a duplicate of #26657 Dec 8, 2023
@DelazJ
Copy link
Contributor Author

DelazJ commented Dec 8, 2023

Sorry I didn't search for an earlier report

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! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

No branches or pull requests

2 participants