Summary: | [cgroup] is not to set correctly when launching applications from taskmanager for apps that fork on launch | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Riccardo Robecchi <sephiroth_pk> |
Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | brunopitrus, kde, nate, nicolas.fella, pqwoerituytrueiwoq, r2b2x3+kdebug |
Priority: | NOR | ||
Version First Reported In: | 5.24.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=475736 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | systemd-cgls output |
Description
Riccardo Robecchi
2022-02-24 17:21:02 UTC
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. *** |