I would like to programmatically show a processing algorithm 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
from processing.gui.AlgorithmDialog import AlgorithmDialog from qgis.core import QgsApplication alg = QgsApplication.processingRegistry().algorithmById('qgis:extractbyattribute') dlg = AlgorithmDialog(alg, False, iface.mainWindow()) dlg.show() dlg.exec_()
This opens algorithm dialog and let me perform processing computations but once closed the dialog window QGIS become unstable and crash without any message interacting with the user interface.
What am I doing wrong? Is there a method to do this in other way?