Bug 461328 - Different icons in taskbar and window switcher
Summary: Different icons in taskbar and window switcher
Status: RESOLVED DUPLICATE of bug 459735
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 5.26.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-02 18:00 UTC by frederic.parrenin@univ-grenoble-alpes.fr
Modified: 2022-11-04 18:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot of KDE taskbar and windows switcher (699.47 KB, image/png)
2022-11-02 18:00 UTC, frederic.parrenin@univ-grenoble-alpes.fr
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***