You are not logged in.

#1 2023-03-01 11:01:27

shoelesshunter
Member
From: USA
Registered: 2014-05-18
Posts: 289

[solved] notify-send bug after Plasma 5.27.2 update

I use Plasma (with i3) and I use notify-send as a backup reminder. Up until the latest upgrade, the notifications appeared in the bottom right of the screen,  above the tray, blending in with my Plasma Oxygen theme, including transparency via picom.

After upgrading to 5.27.2, the notifications appear at the top right of the screen and have no theming. Instead, they have a very basic (almost ncurses) looking blue block with white text inside.

Has anyone else experienced or can replicate this?

Since the upgrade, I've had to make a different tweak to my i3 config. Is this a Plasma issue or do I need something new in my i3 config? Here are the relevant Plasma lines:

# Plasma compatibility improvements
for_window [window_role="pop-up"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [class="yakuake"] floating enable
for_window [class="systemsettings"] fullscreen enable
for_window [class="plasmashell"] floating enable
for_window [class="Plasma"] floating enable; border none
for_window [title="plasma-desktop"] floating enable; border none
#for_window [title="win7"] floating enable; border none
for_window [class="krunner"] floating enable; border none
for_window [class="Kmix"] floating enable; border none
for_window [class="Klipper"] floating enable; border none
for_window [class="Plasmoidviewer"] floating enable; border none
for_window [class="(?i)*nextcloud*"] floating disable
for_window [class="plasmashell" window_type="notification"] border none; move postiion 1450px 20px
#for_window [class="plasmashell" window_type="notification"] border none; move right 700px; move down 450px
no_focus [class="plasmashell" window_type="notification"]
for_window [title="Desktop — Plasma"] kill; floating enable; border none
for_window [title="Save File — KDialog"] floating disable
for_window [class="kinfocenter"] floating enable
for_window [instance="_scratchpad"] floating enable
for_window [window_type="menu"] floating enable
for_window [window_type="dialog"] floating enable
for_window [window_role="Preferences"] floating enable
for_window [window_role="About"] floating enable
for_window [window_role="bubble"] floating enable
for_window [class="plasmashell" window_type="applet"] move up 30 px
# Kill KDE desktop windows opened from version 5.27.2
for_window [title="Desktop @ QRect"] kill; floating enable; border none

Last edited by shoelesshunter (2023-03-05 12:54:02)

Offline

#2 2023-03-01 11:38:08

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: [solved] notify-send bug after Plasma 5.27.2 update

qdbus org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID org.freedesktop.Notifications
cat /proc/$(qdbus org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID org.freedesktop.Notifications)/cmdline

Offline

#3 2023-03-05 12:53:46

shoelesshunter
Member
From: USA
Registered: 2014-05-18
Posts: 289

Re: [solved] notify-send bug after Plasma 5.27.2 update

a system update resolved this

Offline

#4 2023-03-17 04:29:57

shoelesshunter
Member
From: USA
Registered: 2014-05-18
Posts: 289

Re: [solved] notify-send bug after Plasma 5.27.2 update

seth wrote:
qdbus org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID org.freedesktop.Notifications
cat /proc/$(qdbus org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID org.freedesktop.Notifications)/cmdline

The issue has returned after the latest upgrade to 5.27.3.

qdbus org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID org.freedesktop.Notifications

1231
cat /proc/$(qdbus org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID org.freedesktop.Notifications)/cmdline

/usr/bin/dunst%    

The difference this time is previously, this bug was only in my notify-send cron notifications. Now, it is all native plasma notifications that are affected.

Edit: uninstalling dunst does not correct this.

Last edited by shoelesshunter (2023-03-17 04:30:38)

Offline

#5 2023-03-17 06:46:46

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: [solved] notify-send bug after Plasma 5.27.2 update

Did you re-login afterwards?
Edit: and if so, what's the updated result for the service inquiry?

Last edited by seth (2023-03-17 06:47:29)

Offline

#6 2023-03-18 05:34:04

shoelesshunter
Member
From: USA
Registered: 2014-05-18
Posts: 289

Re: [solved] notify-send bug after Plasma 5.27.2 update

oops. yes, that did the trick. thanks.

any reason why my notifications were using dunst? I installed it to try dunstify, and running it manually never gave me the notifications I was experiencing recently. they all looked like Plasma-themed notify-send in the past.

edit: here is what you asked for

qdbus org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID org.freedesktop.Notifications

996
cat /proc/$(qdbus org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID org.freedesktop.Notifications)/cmdline

/usr/bin/plasmashell% 

Last edited by shoelesshunter (2023-03-18 05:36:04)

Offline

#7 2023-03-18 06:16:04

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: [solved] notify-send bug after Plasma 5.27.2 update

dunst gets autostarted by plasma or as systemd user service or starts faster than the knotify widgetpluginthingy when dbus-activated.
It then claims the service on the bus and this way blocks plasmashell.
dunst then handles the notifications.

NoExtract /usr/bin/dunst (and the service files) will prevent that and you can still have dunstify, whether that's perfectly compatible w/ other notification daemons is a different matter.

Offline

Board footer

Powered by FluxBB