Created attachment 112146 [details] Screenshot.png I think it's supposed to be showed as a smaller icon overlayed on the bottom right corner of the main icon.
Created attachment 112148 [details] Screenshot showing correct overlay $> grep icon /usr/share/polkit-1/actions/org.freedesktop.UDisks2.policy <icon_name>drive-removable-media</icon_name>
Yes, this one (udisks2) icon works on my system. But quite a few of KAuth helpers helpers do not set the icon. So I guess this bug is indeed a lot of smaller bugs in individual applications (ktexteditor, sddm).
These are not application icons, but icons related to privileged actions. These *may* look the same, but are different.
(In reply to Stefan Brüns from comment #3) > These are not application icons, but icons related to privileged actions. > These *may* look the same, but are different. Yeah, now I saw that too... Shall we close this bug report then?
polkit-kde-agent works as designed, i.e. iff the action specifies an icon according to the freedesktop icon spec, the icon is shown.
By the way, what about the main window icon under Wayland? I'm not even sure how to fix this in this case. Normally, you have to specifty desktop file with QCoreApplication::setDesktopFile which has Icon= parameter. I guess we can still show polkit-kde-agent icon without overlay as window icon?