FS#48862 - [emacs] toolbar without icons
Attached to Project:
Arch Linux
Opened by Felix E. Klee (feklee) - Sunday, 10 April 2016, 08:27 GMT
Last edited by Jürgen Hötzel (juergen) - Saturday, 04 June 2016, 19:05 GMT
Opened by Felix E. Klee (feklee) - Sunday, 10 April 2016, 08:27 GMT
Last edited by Jürgen Hötzel (juergen) - Saturday, 04 June 2016, 19:05 GMT
|
Details
Description: Yesterday I updated the system, and now the
toolbar icons in EMACS are missing. On another Arch
installation I cannot replicate the problem.
What I already tried: * `emacs --no-init-file` * disable GDK scaling Additional info: * Package version: 24.5-2 Steps to reproduce: Start EMACS, the toolbar is empty. |
This task depends upon
Closed by Jürgen Hötzel (juergen)
Saturday, 04 June 2016, 19:05 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in
-> emacs-24.5-4-i686.pkg.tar.xz (i686)
-> emacs-24.5-4-x86_64.pkg.tar.xz (x86_64)
Saturday, 04 June 2016, 19:05 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in
-> emacs-24.5-4-i686.pkg.tar.xz (i686)
-> emacs-24.5-4-x86_64.pkg.tar.xz (x86_64)
gtk-theme-name=Default
So I suppose I use the default theme (I don't really understand GTK3 configuration).
It doesn't bother me much because I don't use the toolbar in Emacs but I can confirm the behavior.
I tried to recompile emacs with the latest gtk3: same issue, toolbar still missing. Then, as a workaround, I recompiled emacs with gtk2 instead of gtk3: this resolves the issue.
What could be a quick workaround? [Roll back][1] packages to, say, a month ago? When did this break?
[1]: https://wiki.archlinux.org/index.php/Arch_Linux_Archive#How_to_restore_all_my_packages_at_a_specific_date
For the time being, as a workaround, I would suggest to recompile emacs with gtk2; this is what I did, and it works perfectly. Just get the sources (https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/emacs), replace 'gtk3' with 'gtk2' in PKGBUILD and recompile with 'makepkg'. Before doing this, as the .tar.xz of emacs is signed, import the public key with 'gpg --recv-keys 7C207910' or launch 'makepkg' with '--skipinteg'.
What else is affected? Emacs is the only one I've heard so far.
"Btw, did you update gkt-update-icon-cache as well?"
That has nothing to do with anything.
For the time being, I would recommend to recompile emacs with gtk2, which works perfectly. See my post above.
Iceweasel is Firefox. All of the issues there are theme related. Completely different than this bug.
I can live without it because I use command line.
NOTE: I was unable to duplicate my positive result. Installing webkitgtk and building Emacs _doesn't_ make the toolbar appear. Sorry for the white noise.
https://github.com/emacs-mirror/emacs/commit/3f4c6d52d345999938bc2d4a53246af4c61ef176
Called: Handle deprecated Gtk+ stuff for version <= 3.10
I have not tried to cherry pick this patch in the 24.5 branch.
No easy cherry-picking here: Merge conflict. Any input appreciated.
-> emacs-24.5-4-i686.pkg.tar.xz (i686)
-> emacs-24.5-4-x86_64.pkg.tar.xz (x86_64)
should hit your friendly ArchLinux miror soon.