Created attachment 147103 [details] systemd-cgls output SUMMARY Latte appears not to set the correct cgroup when launching applications, so these appear as being part of Latte itself in System Monitor. STEPS TO REPRODUCE 1. Launch an application like Skype 2. Open System Monitor OBSERVED RESULT The application launched is not displayed as separate from Latte. EXPECTED RESULT The application launched is displayed as separate from Latte. SOFTWARE/OS VERSIONS Linux: KDE neon KDE Plasma Version: 5.24.1 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION According to discussion in bug 433328, this behaviour is not due to System Monitor, but to the application responsible for launching the new process, which in this case is Latte.
Dont you have the same issue with plasma taskmanagers?
I can't reproduce this with stock taskmanager or kickoff, but I can with Latte
no idea what Latte can do for this. Latte is just using Plasma.TasksModel.requestActivate() function. It should be enough.
if you add a plasma taskmanager inside Latte do you have the same issue?
(In reply to Michail Vourlakos from comment #4) > if you add a plasma taskmanager inside Latte do you have the same issue? Yes, I can reproduce the issue by using the Plasma task manager on Latte.
(In reply to Riccardo Robecchi from comment #5) > (In reply to Michail Vourlakos from comment #4) > > if you add a plasma taskmanager inside Latte do you have the same issue? > > Yes, I can reproduce the issue by using the Plasma task manager on Latte. just guessing, maybe Latte has been built in Debug mode instead of Release mode?
I can actually reproduce when starting from the application launcher, if I do it e.g. Skype is grouped under plasmashell. So I would say it's not about Latte, after all.
I know skype forks on startup, so it's possibly a race. 1 we start skype's launcher 2 we put that in it's own cgroup after the fact 3 skype's launcher forks into real skype if 2 and 3 occur the wrong way round as it's in parallel it would explain what we're seeing. We do have a code path that makes it race-free but it required users to have a modernish systemd. I'll try to reproduce, otherwise I'll ask you to test something.
I am able to get libreoffice calc to open under this cgroup by opening it via Application Menu 2.0 (not kicker) and Application Launcher 2.0 (kicker) this does NOT happen when opening via file in dolphin or using alt+F2/Alt+space is this related or a separate issue?
*** Bug 486106 has been marked as a duplicate of this bug. ***