Red Hat Bugzilla – Bug 1477745
Emacs GUI Toolbar icons missing
Last modified: 2018-04-09 05:01:53 EDT
Created attachment 1308433 [details]
Description of problem:
The Emacs GUI toolbar icons disappeared after the RHEL 7.3 to 7.4 upgrade set.
Version-Release number of selected component (if applicable):
$ rpm -qi emacs
Name : emacs
Epoch : 1
Version : 24.3
Release : 19.el7_3
Install Date: Fri 03 Mar 2017 01:50:25 PM EST
Group : Applications/Editors
Size : 14848179
License : GPLv3+
Signature : RSA/SHA256, Thu 09 Feb 2017 11:30:33 AM EST, Key ID 199e2f91fd431d51
Source RPM : emacs-24.3-19.el7_3.src.rpm
Build Date : Mon 16 Jan 2017 06:14:36 AM EST
Build Host : x86-037.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor : Red Hat, Inc.
URL : http://www.gnu.org/software/emacs/
Summary : GNU Emacs text editor
Emacs is a powerful, customizable, self-documenting, modeless text
editor. Emacs contains special code editing features, a scripting
language (elisp), and the capability to read mail, news, and more
without leaving the editor.
This package provides an emacs binary with support for X windows.
It seems that after the upgrade from RHEL 7.3 to 7.4 and a reboot, the Emacs GUI lost its toolbar icons. Note that the emacs package is still reported as el7_3. Perhaps there is a 7.4 package missing from the repository?
(In reply to Donald Pellegrino from comment #0)
> It seems that after the upgrade from RHEL 7.3 to 7.4 and a reboot, the Emacs
> GUI lost its toolbar icons.
There were only 2 tiny fixes going into Emacs for 7.4 that had nothing to do with GUI. I have verified that the icons are missing even with emacs-24.3-18.el7.x86_64. The problem is very likely in the gtk code that has changed quite a lot with the update.
> Note that the emacs package is still reported as
> el7_3. Perhaps there is a 7.4 package missing from the repository?
This is expected. The el7_3 means that the patches I wrote about above were also applied in 7.3.z (z-stream) and no newer fixes were added into 7.4.
Thanks for the heads-up @Jan Synacek. This is a minor issue, but if bumping the whole package up to the latest GNU Emacs 25.2 fixes things then that would be ideal fix for me.
Compiling emacs 25.2.1 from source fixed this emacs toolbar icons / buttons missing problem for me (as did downgrading everything gtk 3.22)
I am thinking it is to be fixed is emacs not gtk ... but i am no-one :
is an emacs commit that is supposed to fix this
Jan, can you do that ?
17 out of 31 hunks FAILED -- saving rejects to file src/gtkutil.c.rej
This may take a while.
Created attachment 1376690 [details]
Created attachment 1377500 [details]
Note that this patch also removes the tear-off handles from the menu bar. That is how it was written upstream and I don't consider it a regression. I also tried to backport only the icon-related parts of the patch without touching the menu bar handles, but that didn't work at all.
I applied this patch to my 24.3 src download, rebuilt and installed it. Toolbar is back again. :)
Thank you for testing!
Geezus christ. Enterprise Linux. And emacs is broken.
This is a travesty.
*** Bug 1495264 has been marked as a duplicate of this bug. ***