Bug 463780

Summary: Apps started via DBus activation don't show up in applications list
Product: [Frameworks and Libraries] ksystemstats Reporter: Nicolas Fella <nicolas.fella>
Component: GeneralAssignee: KSysGuard Developers <ksysguard-bugs>
Status: REPORTED ---    
Severity: normal CC: ahiemstra, plasma-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nicolas Fella 2023-01-03 14:06:05 UTC
STEPS TO REPRODUCE
1. Start an application that supports DBus activation (e.g. Yakuake or Nautilus) from Kickoff 
2. Open plasma-systemmonitor
3. Go to Applications

OBSERVED RESULT
The app is not listed

EXPECTED RESULT
The app is listed

SOFTWARE/OS VERSIONS
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 5.15.7-kde

ADDITIONAL INFORMATION

The cgroup name doesn't follow the expected convention from https://systemd.io/DESKTOP_ENVIRONMENTS/.

For example for Nautilus the cgroup is something like "dbus-:1.2-org.gnome.Nautilus@0.service"

Perhaps this is something that can/should be addressed upstream, by changing DBus or amending the systemd spec to account for this pattern