Bug report #20441
Unable to stop executing GDAL algorithm
|Affected QGIS version:||3.4.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||28261|
Raster -> Conversion -> Polygonize (raster to vector).
This process was taking a very long time and I wanted to stop it.
I clicked the progress bar in the status bar below the main map view and tried clicking the red "X", but it does nothing.
Exit QGIS (CTRL+Q) prompts if I want to attempt to cancel the active task, but does not succeed at this.
My final solution was to terminate the QGIS process manually via Windows Task Manager.
[processing] don't show cancel button in the task manager for algorithms that can not be cancelled (refs #20441)
#6 Updated by Alexander Bruy 12 months ago
- Resolution set to fixed/implemented
- Status changed from Open to Closed
- Priority changed from High to Normal
- Operating System deleted (
Windows 7 x64)
Actually GDAL algorithms (as well as SAGA and GRASS) can not be cancelled, see #18600. Confusion comes from the fact that in QGIS task manager we still have a cancel button for them. Here is PR to fix this https://github.com/qgis/QGIS/pull/9026.
Closing this, as implementing cancellation support is a feature request and we already have #20060 for it.