Bug 371677 - Icon in the upper left corner of the windows does not follow the customized one of the menu/launcher
Summary: Icon in the upper left corner of the windows does not follow the customized o...
Status: RESOLVED DUPLICATE of bug 351055
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: git master
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-25 18:43 UTC by Xwang
Modified: 2017-10-16 00:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Three different istances called by the 3rd, 4th and 5th button on the panel from the left (174.23 KB, image/png)
2016-10-25 18:46 UTC, Xwang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xwang 2016-10-25 18:43:22 UTC
Hi,
I've created different menu entries to open an application with different settings.
For each entry I've changed the default app icon with a different one so that to recognize which icon to press when I add all of these launcher to my panel (which represents them each with its specified icon so the panel is OK).
The (visual) problem is that if I open the application it uses always the default icon in the left upper corner of the decoration window regardless to what launcher I've used to open.
Is it possible to  have the same icon of the launcher which has been used to open the app?

Reproducible: Always

Steps to Reproduce:
1.Create a new launcher for an app with a customized icon
2.Launch the application
3.Look at the icon at the left upper corner which is different from the one in the launcher
Comment 1 Xwang 2016-10-25 18:46:44 UTC
Created attachment 101779 [details]
Three different istances called by the 3rd, 4th and 5th button on the panel from the left

In the attached file there is a screenshot of the desktop with three different instances of chromium called by the 3rd, 4th and 5th button (respectively) on the panel from the left.
Each button has a different icon, but the three windows have all the default icon on the left upper corner.
Comment 2 Nate Graham 2017-10-16 00:09:02 UTC
The KWin window manager is responsible for generating this icon, and currently in X11, it always lets the window itself determine the icon. So for those Chromium instances, Chromium is choosing its own icon, and KWin is using that instead of respecting the custom icon you've set in the .desktop files.

Though it's not the same issue, the root cause is the same as https://bugs.kde.org/show_bug.cgi?id=351055, so I'm going mark it as a duplicate as getting that fixed will fix this, too.

In a nutshell, there are two ways for us to go forward:

1. Change the KWin behavior on X11 to always use the icon from the desktop file instead of letting the window choose its own icon

2. Use Wayland, where KWin respects the Wayland window manager spec, which requires the use of icons from .desktop files instead of letting the window choose its own icon.

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