I had this issues when I enabled WAYLAND for ms-edge using the ~/.config/microsoft-edge-stable-flags.conf
file
--enable-features=WebRTCPipeWireCapturer
--enable-features=UseOzonePlatform
--ozone-platform=wayland
I was able to find the WMClass for the “App” after opening it using this
unix[dot]stackexchange[dot]com/questions/362731/how-to-identify-window-by-clicking-in-wayland
Once I knew that, all I had to do was rename the .desktop file based on it. Which was just adding _
to the name e.g.
mv msedge-hpfldicfbfomlpcikngkocigghgafkph-Default.desktop msedge-_hpfldicfbfomlpcikngkocigghgafkph-Default.desktop
^^^
And I got the “Icons” like how it was before.
PS: (29-11-2022)
This worked but when the “App” receives a notification, clicking on it doesn’t focus to the app window.
For now, just switched to Firefox.
PS: (12-12-2022)
Seems like this issue is only present in MS Edge and works as expected in Chrome, Brave.
On KDE Plasma, there is also one more thing that can lead to PWAs using MS Edge icon…
If you have your task-manager in panel with option to group icons based on the app name, since PWAs got ‘msedge’ prefix, they get grouped with MS Edge icon as a same app…
cscs
15 November 2024 21:48
5
This tutorial may be useful to you:
Difficulty: ★☆☆☆☆
Introduction
Aside from any launchers there are generally 3 main locations that icons for applications are displayed in a Plasma Wayland session.
Any one or multiples of these may be displayed incorrectly or may be missing entirely and default to a generic wayland icon.
On the Taskbar
[image]
In the corner of the Application Window
[image]
In the Task Switcher
[image]
This seems especially common and pronounced for applications whose desktop file names do no…