Zren / plasma-applet-eventcalendar

https://store.kde.org/p/998901/
470 stars 93 forks source link

Timer Notifications in Do Not Disturb Mode #229

Open Zren opened 3 years ago

Zren commented 3 years ago

In #209 @madjoe discovered that not only does the notification not appear, but it seems the libcanberra sound effect does not play when it Plasma's "do not disturb mode".

We previously used QML's QMultimedia to play the sound effect, which is an "app audio stream". However now we play using libcanberra to play a "sound effect" which apparently is either muted in Plasma or Canberra detects it and doesn't skips playing the sound.

Event Starting notifications definitely should not display or sound in DND mode.

However should a short term timer bypass the DND? I don't even know if we can (as I don't want to migrate from libcanberra to fix this).

TODO: Find out exactly why+where libcanberra sfx does not play the sound.