Bug 500879

Summary: Notifications from a gtk app do not have the icon of the source app anymore
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: NotificationsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: ilia-kats, kde, nate
Priority: NOR    
Version First Reported In: 6.3.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
URL: https://gitlab.gnome.org/GNOME/libnotify/-/issues/53
See Also: https://bugs.kde.org/show_bug.cgi?id=502153
Latest Commit: Version Fixed In: libnotify-0.8.6
Sentry Crash Report:
Attachments: old screenshot with icon
current notification without icon
notification from uGet on Kubuntu 24.10 - with icon
notification from uGet on Arch - without icon
Notification from Pamac on Plasma 6.3.3
Notification from Pamac on Plasma 6.2.4

Description Patrick Silva 2025-03-01 02:36:16 UTC
SUMMARY
Notifications from gtk apps used to have the icon of the source app. On Plasma 6.3.2 no more.

STEPS TO REPRODUCE
1. download something with Deluge torrent client of Uget download manager - both gtk apps
2. 
3. 

OBSERVED RESULT
when the download finishes, Plasma shows a notification without the icon of the used app

EXPECTED RESULT
notification with the icon of the used app

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Graphics Platform: Wayland
Comment 1 Patrick Silva 2025-03-01 02:42:15 UTC
Created attachment 178989 [details]
old screenshot with icon
Comment 2 Patrick Silva 2025-03-01 02:42:53 UTC
Created attachment 178990 [details]
current notification without icon
Comment 3 Nate Graham 2025-03-05 15:47:43 UTC
How do you make deluge send a notification after it finishes downloading? I tried to reproduce this and got no notification.

Are there other apps besides these two that can show the issue happening?
Comment 4 Patrick Silva 2025-03-05 22:20:16 UTC
Open Deluge preferences, click on "Plugins" in the left side, check "Notification" plugin and apply the change.

I can also reproduce with Handbrake video converter. It notifies when a video conversion finishes.

I have also tested Transmission torrent client, but its notification has an icon, as expected.
Comment 5 Nate Graham 2025-03-06 21:20:41 UTC
Hmm, I see the icon on the left side in Handbrake's notification on current git master.
Comment 6 Patrick Silva 2025-03-09 16:49:56 UTC
I have just tested Kubuntu 24.10. Deluge from its repositories is unusable, the flatpak version does not show any notification.
The notification from Handbrake is the same seen on Arch, it has a small icon beside the title and the bigger icon in the right side is missing.

uGet gives different notifications in each system, as seen in the attached screenshots.
Comment 7 Patrick Silva 2025-03-09 16:50:46 UTC
Created attachment 179249 [details]
notification from uGet on Kubuntu 24.10 - with icon
Comment 8 Patrick Silva 2025-03-09 16:51:21 UTC
Created attachment 179250 [details]
notification from uGet on Arch - without icon
Comment 9 Nate Graham 2025-03-11 21:27:51 UTC
Does it seem like only the Flatpak versions of these apps are affected?

I wonder if what's happening is that they're specifying a file to use as the icon, but the path they use isn't available in the Flatpak bundle.
Comment 10 Patrick Silva 2025-03-11 21:31:23 UTC
All apps affected on Arch and Kubuntu were installed from their respective repositories. No flatpak.
Comment 11 Ilia Kats 2025-03-12 13:11:41 UTC
I'm also observing this behavior, but it doesn't only affect GTK apps: I also don't see the VLC icon in notifications from VLC (which is still QT5-based), and Spectacle notifications about screenshots now have the spectacle icon, but no preview anymore. Also on Arch Linux, Plasma 6.3.3, everything from the Arch repositories, no Flatpacks or funny business.
Comment 12 Ilia Kats 2025-03-12 14:32:59 UTC
It's also incosistent between GTK apps. Notifications from Firefox 136.0.1 don't have an icon, but Thunderbird (136.0) notifications do.
Comment 13 Patrick Silva 2025-03-16 19:08:57 UTC
Created attachment 179475 [details]
Notification from Pamac on Plasma 6.3.3

Notification from Pamac package manager is affected too. Please compare the attached screenshots.
Comment 14 Patrick Silva 2025-03-16 19:09:24 UTC
Created attachment 179476 [details]
Notification from Pamac on Plasma 6.2.4
Comment 15 Nate Graham 2025-03-29 15:18:31 UTC
I wonder if it's possible this is caused by https://gitlab.gnome.org/GNOME/libnotify/-/issues/53 or something similar.

I still can't reproduce the issue though, now with libnotify-0.8.4
Comment 16 Patrick Silva 2025-03-29 17:11:36 UTC
I have updated to libnotify 0.8.6-1 a few hours ago; now I'm unable to reproduce.
Comment 17 Nate Graham 2025-03-29 17:17:22 UTC
Oh, fantastic!
Comment 18 Ilia Kats 2025-04-02 14:14:14 UTC
Unfortunately, nothing changed for me with the libnotify 0.8.6 update, meaning icons are still missing from notifications.
Comment 19 Nate Graham 2025-04-03 19:52:25 UTC
Your issue may be different; Patrick reported this one and he's seeing it went away with libnotify-0.8.6