all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David McCracken <davidm@ixont.com>
To: 71162@debbugs.gnu.org
Subject: bug#71162: bug-gnu-emacs@gnu.org
Date: Thu, 23 May 2024 21:08:24 -0700	[thread overview]
Message-ID: <e197ea19-3f58-4ece-a043-d994a5bfaef7@ixont.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 6769 bytes --]

From: d <d@X990.i-did-not-set--mail-host-address--so-tickle-me>
To: bug-gnu-emacs@gnu.org
Subject: 27.1; toolbar icons
My Linux computers are used only for local development and don't have 
email access. I copied this from the Linux computer (X990) in which the 
problem exists. That I am sending this to you from a Windows computer is 
irrelevant.
--text follows this line--
I have developed a library that includes a toolbar with custom icons. It
works in all versions of Emacs in Windows and in Emacs version 26.3
under Ubuntu-Mate 20.54 but the toolbar doesn't work in Emacs 27.1 under
Ubuntu-Mate 22.04. In my preferred configuration I put my icons under
the user home directory so that this doesn't change if Emacs is
updated. My library accesses this with e.g.
(tool-bar-add-item "~/icons/lxa-next"
to use my lxa-next.xpm icon. In Emacs 26.3 it also works to put my icon
in /usr/share/emacs/26.3/etc/images and refer to it as simply
"lxa-next". Emacs 27.1 shows nothing either way. My lxa-next.xpm appears
similar to the native lock-broken.xpm (4.7kB vs. 4.6kB) so I
experimented referring to that instead of mine and it worked. I also
tested left-arrow but instead of left-arrow.xpm or pbm, it showed a very
plain < image that doesn't exist in the images directory. It should be
noted that there is a lock-broken.pbm but the xpm version was
automatically selected. The icon selection mechanism of Emacs 26.3 is
usable but could be improved by accepting an explicit icon file
extension. That of 27.1 is unusable and, unless we can fix it, I will
have to advise users of my library to install an older version of Emacs.

In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, 
cairo version 1.16.0)
  of 2023-08-16, modified by Debian built on lcy02-amd64-041
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Ubuntu 22.04.4 LTS

Recent messages:
Invalid XPM3 file ((image :type xpm :file 
/usr/share/emacs/27.1/etc/images/lxa-next.xpm))
Invalid XPM3 file ((image :type xpm :file /home/d/icons/lxa-fwdlink.xpm))
Invalid XPM3 file ((image :type xpm :file /home/d/icons/lxa-pin.xpm))
Invalid XPM3 file ((image :type xpm :file /home/d/icons/lxa-prev.xpm))
Invalid XPM3 file ((image :type xpm :file /home/d/icons/lxa-next.xpm))
Invalid XPM3 file ((image :type xpm :file 
/usr/share/emacs/27.1/etc/images/lxa-next.xpm :mask heuristic))
Invalid XPM3 file ((image :type xpm :file /home/d/icons/lxa-fwdlink.xpm 
:mask heuristic))
Invalid XPM3 file ((image :type xpm :file /home/d/icons/lxa-pin.xpm 
:mask heuristic))
Invalid XPM3 file ((image :type xpm :file /home/d/icons/lxa-prev.xpm 
:mask heuristic))
Invalid XPM3 file ((image :type xpm :file /home/d/icons/lxa-next.xpm 
:mask heuristic))

Configured using:
  'configure --build x86_64-linux-gnu --prefix=/usr
  --sharedstatedir=/var/lib --libexecdir=/usr/lib
  --localstatedir=/var/lib --infodir=/usr/share/info
  --mandir=/usr/share/man --enable-libsystemd --with-pop=yes
  --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp
  --with-sound=alsa --without-gconf --with-mailutils --build
  x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
  --libexecdir=/usr/lib --localstatedir=/var/lib
  --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd
  --with-pop=yes
  --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp
  --with-sound=alsa --without-gconf --with-mailutils --with-cairo
  --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars
  'CFLAGS=-g -O2
  -ffile-prefix-map=/build/emacs-WL9mhG/emacs-27.1+1=. 
-fstack-protector-strong
  -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
  -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro''

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD
JSON PDUMPER LCMS2 GMP

Important settings:
   value of $LANG: en_US.UTF-8
   locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
   show-paren-mode: t
   delete-selection-mode: t
   tooltip-mode: t
   global-eldoc-mode: t
   eldoc-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec epa derived epg epg-config gnus-util
rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date server
cus-edit cus-start cus-load wid-edit linkxall edmacro kmacro pcase paren
delsel bs finder-inf package easymenu browse-url url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json subr-x map url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify lcms2 dynamic-setting
system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit
x multi-tty make-network-process emacs)

