Bug 383614 - Wrong task manager icon when multiple KCMs opened on Wayland
Summary: Wrong task manager icon when multiple KCMs opened on Wayland
Status: RESOLVED NOT A BUG
Alias: None
Product: kde-cli-tools
Classification: Plasma
Component: general (show other bugs)
Version: 5.16.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2017-08-17 02:39 UTC by Patrick Silva
Modified: 2021-05-15 15:52 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (121.10 KB, image/png)
2017-08-17 02:39 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
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.