Describe the bug
Having a desktop setup that causes libnotify_notification to fail to send a desktop notification will make sable freeze for a long time whenever it tries to show a notification.
Reproduction
- be on kde plasma
- remove the notifications icon from system tray
- receive a notification in sable with desktop notifications turned on
- it will freeze for a really long time
Expected behavior
It should fail silently or display some sort of warning instead of freezing.
Platform and versions
platform info: Sable v1.16.0 • Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Sable/0.0.1 Chrome/144.0.7559.177 Electron/40.6.0 Safari/537.36
homeserver info: continuwuity v0.5.9
Additional context
terminal output:
$ /opt/Sable/sable-matrix-client-electron
[21952:0514/211340.821053:ERROR:dbus/object_proxy.cc:573] Failed to call method: org.freedesktop.systemd1.Manager.StartTransientUnit: object_path= /org/freedesktop/systemd1: org.freedesktop.systemd1.UnitExists: Unit app-org.chromium.Chromium-21952.scope was already loaded or has a fragment file.
[21989:0514/211340.990472:ERROR:media/gpu/vaapi/vaapi_wrapper.cc:1627] vaInitialize failed: unknown libva error
(sable-matrix-client-electron:20070): libnotify-WARNING **: 21:08:16.083: Failed to connect to proxy
(sable-matrix-client-electron:20070): libnotify-WARNING **: 21:09:05.352: Failed to connect to proxy
(sable-matrix-client-electron:20070): libnotify-WARNING **: 21:09:30.376: Failed to connect to proxy
[20070:0514/211005.360400:ERROR:electron/shell/browser/notifications/linux/libnotify_notification.cc:54] notify_notification_show: domain=239 code=24 message="Timeout was reached"
[20070:0514/211035.193536:ERROR:components/dbus/xdg/request.cc:161] Request cancelled by user.
[20070:0514/211036.485887:ERROR:components/dbus/xdg/request.cc:161] Request cancelled by user.
Describe the bug
Having a desktop setup that causes libnotify_notification to fail to send a desktop notification will make sable freeze for a long time whenever it tries to show a notification.
Reproduction
Expected behavior
It should fail silently or display some sort of warning instead of freezing.
Platform and versions
platform info: Sable v1.16.0 • Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Sable/0.0.1 Chrome/144.0.7559.177 Electron/40.6.0 Safari/537.36 homeserver info: continuwuity v0.5.9Additional context
terminal output: