Wayland Icon instead of application icons in task switcher

So, I have been noticing for a while that in some application running on Wayland they just have a Wayland icon in the task switcher that is in KDE and for other applications they have their own icon. I am usually facing this issue on flatpak version for all of these applications. Like I have an example if I install rpm version of brave browser it shows the brave icon seamlessly but on the flatpak version it shows the Wayland icon as you Can see in the screenshots. Another one, on the Bitwarden’s flatpak which is based on electron, it has the same issue. But on Element Desktop app which is also built on electron that doesn’t have this issue. Also, there was a Wayland protocol which was related to additional window icon which got merged 3 months ago I don’t know if that got something to do with this.
I was looking if someone knows about this issue or why is this happening.



You could try the steps here:

For my own GUI apps I had to update my icon handling code to make their icons work in X11 and Wayland worlds. If the apps you are running have not done that then you get the generic W icon.

Can you elaborate more, I am thinking of creating an issue on those project GitHub. But another thing is that in the case of brave the only difference is the app being a flatpak package and rpm package, But all the source code is same there, so this could be a flatpak thing?

1 Like

It’s been a while since I did the engineering.
All the info is available from web searches to solve this.
Path to icon needed to follow new rules for example.

The approach I took was to use the circumvention and then report the issue to upstream.