Memory information:
((conses 16 91987 8892)
   (symbols 48 9691 1)
   (strings 32 26045 2661)
   (string-bytes 1 804745)
   (vectors 16 14071)
   (vector-slots 8 176572 9434)
   (floats 8 34 18)
   (intervals 56 1929 0)
   (buffers 1000 12))


[-- Attachment #2: lxa-next.xpm --]
[-- Type: text/plain, Size: 4724 bytes --]

/* XPM */
static char * C:\SwDev\Emacs\icons\lxa_search_fwd_xpm[] = {
"24 24 198 2",
"  	c None",
". 	c #C85A00",
"+ 	c #C85900",
"@ 	c #C75900",
"# 	c #C25600",
"$ 	c #CB6D1D",
"% 	c #DC9149",
"& 	c #E09E57",
"* 	c #DEA15C",
"= 	c #DD964B",
"- 	c #D5802F",
"; 	c #CE701A",
"> 	c #C45C05",
", 	c #C15700",
"' 	c #BC5704",
") 	c #DD9A59",
"! 	c #EFC797",
"~ 	c #AC7845",
"{ 	c #6D4722",
"] 	c #553011",
"^ 	c #4D2C11",
"/ 	c #653E16",
"( 	c #92551B",
"_ 	c #CC7522",
": 	c #C7630C",
"< 	c #BB5400",
"[ 	c #B65304",
"} 	c #ECB980",
"| 	c #DBAE7E",
"1 	c #663C18",
"2 	c #5D391C",
"3 	c #583B24",
"4 	c #4D3B2D",
"5 	c #4B3A2C",
"6 	c #5B3C25",
"7 	c #633B1A",
"8 	c #6A370D",
"9 	c #AC5D13",
"0 	c #CA650B",
"a 	c #B45000",
"b 	c #AD4E00",
"c 	c #D78E47",
"d 	c #CF985E",
"e 	c #5D3615",
"f 	c #563E29",
"g 	c #D7ED5C",
"h 	c #D4D4D4",
"i 	c #D8D8D8",
"j 	c #573B26",
"k 	c #6B3910",
"l 	c #B15B0B",
"m 	c #BC5903",
"n 	c #B66117",
"o 	c #EBAD69",
"p 	c #693D16",
"q 	c #604530",
"r 	c #F5F5F5",
"s 	c #FFFFFF",
"t 	c #FCFCFC",
"u 	c #5A402A",
"v 	c #753B0B",
"w 	c #C56105",
"x 	c #A84C00",
"y 	c #A04700",
"z 	c #D18233",
"A 	c #AD6C2E",
"B 	c #633F21",
"C 	c #F6F6F6",
"D 	c #FEFCFC",
"E 	c #FBFBFB",
"F 	c #000000",
"G 	c #653C1C",
"H 	c #A04C03",
"I 	c #B55400",
"J 	c #9E4500",
"K 	c #9C4600",
"L 	c #DC8C3A",
"M 	c #844D1E",
"N 	c #6F4F37",
"O 	c #694B34",
"P 	c #854108",
"Q 	c #C15A00",
"R 	c #9B4600",
"S 	c #934201",
"T 	c #E5923A",
"U 	c #6B3D16",
"V 	c #705A48",
"W 	c #804613",
"X 	c #CF6100",
"Y 	c #924100",
"Z 	c #8A3F01",
"` 	c #E38A2E",
" .	c #6E401A",
"..	c #8A531B",
"+.	c #D06300",
"@.	c #8A3F00",
"#.	c #883E00",
"$.	c #D2761C",
"%.	c #864D1A",
"&.	c #7C5C40",
"*.	c #8C6842",
"=.	c #A6631C",
"-.	c #BF5A00",
";.	c #873D00",
">.	c #7F3800",
",.	c #BA610E",
"'.	c #A35B16",
").	c #78512F",
"!.	c #9A6E39",
"~.	c #C67219",
"{.	c #A95000",
"].	c #7C3900",
"^.	c #8C4303",
"/.	c #DB7510",
"(.	c #7A481F",
"_.	c #A17949",
":.	c #C48839",
"<.	c #DE730A",
"[.	c #843D00",
"}.	c #6B3406",
"|.	c #AE5706",
"1.	c #C1640C",
"2.	c #7B4C25",
"3.	c #A77A4D",
"4.	c #C48E44",
"5.	c #E08620",
"6.	c #A84E00",
"7.	c #7E3900",
"8.	c #2C2521",
"9.	c #4F453B",
"0.	c #80410D",
"a.	c #CC6503",
"b.	c #C06209",
"c.	c #814B1F",
"d.	c #85552E",
"e.	c #A17746",
"f.	c #AB783D",
"g.	c #C58A3C",
"h.	c #DD851F",
"i.	c #C86101",
"j.	c #3E3A35",
"k.	c #9F978D",
"l.	c #6D543B",
"m.	c #7D3A03",
"n.	c #AB5201",
"o.	c #DC6900",
"p.	c #A8580D",
"q.	c #904F17",
"r.	c #8B5423",
"s.	c #9B6329",
"t.	c #B06F27",
"u.	c #C4731E",
"v.	c #E2760A",
"w.	c #AA5000",
"x.	c #7D3900",
"y.	c #2F2C28",
"z.	c #989288",
"A.	c #675E52",
"B.	c #6E5837",
"C.	c #6A4F2D",
"D.	c #663105",
"E.	c #853D00",
"F.	c #B15400",
"G.	c #C85F00",
"H.	c #DE6B00",
"I.	c #DC6C01",
"J.	c #C75F00",
"K.	c #B05300",
"L.	c #863E00",
"M.	c #7D3800",
"N.	c #282420",
"O.	c #8E877F",
"P.	c #676156",
"Q.	c #594931",
"R.	c #453826",
"S.	c #191614",
"T.	c #733300",
"U.	c #7A3800",
"V.	c #7B3800",
"W.	c #803A00",
"X.	c #7A3700",
"Y.	c #24201C",
"Z.	c #817B73",
"`.	c #6A645C",
" +	c #453B2B",
".+	c #2A251C",
"++	c #191512",
"@+	c #4C4641",
"#+	c #6C675F",
"$+	c #342F26",
"%+	c #1E1A16",
"&+	c #151310",
"*+	c #040404",
"=+	c #1B1714",
"-+	c #23211B",
";+	c #1A1714",
">+	c #13120F",
",+	c #181511",
"                                                ",
"                      . + + + . @               ",
"                  # $ % & * = - ; > ,           ",
"                ' ) ! ~ { ] ^ / ( _ : <         ",
"              [ } | 1 2 3 4 5 6 7 8 9 0 a       ",
"            b c d e f g h i g g g j k l m b     ",
"            n o p q g r s t g g g g u v w x     ",
"          y z A B g g C D E F g g g g G H I J   ",
"          K L M N g g g g g g F g g g O P Q R   ",
"          S T U g g g g g g g g F g g V W X Y   ",
"          Z `  .F F F F F F F F F F g g ..+.@.  ",
"          #.$.%.&.g g g g g g g F g g *.=.-.;.  ",
"          >.,.'.).g g g g g g F g g g !.~.{.].  ",
"            ^./.(.g g g g g F g g g _.:.<.[.    ",
"            }.|.1.2.g g g g g g g 3.4.5.6.7.    ",
"          8.9.0.a.b.c.d.g g g e.f.g.h.i.].      ",
"          j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.        ",
"        y.z.A.B.C.D.E.F.G.H.I.J.K.L.M.          ",
"      N.O.P.Q.R.S.    T.7.U.V.W.X.              ",
"    Y.Z.`. +.+++                                ",
"    @+#+$+%+&+*+                                ",
"    =+-+;+>+                                    ",
"      ,+                                        ",
"                                                "};

             reply	other threads:[~2024-05-24  4:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-24  4:08 David McCracken [this message]
2024-05-24  6:15 ` bug#71162: bug-gnu-emacs@gnu.org Eli Zaretskii
     [not found]   ` <9002e131-3466-4a73-a88c-bad260e5b886@ixont.com>
2024-05-25  6:09     ` Eli Zaretskii
2024-05-25 19:08       ` David McCracken
2024-05-26  4:44         ` Eli Zaretskii
2024-05-25 20:04   ` David McCracken
2024-05-27  4:16   ` David McCracken
2024-05-27 11:20     ` bug#71162: In Linux Emacs 27.1 rejects custom toolbar icons Eli Zaretskii
2024-05-25 10:42 ` bug#71162: bug-gnu-emacs@gnu.org Benjamin Riefenstahl
2024-05-26 20:54 ` bug#71162: In Linux Emacs 27.1 rejects custom toolbar icons David McCracken
2024-05-28  3:56 ` bug#71162: Linux-Emacs > 26 icons David McCracken

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e197ea19-3f58-4ece-a043-d994a5bfaef7@ixont.com \
    --to=davidm@ixont.com \
    --cc=71162@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.