Bug 407624

Summary: SNI not working on 5.16 beta
Product: [Plasma] plasmashell Reporter: André M <andre.vmatos>
Component: XembedSNIProxyAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: andre.vmatos, arojas, im, kde, kripton, nate
Priority: NOR    
Version First Reported In: 5.15.90   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description André M 2019-05-16 22:12:30 UTC
SUMMARY

On first plasma startup after upgrade over an existing installation/config, I noticed only the widgets were present on the systray, and the applications were missing. Also tested on a fresh user/environment, same result.
Apps like Akregator and VLC, which worked fine, print a line on console:

org.kde.knotifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP

STEPS TO REPRODUCE
1. Start new session
2. Start an app on konsole which usually shows a system tray icon (like vlc 3.0.6)

OBSERVED RESULT

App systray icon is missing, above line printed on terminal

EXPECTED RESULT

App icon shown

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux with official kde-unstable repo
(available in About System)
KDE Plasma Version: 5.15.90
KDE Frameworks Version: 5.58.0
Qt Version: 5.13.0beta3 (from kde-unstable)
Comment 1 David Edmundson 2019-05-16 22:58:32 UTC
Can I see the output of

qdbus org.kde.StatusNotifierWatcher /StatusNotifierWatcher org.kde.StatusNotifierWatcher.IsStatusNotifierHostRegistered
Comment 2 André M 2019-05-16 23:15:01 UTC
$ qdbus org.kde.StatusNotifierWatcher /StatusNotifierWatcher org.kde.StatusNotifierWatcher.IsStatusNotifierHostRegistered
Service 'org.kde.StatusNotifierWatcher' does not exist.

Not sure if related, but there's a 'org.kde.StatusNotifierHost-25560' service.
/use/bin/xembedsniproxy is started and continues running for the session. Killing it and running by hand doesn't produce any output in terminal, although the command block in the foreground while running.
Comment 3 Antonio Rojas 2019-05-17 08:01:54 UTC
Can you check if kded5 is running? This may be bug 407614
Comment 4 André M 2019-05-17 22:01:56 UTC
Just checked on clean account, kded5 process is live, but systray still missing
Comment 5 David Edmundson 2019-06-11 11:43:30 UTC
Not had any other reports. Is this still an issue?

From your qdbus line kded5 is not running or at least not loading the sni plugin.

Please confirm it's live on the same setup as the rest of your debug output.
Comment 6 André M 2019-06-11 18:52:53 UTC
Can't reproduce on 5.16 stable. Working fine now with packages from Arch testing. Thank you.