Red Hat Bugzilla – Bug 138164
GNOME panel window applet is not aware of Bluecurve theme
Last modified: 2007-11-30 17:10:53 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Description of problem:
After opening a gnome-terminal window, there is a corresponding entry
in the also active window list applet of gnome-panel. However, the
icon used to identify the application is the ugly stock GNOME icon.
This discrepancy becomes particularly apparent when a launch button
for gnome-terminal has been added to the panel, because then, there
are 2 different icons to designate a single application - the launch
button using the Bluecurve theme, and the window list applet using the
stock GNOME default theme.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Launch window list applet of GNOME panel.
2. Launch GNOME terminal.
3. See the stock GNOME button on the corresponding tab.
Actual Results: The stock GNOME terminal icon is displayed.
Expected Results: The Bluecurve icon should be used, at least, when
the default Bluecurve theme is active.
A quick and dirty hack is to replace
/usr/share/pixmaps/gnome-terminal.png of gnome-terminal-2.7.3-1 by
redhat-artwork-0.117-1. The icon needs to be cropped to about 41x41
pixels. Otherwise the border around the terminal image is too wide and
the terminal icon on the appears too small.
I reported the bug for 'gnome-panel' focusing on the particular
example of 'gnome-terminal'. However, the observation is a general
one. Add for example 'gedit' to the GNOME panel and launch the
application. The launch button displays the Bluecurve icon, the
windows list tab the stock GNOME 'gedit' icon, whereas it should use
the Bluecurve icon. Hence, this is *not* a genuine 'gnome-terminal'
problem - it is a 'gnome-panel' one. As the title of the bug report
says: "GNOME panel window applet is not aware of Bluecurve theme" -
that's exactly what the problem is about. It is therefore a
'gnome-panel' flaw, and the bug should be reopened unless there is a
general solution to make 'gnome-panel' theme-aware.
Joachim: Marco was right to move this upstream.
The issue here is that the window list display whichever icon is specified in
the _NET_ICON X property on the window.
So, if the wrong icon is displayed for a given, its because the app is setting
the wrong icon.
In this case, gnome-terminal is setting the icon to the one display in the
preferences dialog (go to Edit->Current Profile) and that icon isn't themed.