Bug report #11351
[composer] combinations of frame/multiframe undo/redo crashes qgis
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||19642|
Mixing combinations of frame and multiframe undo and redo operations results in a crash.
[composer] Avoid crash when using redo on multiframe (fix #11351)
Since multiframe changes can remove and create new frame items,
it's not safe to directly manipulate frame items in
QgsComposerItemCommand. Now, commands which apply to a frame always
fetch a reference to the correct frame item directly from the
parent multiframe. Also added unit tests for this crash.
#1 Updated by Giovanni Manghi over 8 years ago
- Crashes QGIS or corrupts data changed from No to Yes
- Priority changed from Normal to High
#2 Updated by Nyall Dawson over 8 years ago
- Status changed from Open to Closed
Fixed in changeset 4ea5c8094851f9f71c0af2d9dde8eebc879dedb2.