https://bugs.kde.org/show_bug.cgi?id=443252
Bug ID: 443252
Summary: WM_CLASS not respected all the time on Plasma Wayland
Product: kwin
Version: 5.22.90
Platform: Archlinux Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: wayland-generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
Not sure if this is a duplicate
WM_CLASS is not respected by launchers and icon task view. Launchers having
different WM_CLASS are grouped together into one app icon, for example, a
Chromium PWA with WM_CLASS is grouped under a single icon "Chromium", but this
used to work on X11. Tested with Plasma X11 and GNOME Wayland, works on both.
STEPS TO REPRODUCE
1. Create a desktop file, in
`~/.local/share/applications/youtube-music-pwa.desktop`
```
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=YouTube Music
Exec=/usr/bin/chromium --profile-directory=Default
--app="https://music.youtube.com"
Icon=youtube-music
StartupWMClass=music.youtube.com
```
2. Use Plasma X11, use the Application Launcher to search for "youtube music"
and open using the desktop launcher. It should open up with a separate icon
(you can try another icon in the desktop file, for example: okular to test the
changes if you don't have youtube-music icon)
3. Use Plasma Wayland, and it can be noticed that the icons are having
chromium's logo instead of the specified youtube music logo.
OBSERVED RESULT
The icons are grouped together on Plasma Wayland
EXPECTED RESULT
The icons should be separate, respecting the `WM_CLASS` attribute of the
window.
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.