Its even worse when you force Firefox to use wayland its icon doesn't even show.
Edit: Oh since everyone now is confused; I only have the flatpak version of Firefox installed yet it doesn't use the pinned icon and doesn't even use the firefox icon under wayland at all.
I use the Firefox flatpak on multiple different desktops and distros and I've never seen this issue. All on wayland (no difference on x11 either). Weird.
i have no issues with flatpak, once i found out how to fix gtk scaling and theming issues on kde. here's a link if anyone has those problems as well https://bugsfiles.kde.org/attachment.cgi?id=135846.
I'm using KDE + Firefox Flatpak + Papirus Icons and I haven't had this issue (so far). Could it be an icon pack issue or something similar? Otherwise yeah it's either KDE or the flatpak
I never intend to use a flatpak or snap, and avoid them like the plague. The whole concept is incredibly ugly to me, and wasteful of computer resources.
the scuffed difference between my normal theming and flatpak theming is the only reason why I despise flatpak. I cannot for t he life of me get it to do what I want it to do. Flatpak containers are also kinda annoying to access
the only reason to use flatpaks is if your system doesnt come with a good package manager and repositories (pacman+aur, nix, etc), and dont want to build from source.
snaps, on the other hand, should be avoided at all costs imo.
Haven't had this issue on Gnome, might be a KDE specific issue. I really don't use KDE much except on my Steam Deck so I haven't encountered it very often.