GNOME Bugzilla – Bug 694850
window-list missing icons
Last modified: 2013-03-02 19:58:51 UTC
Created attachment 237585 [details] screenshot I've noticed that the window list sometimes doesn't get the right application icon, even when it shows up properly in the app menu
Yes, app menu and window list use different icons - the former uses the application icon (preferably from the .desktop file), the latter the window icon (most likely _NET_WM_ICON).
We should probably fall back to the app icon in that case.
Nah, the easiest fix is to just use the app icon from the get-go ...
Does anything use a _NET_WM_ICON that's different from the app icon? I can't imagine so, but it would break GNOME 2 people, so we should be careful.
Some applications (gnome-documents comes to mind) have started to not set _NET_WM_ICON at all (in which care there's a fallback to some generic icon); ShellApp already falls back to _NET_WM_ICON in case we can't find a .desktop file, so this should be fine (in particular as it's consistent with any other place, e.g. dash, app menu, tab popup, ...)
Created attachment 237631 [details] [review] window-list: Always use ShellApp icon rather than _NET_WM_ICON We currently use the application icon for items that are grouped by application and the window icon otherwise. However with the icon property being unused anywhere else in GNOME3, applications have started to not set any window icon at all. Rather than complaining to application authors, switch to using the app icon everywhere, which improves consistency with the rest of GNOME3 anyway.
Review of attachment 237631 [details] [review]: Looks good.
Attachment 237631 [details] pushed as 040c106 - window-list: Always use ShellApp icon rather than _NET_WM_ICON