Description of problem:
Opening application pinned as desktop graphical component leads to failing cgroup creation.
Launching whatever application pinned from a Plasma Panel results of following error:
plasmashell: kf5.kio.gui: Failed to register new cgroup: "apps-firefox (1)-fe5379b798a3465a9edd978a96bdf64c.scope"
plasmashell: kf5.kio.gui: Failed to register new cgroup: "apps-org.kde.dolphin (1)-ecac586e193d4319a28402bd0140f494.scope"
plasmashell: kf5.kio.gui: Failed to register new cgroup: "apps-systemsettings (1)-07939f87e1c24783ba4c0a4dff48361b.scope"
There is a typo error: a space after application name and this: (1) or (2).
Applications launched from Kicker are not affected.
Applications launched from pinned shortcut in Task Manager are not affected.
This is on 5.19.4 Plasma on current Mageia Cauldron.
STEPS TO REPRODUCE
1. Pin an application on panel with right click menu (Add to panel (graphical component))
2. Click on application icon like firefox, dolphin, systemsettings
3. See in journal error.
Reported upstream today https://bugs.kde.org/show_bug.cgi?id=425008
As bug reported upstream but appeared with latest 5.19.4 revision of Plasma.
Such a strange bug.
Why an application launch properly with cgroup scope from Plasma Kicker but sometimes failed to launch his cgroup scope when it starts from Panel shortcut.
This bug is not blocker: app is launched effectively but at a price of 1 second delay. On modern hardware it is not perceived, but I think on old it will be.
Assigning to KDE maintainers meanwhile.
After further analyze,
There is some desktop files in /$home/.local/share/plasma_icons
Why there is .desktop files here when there is no icons in Plasma's Panel ?
Deleting theses files, and pinning to Panel after some apps, there is no longer bug.
BUT: if I add as duplicate an app, the .desktop file has a space and parenthesis in filename, so the bug is reproduced:
plasmashell: kf5.kio.gui: Failed to register new cgroup: "apps-firefox (1)-fe5379b46df4469edd978a96bdg58v.scope"
> David Edmundson 2021-01-28 09:49:16 UTC
> This was merged. Please reopen if this is still an issue.
This seems fixed in KFrameworks 5.78.
They don't give me commit.
Unsure if it is worth a backport to Mageia 8.
Fixed in Cauldron.