[modeler] Allow QGIS interaction while running an algorithm in the modeler#62961
Open
ValentinBuira wants to merge 16 commits intoqgis:masterfrom
Open
[modeler] Allow QGIS interaction while running an algorithm in the modeler#62961ValentinBuira wants to merge 16 commits intoqgis:masterfrom
ValentinBuira wants to merge 16 commits intoqgis:masterfrom
Conversation
- Allow QGIS interaction while running - Only one algorithm execution dialog is allowed per model - The dialog check if there has been any change to the model * Fix RuntimeError: wrapper C/C++ object of type AlgorithmDialog has been deleted
Contributor
🪟 Windows Qt6 buildsDownload Windows Qt6 builds of this PR for testing. 🍎 MacOS Qt6 buildsDownload MacOS Qt6 builds of this PR for testing. 🪟 Windows buildsDownload Windows builds of this PR for testing. |
nyalldawson
requested changes
Oct 1, 2025
nyalldawson
reviewed
Dec 4, 2025
69a43aa to
aa458b9
Compare
Contributor
Author
3nids
reviewed
Feb 9, 2026
| * | ||
| * \since QGIS 4.0 | ||
| */ | ||
| virtual bool isRunning(); |
Member
There was a problem hiding this comment.
can you explain in the docs the difference with isFinalized() (and potentially link them in the docs)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
This PR allow using QGIS while running an algorithm in the modeler
exemple.running.non.modal.webm
This work by :
As the side effect this:
Previously if you closed the algorithm dialog using the close button or the close window while an algorithm was running, the
QgsProcessingAlgRunnerTasktask would have outlive the dialog leading to Runtime Error. Now the dialog have a long lifespanFunded by the QGIS user group Switzerland