Created attachment 107178 [details] Kmail is not activated, weird icon When Kmail is pinned in the task manager but not activated (i.e. no window shown), the icon become the white blank paper icon (default icon I imagine?). When Kmail is activated (e.g. some window exists), the icon is normal again. This behaviour is reproducible in the classical, icon-only and latte-dock task managers. Step to reproduce: - Open Kmail, icon is normal in the task manager - Pin Kmail to be shown in the task manager when closed, icon still normal - Close Kmail window - Kmail icon is now the default blank paper icon - Click on this icon or open Kmail window in any other way - Kmail window opens and the icon is back to its good old self Some system information: - openSUSE Tumbleweed - Plasma 5.10.4 - KF5: 5.36.0 - Qt: 5.9.1 - Intel graphic chipset with Mesa driver
Created attachment 107179 [details] Kmail is activated, normal icon
From what I recall KMail has a wrong window class and thus mapping to its desktop file fails.
It could be the case, indeed. Using xprop on Kmail window states that Kmail's desktop file is "org.kde.kmail2", but a locate on my system for this doesn't yield anything. However, locate org.kde.kmail does yield: /usr/share/applications/org.kde.kmail.desktop /usr/share/dbus-1/interfaces/org.kde.kmail.kmail.xml /usr/share/dbus-1/interfaces/org.kde.kmail.kmailpart.xml /usr/share/metainfo/org.kde.kmail.appdata.xml Is this a packaging bug that I should report to openSUSE?
Created attachment 107180 [details] Output of xprop on Kmail
This was fixed in KMail, but I guess the version with the renamed .desktop file wasn't released yet.