Bug report #22007

QgsProject.instance().clear() crashes QGIS when LayoutDesigner Window is open

Added by Peter Gipper about 5 years ago. Updated about 5 years ago.

Category:PyQGIS Console
Affected QGIS version:3.6.2 Regression?:No
Operating System:Windows 7 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:29821


To reproduce:
- Start QGIS
- Add any Layer (e.g. create new temp layer)
- Create and open a layout in the layout designer (composer) window
- Open Python console and type QgsProject.instance().clear()


#1 Updated by Giovanni Manghi about 5 years ago

  • Priority changed from Normal to High

Also available in: Atom PDF