https://bugs.kde.org/show_bug.cgi?id=369658

            Bug ID: 369658
           Summary: Different windows from same app show icon defined in
                    .desktop file instead of app-specified icon
           Product: plasmashell
           Version: 5.8.0
          Platform: Mageia RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: Task Manager
          Assignee: h...@kde.org
          Reporter: jan-b...@gmx.co.uk
                CC: plasma-b...@kde.org

If you run a multi-window program, or multiple instances of the same program,
like Konqueror for instance, each window might have a different "window icon",
visible to the left of the title bar.

In the specific case of Konqueror, the icon will be a sort of sheet icon with
the "favicon" icon for the current page painted over a portion of the sheet.
That same icon is used in the application switcher (alt+tab), although that
depends on the type of switcher you're using of course. I'm using
"informative".

The problem here is that while the switcher uses the correct icons, the task
manager shows always the application icon as defined in the .desktop file for
the application. In the case of Konqueror, that's Konqueror's icon, the planet
with the gear around it. So 3 different Konqueror windows look the same,
icon-wise, in the taskbar, but they're different (which I find nice) in the
application switcher.

Another example would be the Psi Jabber/XMPP client, which shows different
icons for individual chats, groupchats, and the main window. Under Plasma 5,
all windows show the same icon, the "Psi" logo.

I've verified that this does not happen if the program doesn't have a .desktop
file. I've also found mention of this being expected in a pseudo-related
bugreport: https://bugs.kde.org/show_bug.cgi?id=365355#c3

Both of the examples I gave are Qt4-based, but for the record, a program of
mine, built with Qt 5, suffers from the same issue.

So, to sum up:
Using the icon specified in the .desktop file could be nice for windows that
don't set an icon (instead of that generic "X11 icon", but I'd say that, if a
window specifies which icon it wants, the task manager should use that one,
like the application (task) switcher.

Reproducible: Always

Steps to Reproduce:
1. Open 2 Konqueror windows.
2. Load http://www.mageia.org/en/ in one window and http://planet.debian.org/
on the other.


Actual Results:  
Both Konqueror windows show the Konqueror icon in the taskbar, the planet with
the gear around it.

Expected Results:  
One Konqueror window should show with an icon that's a paper sheet with a
planet inside, and a Mageia logo (mageia.org's favicon) in a corner. The other
window should use a similar icon, but with Debian's logo.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to