Bug report #22007

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

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

Status:Open
Priority:High
Assignee:-
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

Description

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()

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Priority changed from Normal to High

Also available in: Atom PDF