After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788313 - 1.8.4, git master nm-applet hangs if no notification daemon installed
1.8.4, git master nm-applet hangs if no notification daemon installed
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: nm-applet
git master
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-09-28 20:53 UTC by Benjamin Braun
Modified: 2020-11-12 14:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Benjamin Braun 2017-09-28 20:53:26 UTC
My conditions:
 - No notifaction daemon running
 - 1.8.4 or git-master nm-applet (1.8.5)
 - OpenBox DE
 - Connect or disconnect from a network

Expected behavior:
 - No hanging, and no notification

What happens:
 - nm-applet becomes unresponsive for a long while, until a time-out is reached with the following stderr messages:

(nm-applet:1139): libnotify-WARNING **: Failed to connect to proxy

(nm-applet:1139): nm-applet-WARNING **: Failed to show notification: Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached

Running dunst or another notification daemon resolves.
Comment 1 Benjamin Braun 2017-09-28 23:29:17 UTC
Correction: XFCE desktop environment, OpenBox window manager, archbang distro.
Comment 2 Benjamin Braun 2017-09-29 22:23:43 UTC
nm-applet --no-agent also disables notifications, and is a workaround for those without a notification daemon installed.
Comment 3 mark.vanrossum 2017-10-26 10:44:39 UTC
Good catch, I have similar problems under MATE, because although notify-send is installed not working properly (a fairly common problem).
Comment 4 André Klapper 2020-11-12 14:31:28 UTC
bugzilla.gnome.org is being shut down in favor of a GitLab instance. 
We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).