Sending notify with sound cause desktop notify popup function hang
Hi,
I use ubunt20.04 with gnome-shell version 3.36.4
The issue is if I send a desktop notify with sound file, this will cause pop up window function of desktop notify fail and there will be no pop up window latter on for all notification events.
Here is how you can reproduce this issue
-
install ubunt20.04 (or any os using gnome-shell 3.36.4)
-
install emacs27 from this ppa
-
change to your sound file path in below code, then evaluate it (put your cursor behind last parenthesis, then press
Ctrl-x e
)what it should be:
this will send a desktop notify, which should popup a window showing "play sound" and also play the sound file.
what it actually is:
this will cause the desktop notify popup window function fail, there will be no more popup window for all notifications (not only emacs), the notifications only shown in the notification center, but no popup.
(progn
(require 'notifications)
(notifications-notify
:title "play sound"
:sound-file "/path/to/sound.wav"
)
)
- remove the
:sound-file
line, restart gnome-shell, then re-eval above code,then all works fine - I checked on ubunt18.04, with same emacs from above ppa, there is no such issue.
- So it seems gnome3.36 have trouble for notifications with sound file.
- If gnome-shell no longer support sound-file notify function, then I think it should deal with it properly,ignore it for example instead of hang there and cause all popup window fail.