0

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!).

  • you need change this parameters in your windows, check this gis.stackexchange.com/questions/304626/… – Fran Raga Apr 24 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 Apr 25 at 8:36
0

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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