1

I'm following the Extending QgsTask example to create a custom QgsTask.

However, I don't want it to display the Task Complete notification* every time the task completes successfully.

Is it possible (preferably using PyQGIS) to suppress the "Task Complete" notification?

* In Windows 10 at least, the notification appears in the bottom right of the screen above the time (with a ding!).

2
  • you need change this parameters in your windows, check this gis.stackexchange.com/questions/304626/…
    – Fran Raga
    Commented Apr 24, 2019 at 16:33
  • Thanks @Fran Raga, though I'd much prefer to do it specifically for this task (e.g. using PyQGIS), rather than for ALL QGIS notifications
    – Jonny
    Commented Apr 25, 2019 at 8:36

1 Answer 1

2

No - there's no API available to control the notification on a task-by-task basis (as of QGIS 3.8)

1
  • Not the answer I was hoping for, but an answer nonetheless!
    – Jonny
    Commented Apr 26, 2019 at 7:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.