<div dir="ltr"><div>Hi QGIS developers,</div><div><br></div><div>I would like to programmatically show a processing algoritm dialog from python. I gived a look to processing toolbox and I found that this is possible importing and instantiating the class AlgorithmDialog [gui/processingToolbox.py][1]</div><br>    from processing.gui.AlgorithmDialog import AlgorithmDialog<br>    from qgis.core import QgsApplication<br><br>    alg = QgsApplication.processingRegistry().algorithmById('qgis:extractbyattribute')<br>    dlg = AlgorithmDialog(alg, False, iface.mainWindow())<br>    dlg.show()<br>    dlg.exec_()<br><br>This opens algorithm dialog and let me perform processing computations but once closed the dialog window QGIS become instable and crash without any message interacting with the user interface.<br><br><div>What am I doing wrong? Is there a method to do this in other way?</div><div><br></div><div>I just posted the question on StackExchange: <a href="https://gis.stackexchange.com/questions/348542/open-qgis-prococessing-algorithm-dialog-with-python">https://gis.stackexchange.com/questions/348542/open-qgis-prococessing-algorithm-dialog-with-python</a></div><div><br><div>Thanks in advance.</div><div>Enrico Ferreguti.<br></div></div><br>  [1]: <a href="https://github.com/qgis/QGIS/blob/276a31439eb95f9cdb1053a6ae2dba3f19fbcece/python/plugins/processing/gui/ProcessingToolbox.py#L262">https://github.com/qgis/QGIS/blob/276a31439eb95f9cdb1053a6ae2dba3f19fbcece/python/plugins/processing/gui/ProcessingToolbox.py#L262</a></div>