Bug 383614

Summary: Wrong task manager icon when multiple KCMs opened on Wayland
Product: [Plasma] kde-cli-tools Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kde, kde, mgraesslin
Priority: NOR Keywords: wayland
Version: 5.16.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: screenshot

Description Patrick Silva 2017-08-17 02:39:22 UTC
Created attachment 107322 [details]
screenshot

See the screenshot please.
Comment 1 Patrick Silva 2017-10-15 03:52:33 UTC
Same on Arch, plasma 5.11.
Comment 2 Patrick Silva 2018-01-16 21:56:40 UTC
Same thing in plasma 5.12 beta, Arch Linux.
Comment 3 Kai Uwe Broulik 2018-01-18 15:13:30 UTC
kcmshell sets its window icon to be the first KCM it finds, however, on Wayland there are no custom window icons but instead it deduces the window from the application desktop file. It sets one but only if there's a single KCM opened.

Martin: The code sets the first KCM's icon as window icon. Should we just do the same for the desktop file and not check for count == 1? Or does it detect changes to desktop file at runtime? then I could change the desktop file dynamically based on the KCM shown?
Comment 4 Martin Flöser 2018-01-18 17:42:13 UTC
I'm not sure whether it's allowed to change the app id. If it is: feel free to try updateing
Comment 5 David Edmundson 2018-12-20 23:46:07 UTC
>I'm not sure whether it's allowed to change the app id

In Xdg-shell it is not explicitly forbidden.
Comment 6 Patrick Silva 2021-05-15 15:52:01 UTC
Currently Energy Saving KCM opens inside System Settings.
I think this bug is no longer relevant.