Comment 5 for bug 387828

Revision history for this message
Jason Smith (jassmith) wrote : Re: ALT+TAB with compiz shows really ugly icons.

So there is a relatively straightforward and incremental way to fix this issue. I will outline the steps here.

1) Patch compiz to pay attention to things like _NET_WM_ICON_NAME (if it doesn't already) as well as to use a simple heuristic to look at the size of the icon it wants and some of the other properties of the minimized window, such as its class name, which often matches its desired icon name (e.g. firefox)

2) Patch GTK+ to set more than one icon size into _NET_WM_ICON, preferably setting some large size icons in there for these use cases.

3) Patch compiz, if needed, to play nice with 2)

Up to this point these are temporary solutions, ultimately it would be best to match a window with a .desktop file in a reliable way. In the future this will be possible and when it is all compiz must do is load the icon from the desktop file and be done.