Bug 79429 - Other: icons in alt+tab dialogue are not correct
Summary: Other: icons in alt+tab dialogue are not correct
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.2.4.2 release
Hardware: Other Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
: 90322 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-29 21:27 UTC by gray.timothyjames
Modified: 2017-05-23 14:41 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
see the bad icon on left of alt+tab dialogue (108.24 KB, image/png)
2014-05-29 21:27 UTC, gray.timothyjames
Details
Screenshots from Debian and Arch (792.52 KB, application/zip)
2014-11-01 10:43 UTC, Buovjaga
Details
Screenshot from Arch and LO 4.3.3.2 (541.17 KB, image/png)
2014-11-01 11:42 UTC, Buovjaga
Details
Screenshot from Arch and LO 4.3.3.2 with Tango icons (654.16 KB, image/png)
2014-11-01 11:43 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gray.timothyjames 2014-05-29 21:27:45 UTC
Created attachment 100124 [details]
see the bad icon on left of alt+tab dialogue

Problem description: 

alt+tab produces icons that are not in accordance with the system theme.

Steps to reproduce:
1. alt+tab

Current behavior:
low-res, ugly grey-ish icons appear

Expected behavior:
system libreoffice icons appear
              
Operating System: Debian
Version: 4.2.4.2 release
Comment 1 Buovjaga 2014-10-31 21:38:04 UTC
Does this still occur for you with latest version?
Which Debian version?
What desktop environment are you using?
Comment 2 gray.timothyjames 2014-11-01 03:53:04 UTC
no longer using Debian, so I can't confirm that this is still an issue.  D.E. was XFCE if memory serves.
Comment 3 Buovjaga 2014-11-01 10:43:51 UTC
Created attachment 108753 [details]
Screenshots from Debian and Arch

In this .zip file I have included three screenshots generously provided to me by Xfce community members on the #xfce IRC channel.

The only one that shows a grey icon is Arch Linux with LO 4.2.7.2.
The others don't have the problem and they are from Aptosid and Debian Jessie, LO 4.3.3 rc2.
All three use Xfce 4.10.1.
Arch and Aptosid use Greybird theme with Faenza.
It might be that the problem has gone away in 4.3.x.
I will try and get more information.
Comment 4 gray.timothyjames 2014-11-01 10:56:47 UTC
I was encountering the same thing as shown in the Arch screenshot.

starting to remember from my research about the problem when I was encountering it.  I think alt-tab switcher was fetching the icon from the libreoffice theme (i.e., icons used inside libreoffice) rather than the external system theme.  you'll notice that the Aptosid and Debian Jessie screenshots have a standard (colour) theme in libreoffice, the and that the writer icon shown in the alt-tab switcher is consistent with (for example) the new document icon in top left.  however, the Arch screenshot shows the black-and-white Faenza icon for both the new document and the switcher.

in light of this, not sure if the problem is with libreoffice or xfce.
Comment 5 Buovjaga 2014-11-01 11:42:01 UTC
Created attachment 108755 [details]
Screenshot from Arch and LO 4.3.3.2

The Arch Linux user updated to LO Fresh 4.3.3 and could still reproduce the greyness with Faenza.
With Sifr, they got a grey icon as well. The original reporter was using Sifr as can be seen from the screenshot.
Comment 6 Buovjaga 2014-11-01 11:43:35 UTC
Created attachment 108756 [details]
Screenshot from Arch and LO 4.3.3.2 with Tango icons

Same setup as the previous, but with Tango icons. It clearly seems to be picking up the alt-tab icon from the icon set.
Comment 7 Buovjaga 2014-11-01 12:19:27 UTC
Clarification: of the screenshot .zip I uploaded, all the others except Arch were using Tango icon set in LO. The Arch user was using Sifr.

Just now the Aptosid user tested Sifr, but it didn't change the alt+tab icon.

One person stated their view that "the problem is within the application. firefox treats this right and does a look up for the current icon theme to determine the application icon, libreoffice doesn't".

Might this somehow be related to bug 65754 ?
Comment 8 Buovjaga 2015-01-13 07:09:13 UTC
Verified by myself on Scientific Linux 7 64-bit, Xfce 4.10.1-4 it really picks up Sifr icon for alt-tab, if the icon theme is selected.

Version: 4.5.0.0.alpha0+
Build ID: 9763b55eb946cf425220d26dab91bf220890b180
TinderBox: Linux-rpm_deb-x86_64@46-TDF-dbg, Branch:master, Time: 2015-01-08_12:56:53
Comment 9 Yan Pas 2015-03-29 13:33:31 UTC
*** Bug 90322 has been marked as a duplicate of this bug. ***
Comment 10 tommy27 2016-04-16 07:28:35 UTC Comment hidden (obsolete)
Comment 11 Yan Pas 2016-04-20 13:39:08 UTC
Maybe it's XFCE's problem? Alt-tab can't draw icons for some gnome apps e.g.
Comment 12 Buovjaga 2016-04-20 13:43:55 UTC
(In reply to Yan Pas from comment #11)
> Maybe it's XFCE's problem? Alt-tab can't draw icons for some gnome apps e.g.

Sure, it's a problem with XFCE, see comment 3.
Comment 13 QA Administrators 2017-05-22 13:26:43 UTC Comment hidden (obsolete)
Comment 14 Yan Pas 2017-05-23 14:41:15 UTC
So, if it is XFCE's problem, then closing

The root may be in xfwm4/src/icons.c getAppIcon function