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
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.
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 ***