Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Notifications fail to show with notify-send #383

Open
jbeich opened this issue Feb 10, 2024 · 2 comments
Open

[Bug] Notifications fail to show with notify-send #383

jbeich opened this issue Feb 10, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jbeich
Copy link

jbeich commented Feb 10, 2024

Describe the bug
Regressed by #304 (6dafd54, 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

  1. Install swaync into a pristine container / jail
  2. Run swaync &
  3. Run notify-send "summary" "body"

Expected behavior

  1. Do something... shown on terminal
  2. A window pops up with titled summary with text body

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
@jbeich jbeich added the bug Something isn't working label Feb 10, 2024
@ErikReider
Copy link
Owner

ErikReider commented Feb 11, 2024

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

@MrPenguin07
Copy link

Unable to reproduce here on master (simply launch via sway config exec swaync)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants