Bug 149512
Summary: | Wrong icon for Emacs button in window list | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | August <fusionfive> |
Component: | emacs | Assignee: | Jens Petersen <petersen> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | dmalcolm, mavit |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-10-03 08:51:40 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
August
2005-02-23 18:14:50 UTC
This is a longstanding bug I'm afraid. Any clues on how to fix this would appreciated... Interestingly the right icon is shown with KDE. Here's a possibly related problem in Fedora Core 4. The file /usr/bin/emacs is actually a wrapper script that runs the emacs-x binary. If your app-defaults are set up to expect the binary name to be "emacs", they fail to take effect, e.g., "emacs*Background: DarkSlateGray". However, "Emacs*Background: DarkSlateGray" works. Running "exec -a emacs emacs-x" causes "emacs" app-defaults to take effect and the Gnu icon to appear as expected. Well the wrapper is new in FC4 actually, ie it wasn't in FC3 so I don't think it is directly related to the problem. I take your point about the Xresource name vs application name issue though, Peter: I'll add "-a emacs" to the wrapper script in the next devel build. However even with "-a emacs" I still don't see the emacs icon under gnome. It turns out that I see an icon because I have "Emacs*bitmapIcon: on" in my .Xresources. I notice that there's no app-defaults file for Emacs. I'm pretty sure that this wasn't always the case. Should emacs be setting the _NET_WM_ICON property directly? See e.g. the implementation of gdk_window_set_icon_list here: http://cvs.gnome.org/viewcvs/gtk%2B/gdk/x11/gdkwindow-x11.c?view=markup it looks like, with option -i, that emacs will only set iconPixmap but not iconMask. > Should emacs be setting the _NET_WM_ICON property directly?
Good question. Maybe. On the other hand XEmacs doesn't
and its icon displays ok.
Apparently this is fixed in current cvs emacs. Confirmed fixed in current cvs with "emacs -i". |