Bug 1477745
| Summary: | Emacs GUI Toolbar icons missing | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Don Pellegrino <don> | ||||||||
| Component: | emacs | Assignee: | Jan Synacek <jsynacek> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Frantisek Sumsal <fsumsal> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 7.4 | CC: | amike, andrew2.hart, ballle98+rhelbug, dbasant, fkrska, fsumsal, jkoten, jsynacek, ksrot, leo, mackendw, mclasen, mmielke, mstowell, nomad, paul, riehecky, rt, smooge, tgummels, tpelka, vicgonzalez, vorpal | ||||||||
| Target Milestone: | rc | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2018-10-30 10:45:11 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Bug Depends On: | |||||||||||
| Bug Blocks: | 1484996, 1549617, 1549689, 1551061 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Don Pellegrino
2017-08-02 19:33:49 UTC
(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 : https://bugs.archlinux.org/task/48862 https://github.com/emacs-mirror/emacs/commit/3f4c6d52d345999938bc2d4a53246af4c61ef176 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]
patch
Created attachment 1377500 [details]
patch v2
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. *** We can forcibly remove the updated (latest) version of gtk3-3.22.26-4.el7_5.x86_64 and subsequently force the installation of gtk3-3.14.13-16.el7.x86_64 via the rpm command. The icons return to the menu of emacs-24.3-20.el7_4.x86_64. The issue appears to be in gtk3 after gtk3-3.14.13-16.el7 Created attachment 1481240 [details]
Old emacs version with missing icons
Created attachment 1481241 [details]
New emacs version with icons present
(In reply to Frantisek Sumsal from comment #31) > Created attachment 1481241 [details] > New emacs version with icons present I tried to follow the attachment link but I get a "Sorry, you are not authorized to access attachment" error... How can I get it? (In reply to vicgonzalez from comment #33) > How can I get it? You can't, they are private. They just show that the icons are back. (In reply to Jan Synacek from comment #34) > (In reply to vicgonzalez from comment #33) > > How can I get it? > > You can't, they are private. They just show that the icons are back. And where or when will be a binary version with the fix to download? The trick downgrading gtk3 has lots of dependencies... (In reply to vicgonzalez from comment #35) > (In reply to Jan Synacek from comment #34) > > (In reply to vicgonzalez from comment #33) > > > How can I get it? > > > > You can't, they are private. They just show that the icons are back. > > And where or when will be a binary version with the fix to download? > The trick downgrading gtk3 has lots of dependencies... The fix is included in RHEL 7.6, so it will be available when 7.6 reaches GA. Great! I downloaded the 7.6beta and then in a RHEL 7.4 upgraded all the emacs packages and its dependencies (240 all together) to the 7.6beta equivalent. Now the icons work perfectly. The packages were basically: dbus-1.10.24-11.el7.x86_64.rpm dbus-devel-1.10.24-11.el7.x86_64.rpm dbus-libs-1.10.24-11.el7.x86_64.rpm dbus-x11-1.10.24-11.el7.x86_64.rpm emacs-24.3-21.el7.x86_64.rpm emacs-auctex-11.87-4.el7.noarch.rpm emacs-common-24.3-21.el7.x86_64.rpm emacs-filesystem-24.3-21.el7.noarch.rpm emacs-gnuplot-4.6.2-3.el7.noarch.rpm emacs-nox-24.3-21.el7.x86_64.rpm emacs-php-mode-1.18.2-1.el7.noarch.rpm t1lib-5.1.2-14.el7.x86_64.rpm tex-preview-11.87-4.el7.noarch.rpm texlive-2012-43.20130427_r30134.el7.x86_64.rpm texlive-ae-svn15878.1.4-43.el7.noarch.rpm texlive-algorithms-svn15878.0.1-43.el7.noarch.rpm and lots of other texlive- Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3166 |