From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#60669: Linux Emacs 27.1 custom toolbar icons Date: Sun, 3 Sep 2023 02:41:11 -0700 Message-ID: References: <998e8e01-2c89-da4b-9c36-83b987af3bdf@ixont.com> <83eds4pel1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9463"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60669-done@debbugs.gnu.org, David McCracken To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 03 11:42:05 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qcjcK-0002Ic-I9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Sep 2023 11:42:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcjcA-00057H-6F; Sun, 03 Sep 2023 05:41:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qcjc8-00056D-4E for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2023 05:41:52 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qcjc7-0007bm-Sc for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2023 05:41:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcjcI-0001r2-49 for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2023 05:42:02 -0400 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Sep 2023 09:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 60669 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Mail-Followup-To: 60669@debbugs.gnu.org, stefankangas@gmail.com, davidm@ixont.com Original-Received: via spool by 60669-done@debbugs.gnu.org id=D60669.16937340917081 (code D ref 60669); Sun, 03 Sep 2023 09:42:01 +0000 Original-Received: (at 60669-done) by debbugs.gnu.org; 3 Sep 2023 09:41:31 +0000 Original-Received: from localhost ([127.0.0.1]:39546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcjbm-0001q9-HQ for submit@debbugs.gnu.org; Sun, 03 Sep 2023 05:41:30 -0400 Original-Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]:42381) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcjbk-0001pv-60 for 60669-done@debbugs.gnu.org; Sun, 03 Sep 2023 05:41:29 -0400 Original-Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2bcb54226e7so5846141fa.1 for <60669-done@debbugs.gnu.org>; Sun, 03 Sep 2023 02:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693734072; x=1694338872; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=eBy9SsQF1b7O3P4+vmBGfD7QDo9Ffta4dQ0KO0BjAqM=; b=iUL1s4/LK9sSK3icX8tlbleqDsaPFOi3cwdn9aDjQ/Pwe7f3b6a78fD/BtExeGOef9 8foeK1X19vmVeCXRqNK4Ndid0EP1Gr5ZfmDNZSapbtXQfL1KVfqFWNm+AhemkdyMRYpa X2KhUNMwuvMUQNttMmERDRYjWgyIIqbt55MTgL1QB0Yev2648CQUHEeSityO/GG1rHXY RKxzCpELDNpN8GlmGYKu0iMdqioQo9Tu4MANFc+dzFvQzEW1Pbp//+IA79qPAv2PPmSW r7bx2f8CLaS/NYUmctXZ3Xe6SZAOe+22J2dBC+OtmY2cNP9uzQLKDfbi6bmQHbIO4S3D /NxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693734072; x=1694338872; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eBy9SsQF1b7O3P4+vmBGfD7QDo9Ffta4dQ0KO0BjAqM=; b=SAJPuPaC+FbOR3Gsir6oryQy12aBdnnWHkUL/NpxOug+N6ViEkFAdpu1Q08pcp+d1+ k9yqsZzAaiwqRRn11kvcYNpzCnoLYfGJ2eXByh/yMiJ6+Y5hqIe2eX66YStN4O5Javuo AKbgfwYdAwcJDYFwd0zcQF3j+Kfq7R1Lb42GwMd4e5ll+87xk6e3c7nKb/q6p3uM0O6c 2hWRoM5xyxth0r5rI6O8Gp/37wH4YEu53wuoHruWyI/cq4jHYsUcvghG/5SZXquoYjO0 KCtSQZwthgfgKC9ZwK/nqhYXRTTvGSbCJrRRgNXqm7F4HT/qugAQM9Cis3Gqipjvc71k Tx6w== X-Gm-Message-State: AOJu0YzanPwoP1HpPcT03pKrzH0t/ASvHbV80h6/vQa+sdSo3EKpug8C 3HH0+c3DlZSOQ/G6hnsHUf0RI7or1M39kc6qF8I= X-Google-Smtp-Source: AGHT+IH7mzmWiheXaM7Ra50rfW906Rf8eWeKv/5oVFTxn6vNOJS+pAfq9jrVPtI7vE3/ACg82vYK3bgg9S43FkFy4IY= X-Received: by 2002:a2e:b168:0:b0:2bd:1f0d:8c07 with SMTP id a8-20020a2eb168000000b002bd1f0d8c07mr2329996ljm.19.1693734072011; Sun, 03 Sep 2023 02:41:12 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 3 Sep 2023 02:41:11 -0700 In-Reply-To: <83eds4pel1.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 09 Jan 2023 05:32:58 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269120 Archived-At: Eli Zaretskii writes: >> Date: Sun, 8 Jan 2023 13:01:26 -0800 >> From: David McCracken >> >> The Emacs 27.1 provided (apt-get install) by Ubuntu 22.04 reduces >> support for custom toolbar icons. It only works with B/W pbm files and >> only if located in /usr/share/emacs/27.1/etc/images and only if there >> isn't an xpm file with the same base name. i.e. name.pbm works but not >> if there is a name.xpm in the directory. If these conditions are not met >> nothing is displayed. >> >> This does not seem to be baked into Emacs 27.1 because these >> restrictions don't exist in Windows Emacs 27.1. They are also not >> inherent in Linux because they don't exist in Linux Emacs 26.1. >> >> There are two serious problems with these seemingly unnecessary changes. >> B/W icons reduce not just the aesthetic quality but also subtle visual >> clues that help an icon convey its meaning. Accepting only icons in the >> version-numbered installation directory means that custom icons are >> wiped out by upgrading Emacs. >> >> The installer program I provide with my Emacs library stores its (xpm) >> icons in ~/icons (a directory created by my installer). My library >> accesses these by e.g. >> (tool-bar-add-item "~/icons/lxa-pin" >> Linux Emacs 27.1 is the only version in which this does not work. To >> test whether it does not like that the directory is relatively insecure, >> I tried moving my icons to /usr/local but they were still ignored. In >> all other versions, adding the xpm extension to the reference causes it >> to fail but I tested this anyway and it accomplished nothing. > > Can you please show a reproducible recipe, starting from "emacs -Q", > that exhibits the problem you are describing? I don't think I > understand what exactly doesn't work in your case. > > Also, please use "M-x report-emacs-bug" to post the details, as that > command collects important details about the Emacs build configuration > that make investigation easier. > > Thanks. More information was requested, but none was given within 9 months, so I'm closing this bug. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report.