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
QGIS crashes when undoing moving of elements in map layout #52740
Comments
I fail to reproduce in master. Could you share a sample project/data and tell what element you try to move |
Thanks for having a look into it! I’ll try to find a reproducible example. So far, the problem occured mostly on complex projects and semi-randomly (it seems to be more likely when working quickly, i.e. moving elements quickly and immediately undoing). |
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". |
I didn’t manage to reproduce this with a simple project. The project where the undo issue happens is quite big and contains confidential data, so I cannot share it. |
I managed to reproduce the issue with the project from #52268 and the following steps
I'm gonna propose a fix for this issue |
What is the bug or the crash?
Bug report from crash dialog:
User Feedback
I have moved elements in the map layout (using cursor keys) and then pressed Undo (Ctrl Z).
Report Details
Python Stack Trace
Stack Trace
QGIS Info
QGIS Version: 3.28.5-Firenze
QGIS code revision: 50adba3
Compiled against Qt: 5.15.3
Running against Qt: 5.15.3
Compiled against GDAL: 3.6.3
Running against GDAL: 3.6.3
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19045
Steps to reproduce the issue
Happens not always but quite often. I think it is more likely when pressing the keys quickly. My layout is rather complex (atlas with several maps and labels/tables with expressions).
Versions
<style type="text/css"> p, li { white-space: pre-wrap; } </style>Aktive Python-Erweiterungen
address_search
0.1
pg_metadata
1.2.2-gci2
quick_map_services
0.19.33
SpreadsheetLayers
2.1.0-alpha1
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.6
processing
2.12.99
sagaprovider
2.12.99
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: