Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
gnome-shell
gnome-shell
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,313
    • Issues 1,313
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 112
    • Merge Requests 112
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • gnome-shellgnome-shell
  • Issues
  • #3768

Closed
Open
Opened Feb 23, 2021 by ZONGTAO WANG@wztdream

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

  1. install ubunt20.04 (or any os using gnome-shell 3.36.4)

  2. install emacs27 from this ppa

  3. 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"
   )
)
  1. remove the :sound-file line, restart gnome-shell, then re-eval above code,then all works fine
  2. I checked on ubunt18.04, with same emacs from above ppa, there is no such issue.
  3. So it seems gnome3.36 have trouble for notifications with sound file.
  4. 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.
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gnome-shell#3768