See https://nicolasfella.de/posts/fixing-wayland-taskbar-icons/ for more details
In short, on Wayland, a window manager can only match a window to a desktop file, and assign the icon from the desktop file to the window. So to properly show icons on Wayland, it's necessary to create a symlink to the desktop file in local applications dir on startup.
See also: https://invent.kde.org/plasma/kwin/-/merge_requests/3519
X11 Part: #779
See https://nicolasfella.de/posts/fixing-wayland-taskbar-icons/ for more details
In short, on Wayland, a window manager can only match a window to a desktop file, and assign the icon from the desktop file to the window. So to properly show icons on Wayland, it's necessary to create a symlink to the desktop file in local applications dir on startup.
See also: https://invent.kde.org/plasma/kwin/-/merge_requests/3519
X11 Part: #779