Bug 474605

Summary: Icon in systray does not appear when installed as a snap
Product: [KDE Neon] neon Reporter: w7lrom2ku
Component: SnapsAssignee: Scarlett Moore <sgmoore>
Status: CONFIRMED ---    
Severity: normal CC: carl, kdedev, neon-bugs-null, trufanovan
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: systray

Description w7lrom2ku 2023-09-17 08:27:52 UTC
Created attachment 161667 [details]
systray

SUMMARY
Icon in systray does not appear when installed as a snap. Telegram as snap works fine with systray. 


STEPS TO REPRODUCE
1. Open neochat as snap

OBSERVED RESULT
No icon in tray. just a placeholder (screenshot in attachment)

EXPECTED RESULT
Normal Neochat icon in tray

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu

(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Clicking on empty systray icon DOES open up neochat normally.
23.04.3 is the latest snap version.
Comment 1 Scarlett Moore 2023-11-11 09:32:59 UTC
Yep, I am aware. This is already reported to the snapd developers. I don't know if it is something neochat has to fix or them.

https://forum.snapcraft.io/t/kde-dbus-issues-neochat/37594/4
Comment 2 TraceyC 2024-08-06 20:01:59 UTC
*** Bug 486290 has been marked as a duplicate of this bug. ***
Comment 3 TraceyC 2024-08-06 20:07:35 UTC
Details from 486290:
Telegram icon is blank after an upgrade from Kubuntu 23.10 to Kubuntu 24.10, it was installed as a snap

also see https://discuss.kde.org/t/system-tray-icons-missing/14230
Based on user comments, this may be fixed in the snapd beta channel.
Comment 4 Scarlett Moore 2025-01-03 13:55:02 UTC
For wayland icons there is fix but in wrong place. https://invent.kde.org/neon/snap-packaging/kf6-core-sdk/-/merge_requests/2