https://bugs.kde.org/show_bug.cgi?id=486106
Bug ID: 486106 Summary: some applications pinned to taskbar are started inside `plasma-plasmashell.service` instead of their own cgroup Classification: Plasma Product: plasmashell Version: 6.0.4 Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Task Manager and Icons-Only Task Manager Assignee: plasma-b...@kde.org Reporter: brunopit...@hotmail.com CC: qydwhotm...@gmail.com Target Milestone: 1.0 SUMMARY When vscode (OSS build from the openSUSE repo) is pinned to taskbar, clicking the icon does not result in it being correctly launched in a new cgroup, instead remaining in `plasma-plasmashell.service`. This results in `systemctl --user restart plasma-plasmashell` (to fix a hung/misbehaving plasma) causing VSCode to crash. If VSCode was launched from the start menu or from KRunner, it gets correctly assigned its own cgroup. STEPS TO REPRODUCE 1. Pin `code.desktop` to taskbar 2. Click the pinned icon to launch vscode 3. `systemctl --user restart plasma-plasmashell` OBSERVED RESULT VSCode crashes. EXPECTED RESULT Any apps opened are unaffected. SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed 20240423 (available in About System) KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 ADDITIONAL INFORMATION Content of `/usr/share/applications/code.desktop`: [Desktop Entry] Name=Code - OSS Comment=Code Editing. Redefined. GenericName=Text Editor Exec=code --unity-launch %F Icon=code-oss Type=Application StartupNotify=false StartupWMClass=Code Categories=TextEditor;Development;IDE; MimeType=text/plain;inode/directory;application/x-code-workspace; Actions=new-empty-window; Keywords=vscode; [Desktop Action new-empty-window] Name=New Empty Window Name[de]=Neues leeres Fenster Name[es]=Nueva ventana vacía Name[fr]=Nouvelle fenêtre vide Name[it]=Nuova finestra vuota Name[ja]=新しい空のウィンドウ Name[ko]=새 빈 창 Name[ru]=Новое пустое окно Name[zh_CN]=新建空窗口 Name[zh_TW]=開新空視窗 Exec=code --new-window %F Icon=code-oss -- You are receiving this mail because: You are watching all bug changes.