-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Temporal Controller hangs when exporting animation with complex expression #65679
Description
What is the bug or the crash?
I have a QGIS project where I am trying to animate a GPS track and display the information about the track on on the canvas as a label. Everything works well and the animation plays smoothly via the Temporal Controller. But when you click the "Export Animation" and start the export, QGIS hangs.
I have narrowed it down to a complex aggregate() expression which is causing this. Removing the aggregate expression makes the export go smoothly. Also displaying the information via a Title decoration works even with the aggregate() expression. So the issue is related to rendering the label by evaluating the label expresion from the layer.
Steps to reproduce the issue
I have attached a GeoPackage containing the QGIS project and the data layers here. To reproduce
- Download the gps.gpkg.zip
and unzip it. - Browse to the
gps.gpkgin the Browser and Expand it. and drag-and-drop theGPS_Animationproject - Open the temporal controller and set to Animated temporal navigation. Click 'Play'.
- The animation plays smoothly and both time and distance labels update.
- Click Export Animation, choose a folder and click 'Save'
- QGIS Hangs
Versions
The same issue applies to QGIS 3.44 as well.
| QGIS version | 4.0.0-Norrköping |
| QGIS code revision | 1ddcee3d |
| Libraries | |
| Qt version | 6.9.3 |
| Python version | 3.12.11 |
| GDAL version | 3.12.0 — Chicoutimi |
| PROJ version | 9.7.1 |
| EPSG Registry database version | v12.029 (2025-10-03) |
| GEOS version | 3.14.1-CAPI-1.20.5 |
| SFCGAL version | 2.2.0 |
| GeographicLib version | No support |
| SQLite version | 3.51.1 |
| PDAL version | 2.9.3 |
| PostgreSQL client version | 16.9 |
| SpatiaLite version | 5.1.0 |
| QWT version | 6.3.0 |
| QScintilla2 version | 2.14.1 |
| OS version | macOS Tahoe (26.1) |
| Active Python plugins | |
| MetaSearch | 0.3.6 |
| QuickOSM | 2.5.1 |
| db_manager | 0.1.20 |
| grassprovider | 2.12.99 |
| processing | 2.12.99 |
| quick_map_services | 1.2.1 |
Supported QGIS version
- I'm running a supported QGIS version according to the roadmap.
New profile
- I tried with a new QGIS profile
No Duplicate of the Issue
- I have verified that there are no existing issues raised related to my problem.
Additional context
No response