Bug 461328

Summary: Different icons in taskbar and window switcher
Product: [Plasma] kwin Reporter: frederic.parrenin <frederic.parrenin>
Component: tabboxAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, kde, nate
Priority: NOR    
Version: 5.26.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot of KDE taskbar and windows switcher

Description frederic.parrenin@univ-grenoble-alpes.fr 2022-11-02 18:00:36 UTC
Created attachment 153409 [details]
screenshot of KDE taskbar and windows switcher

I am using KDE 5.26.0 with Wayland on Debian Bookworm
I noticed that for some apps, the icons are different in the taskbar and in the window switcher.
I am wondering what is the rational for this.
I have an example for VirtualBox 7.0.

STEPS TO REPRODUCE
1. Open a KDE/Wayland session
2. Launch VirtualBox 7.0

OBSERVED RESULT
The icons in the taskbar is different from the icons in the window switcher.

EXPECTED RESULT
The icons should be the same.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian Bookworm
(available in About System)
KDE Plasma Version: 5.26.0/Wayland
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
I am using the wayland session.
I am using the MediumDefault windows switcher.
Comment 1 Nate Graham 2022-11-04 18:46:06 UTC
It's because KWin honors custom window icons that the app sets. The Icons-Only Task Manager does not, because its job is to show you app icons, not window icons.

Whether KWin should honor these custom icons is another matter, because doing so generates this inconsistency and weirds people out.
Comment 2 Nate Graham 2022-11-04 18:46:48 UTC

*** This bug has been marked as a duplicate of bug 459735 ***