Hi, Plasma taskmanager has the ability to track apps and pinned launchers. For example, is able to track chromium browser window and chromium apps launchers separately or pinning dolphin launcher and opening the app, it will use the pinned launcher icon/entry and not duplicate the icons. I noticed that in some distributions this works, but others does not. In my testing, in Arch Linux it works but not in Gentoo and i think openSUSE also. The problem is the configuration of the *.desktop files. I was able to make it all work on Gentoo, but I had to change the *.desktop files of the apps. I noticed that chromium and kmail are not working. In kmail, it works if one changes the command line from 'Exec=kmail -qwindowtitle %c %u' into 'Exec=kmail'. In Gentoo, to make chromium work, i had to do the following changes: On chromium desktop file: [Desktop Entry] Name=Chromium Type=Application -Comment=Open-source version of Google Chrome web browser -Exec=chromium-browser %U -TryExec=chromium-browser +Comment=Open-source Chromium browser +Exec=chromium %U +TryExec=chromium Icon=chromium-browser Categories=Network;WebBrowser; MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/mailto;x-scheme-handler/webcal; -StartupWMClass=chromium-browser +StartupWMClass=chromium and to the chromium launcher: -export CHROME_DESKTOP="chromium-browser-chromium.desktop" +export CHROME_DESKTOP="chromium.desktop" Is this a problem of the distribution or a kde/plasma problem ? Where should this be fixed? Thanks ! Reproducible: Always
PS: More info here: https://github.com/psifidotos/nowdock-plasmoid/issues/24, where I first noticed the problem.
It's the distro's or app dev's duty to make the window meta data and menu id (.desktop name) align so task managers can map one to the other. The KMail devs were informed about their bug some time ago ... there's a ticket for KMail somewhere.