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 '19 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 '19 at 8:36
1

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

| improve this answer | |
  • Not the answer I was hoping for, but an answer nonetheless! – Jonny Apr 26 '19 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.