Bug 500494 - On a Neon system that also has Xfce installed, since Plasma 6.3.80, notifications are shown as xfce-notifyd windows instead of Plasma pop-ups
Summary: On a Neon system that also has Xfce installed, since Plasma 6.3.80, notificat...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2025-02-20 23:00 UTC by Piotr Mierzwinski
Modified: 2025-04-15 20:00 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
notification from xfce4 (27.82 KB, image/png)
2025-02-24 22:44 UTC, Piotr Mierzwinski
Details
notification-from-xfce4-settings (61.79 KB, image/png)
2025-03-23 21:21 UTC, Piotr Mierzwinski
Details
notification-from-xfce4-systray_widget (46.88 KB, image/png)
2025-03-23 22:10 UTC, Piotr Mierzwinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2025-02-20 23:00:02 UTC
SUMMARY
Please consider that when I installed Neon (couple years ago) I installed xfce4 next to Plasma to have an alternative if Plasma will don't work.
I think starting day I got update to Plasma 6.4 any notification (i.e. new email arrived) I get, are showing as xfce4 "normal" window (with "X" to close) not like "tool tip" usually appeared near to systray.
This xfce4 windows are placed at the center of desktop, and after couple of seconds disappearing

Please notice I'm not sure if this is bug in distribution or in new Plasma

OBSERVED RESULT
Notification as normal window (calling "xfce4-notifyd")

EXPECTED RESULT
Notification in window similar to "tool tip" appearing near to systray

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: YES
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Wayland

ADDITIONAL INFORMATION
Comment 1 cwo 2025-02-20 23:28:36 UTC
Thank you for the bug report! Can you please attach a screenshot that shows such a notification?
Comment 2 Piotr Mierzwinski 2025-02-24 22:44:05 UTC
Created attachment 178847 [details]
notification from xfce4

Example of notification please find in attachment.
Comment 3 Marco Martin 2025-03-21 15:58:27 UTC
somehow that xfce daemon to manage notification is autostarted also in plasma.. tempted to say is a distro issue (would be interesting to see if this can happen on other distributions as well)

do you have anything suspicious in your systemsettings autostart page?
Comment 4 Piotr Mierzwinski 2025-03-23 21:21:29 UTC
Created attachment 179680 [details]
notification-from-xfce4-settings

In System Settings I found info that: "Notification are currently provided by 'Xfce Xfce notify Daemon instead of Plasma" (check attached screenshot).
So how to restore that, such to Plasma provide notification?
Comment 5 Piotr Mierzwinski 2025-03-23 22:00:04 UTC
To be clear I had "notification widget" in state "show if relevant", a changed it to be "always visible" and now shows that "Notification services not available". BTW. I killed process responsible by notification coming from xfce4. 

> do you have anything suspicious in your systemsettings autostart page?
Could you please tell me how to check it?

I checked only this location:
$ pwd
/etc/xdg/autostart

piotr@Dell:/etc/xdg/autostart$ ll | grep xfce
-rw-r--r-- 1 root root  1340 mar 18  2024 xfce4-notifyd.desktop.dpkg-dist
-rw-r--r-- 1 root root   178 lut 16  2022 xfce4-notifyd.desktop.gz
Comment 6 Piotr Mierzwinski 2025-03-23 22:08:00 UTC
BTW. When I call command like below I get window coming from xfce4 even if xfce4-notifyd doesn't work.
$ notify-send Notification_aaaaaaa"

And after that xfce4-notifyd again starts work:
piotr@Dell:~$ ps -ef|grep xfce
piotr      14073    1462  0 23:03 ?        00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd
piotr      14078    1462  0 23:03 ?        00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/xfconf/xfconfd
Comment 7 Piotr Mierzwinski 2025-03-23 22:10:48 UTC
Created attachment 179681 [details]
notification-from-xfce4-systray_widget
Comment 8 Nate Graham 2025-04-04 20:53:05 UTC
This means that the XFCE notification daemon is running. The way the XDG notifications spec works, the first notification daemon to launch is the winner and handles all notifications.

You'll need to figure out why XFCE's notification daemon is trying to run outside of XFCE. Likely it isn't properly conditionalized to only launch in an XFCE session.
Comment 9 Piotr Mierzwinski 2025-04-14 18:47:01 UTC
Could you please tell me what is the name of KDE/Plasma notification daemon?
I found that in System Setting disappeared section with start/stop services. I'm not sure if this is regression or intended.
Comment 10 Piotr Mierzwinski 2025-04-14 20:49:35 UTC
# pwd
/etc/xdg/autostart
# ls|grep xfce
xfce4-notifyd.desktop.dpkg-dist.gz
xfce4-notifyd.desktop.gz
Comment 11 Piotr Mierzwinski 2025-04-14 21:27:37 UTC
# pwd
/usr/share/dbus-1/services
# ll | grep -i notif
-rw-r--r-- 1 root root   114 kwi 10 09:07 org.kde.plasma.Notifications.service
-rw-r--r-- 1 root root   147 mar 18  2024 org.xfce.xfce4-notifyd.Notifications.service
-rw-r--r-- 1 root root   147 lut 16  2022 org.xfce.xfce4-notifyd.Notifications.service.disabled
-rw-r--r-- 1 root root   134 mar 18  2024 org.xfce.xfce4-notifyd.Notifyd.service

P.S.
Would be nice if we could modify the post here, instead of adding another and another.
Comment 12 Piotr Mierzwinski 2025-04-15 20:00:49 UTC
# pwd
/usr/share/dbus-1/services
# ll | grep -i notif
-rw-r--r-- 1 root root 114 kwi 13 10:09 org.kde.plasma.Notifications.service
-rw-r--r-- 1 root root 147 mar 18  2024 org.xfce.xfce4-notifyd.Notifications.service.bak
-rw-r--r-- 1 root root 147 lut 16  2022 org.xfce.xfce4-notifyd.Notifications.service.disabled
-rw-r--r-- 1 root root 134 mar 18  2024 org.xfce.xfce4-notifyd.Notifyd.service

I renamed file: org.xfce.xfce4-notifyd.Notifications.service to org.xfce.xfce4-notifyd.Notifications.service.bak and this fixed the issue.
I could also remove org.xfce.xfce4-notifyd.Notifications.service file getting the same effect.