https://bugs.kde.org/show_bug.cgi?id=496041

            Bug ID: 496041
           Summary: Setting a desktop file name for window without a
                    class, causing taskbar icon not being merged with the
                    one I pinned
    Classification: Plasma
           Product: kwin
           Version: 6.1.5
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: rules
          Assignee: kwin-bugs-n...@kde.org
          Reporter: flysoftb...@outlook.com
                CC: isma...@gmail.com
  Target Milestone: ---

Created attachment 175699
  --> https://bugs.kde.org/attachment.cgi?id=175699&action=edit
two spotify icons, that are not merging into one

SUMMARY
There are some Wayland apps (e.g. Flatpak version of Spotify) that does not
have a window class, resulting the inability to Pin to Taskbar, and getting a
generic wayland icon, so I wrote a window rule matching it using its title and
set it a desktop file name. And the app's taskbar icon not being merged with
the another I pinned from launcher. Pretty sure they point to the same .desktop
file.

STEPS TO REPRODUCE
1. flatpak install com.spotify.Client & flatpak override --user
--socket=wayland com.spotify.Client 
2. create a window rule (attached at ADDITIONAL INFORMATION)
3. pin Spotify from launcher
3. start it and you would got two icons

OBSERVED RESULT
You got two icons. And the one from app's window has the Pin to taskbar greyed
out.

EXPECTED RESULT

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.10.13-3-MANJARO 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
```
desktopfile=com.spotify.Client.desktop
desktopfilerule=2
title=Spotify Free
titlematch=1
types=1
wmclassmatch=1
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to