Bug 495474 - Lots of windows have generic Wayland icon in Alt+TAB even though they do have an icon in task manager
Summary: Lots of windows have generic Wayland icon in Alt+TAB even though they do have...
Status: RESOLVED DUPLICATE of bug 459735
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 6.1.5
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-28 10:24 UTC by php4fan
Modified: 2024-10-28 14:18 UTC (History)
2 users (show)

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


Attachments
screenshot (443.60 KB, image/png)
2024-10-28 10:26 UTC, php4fan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description php4fan 2024-10-28 10:24:41 UTC
SUMMARY
As you can see in the screenshot, a lot of applications have generic Wayland icons in their thumbnails when switching windows with Alt+Tab.

All of them except for OpenSCAD, have their own displayed as expected in the task manager at the bottom of the screen. So, that means those applications do define a custom icon in a way that is recognized by the system. Even assuming there's a separate way for specifying an icon in a different context (i.e. thumbnail in window switching), that shouldn't be required. If you don't have a specific icon for that you should use the main icon by default.

STEPS TO REPRODUCE
1. have several apps open, including Ultimaker Cura, Mozilla Thunderbird, Pamac (!!!)
2. hit Alt+Tab

OBSERVED RESULT
some windows have generic wayland icons

EXPECTED RESULT
all windows should have their icon as defined by the application, which is correctly displayed in the task manager

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.6.54-2-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i7-1255U
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: Vivobook_ASUSLaptop X1502ZA_F1502ZA
System Version: 1.0
Comment 1 php4fan 2024-10-28 10:26:04 UTC
Created attachment 175301 [details]
screenshot

I'm sick and tired of having to save my screenshots and upload them through this form. Please add support for copy-pasting images, it's 2024.
Comment 2 Nate Graham 2024-10-28 14:17:57 UTC
The tabbos currently uses different heuristics to get the icon compared to the Task Manager, so ultimately this is a variant of Bug 459735.

*** This bug has been marked as a duplicate of bug 459735 ***
Comment 3 Nate Graham 2024-10-28 14:18:05 UTC
*tabbox, sorry