SwayNotificationCenter
SwayNotificationCenter copied to clipboard
[Bug] Notifications fail to show with notify-send
Describe the bug
Regressed by #304 (6dafd54929ad, functions.vala). Affects notify-send (from libnotify) but not noti. Creating notifications via notify-send doesn't work unless swaync is launched with -c /null .
To Reproduce
- Install swaync into a pristine container / jail
- Run
swaync & - Run
notify-send "summary" "body"
Expected behavior
Do something...shown on terminal- A window pops up with titled
summarywith textbody
Please provide logs if you're experiencing notification errors / bugs
$ G_MESSAGES_DEBUG=all HOME=$(mktemp -dt swaync-test) swaync
[...]
** (swaync:1234): DEBUG: notiDaemon.vala:171: Notification:
category: (null)
image_data: false
expire_timeout: -1
replaces_id: 0
desktop_entry: (null)
body: body
app_icon:
action_icons: false
time: 1707594987
hints:
sender-pid: int64 86534
urgency: byte 0x01
applied_id: 1
image_path: (null)
inline-reply: (null)
app_name: notify-send
summary: summary
icon_data: false
resident: false
default_action: (null)
actions:
urgency: Normal
Desktop
- OS: FreeBSD (any version)
- Version: swaync 0.10.0
$ pkg info -d swaync
swaync-0.10.0:
pango-1.50.14
libhandy-1.6.2_2
gtk3-3.24.41
gtk-layer-shell-0.8.2
granite-6.2.0_2
gdk-pixbuf2-2.42.10_2
cairo-1.17.4_2,3
libgee-0.20.6_1
json-glib-1.8.0
glib-2.78.4,2
gettext-runtime-0.22.3_1
pulseaudio-16.1_2
at-spi2-core-2.50.1
So you're saying that the changes to the execute_command in that PR is what's causing notifications not to show? Or am I misunderstanding the issue?
Could you provide a video?
I'm not experiencing this at all on my two machines so it's pretty difficult to debug without more information
Unable to reproduce here on master (simply launch via sway config exec swaync)