Linux Snap and Desktop Integrations (Generic icon in taskbar, application switcher, window frame)

This BR is used used to track problems related to the Snap package and its integration with various desktop environments under Wayland.

Specifically, as of right now we are:

  • KDE: The taskbar icon works, but generic icons are shown in the application switcher (alt-tab) and window frame (when using native frame)
  • GNOME: works, only if a specific name is used for the desktop file (which is what we are doing right now)

We believe that this problem are caused by the way Snap(d) forces a certain name to the installed .desktop file and the inability of Desktop Environments/Window Managers to match it.

Upstream Reports:

Do NOT post below if you are not using SNAP.
Open a separate bug report and you MUST follow the BR template exactly.