From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David McCracken Newsgroups: gmane.emacs.bugs Subject: bug#60669: Linux Emacs 27.1 custom toolbar icons Date: Thu, 7 Sep 2023 21:07:59 -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; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22458"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 60669-done@debbugs.gnu.org To: Stefan Kangas , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 08 06:09:23 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 1qeSo6-0005e3-H0 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Sep 2023 06:09:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeSnm-0007np-SU; Fri, 08 Sep 2023 00:09:02 -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 1qeSnk-0007nO-Q2 for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 00:09:01 -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 1qeSnk-0002bi-HV for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 00:09:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeSnm-0007Mg-I9 for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 00:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David McCracken Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Sep 2023 04:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60669 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 60669-done@debbugs.gnu.org id=D60669.169414609028214 (code D ref 60669); Fri, 08 Sep 2023 04:09:02 +0000 Original-Received: (at 60669-done) by debbugs.gnu.org; 8 Sep 2023 04:08:10 +0000 Original-Received: from localhost ([127.0.0.1]:41877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeSmv-0007L0-L9 for submit@debbugs.gnu.org; Fri, 08 Sep 2023 00:08:10 -0400 Original-Received: from bosmailout06.eigbox.net ([66.96.187.6]:48215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeSmq-0007KT-UT for 60669-done@debbugs.gnu.org; Fri, 08 Sep 2023 00:08:08 -0400 Original-Received: from bosmailscan03.eigbox.net ([10.20.15.3]) by bosmailout06.eigbox.net with esmtp (Exim) id 1qeSmj-0006Ze-Aj for 60669-done@debbugs.gnu.org; Fri, 08 Sep 2023 00:07:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ixont.com; s=dkim; h=Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Q0bz42FsZRit1iOuMa5+ydVauxgKT5w27tGdQMFfk0U=; b=d5NhnehXji3QFgPnrXEBfwrKGH Uzk4fZ9Agwo3dPpOxj3Y5rQPMXSV79I2PSlyFOHQ2I0n9Ey6cHibyvYj41f8WhPZFXErOfe4WQSM1 XS6jPh2xJFwOURPSMTNjJIKS5eaEtorcesSPclGIWPqdmeLxyiJ+7c6IIjNGcap6U0jRaR/jc4Nda taDpuloKXSovZY4LhceDQzLEourke+SVUXjKsnulm7YmAMVeOWCTJHSZY0t/VJqzkvqdvU+jw90TA pyKLDLTl8+5mnPbyn4tL4jcwBbiHUyitNvx+7rVtTQUfvpLy6z7ocUoCB/R20EkjmARq0kmbS53/8 52JRvAEA==; Original-Received: from [10.115.3.33] (helo=bosimpout13) by bosmailscan03.eigbox.net with esmtp (Exim) id 1qeSmi-0004Oz-Ti for 60669-done@debbugs.gnu.org; Fri, 08 Sep 2023 00:07:56 -0400 Original-Received: from bosauthsmtp10.yourhostingaccount.com ([10.20.18.10]) by bosimpout13 with id jG7t2A0020D2CUy01G7wbt; Fri, 08 Sep 2023 00:07:56 -0400 X-Authority-Analysis: v=2.3 cv=G76H7+s5 c=1 sm=1 tr=0 a=Kpo39fPXdbgqDwiI3/AEUA==:117 a=8V9CQAzvb1UE/5s8aP8Njg==:17 a=IkcTkHD0fZMA:10 a=zNV7Rl7Rt7sA:10 a=mDV3o1hIAAAA:8 a=5uJjYwlGAAAA:8 a=4mSHN45XG_Ll4FMtTgIA:9 a=QEXdDO2ut3YA:10 a=_FVE-zBwftR9WsbkzFJk:22 a=BFCC1qkpAUusnFHpP09J:22 Original-Received: from 23-115-169-72.lightspeed.mtryca.sbcglobal.net ([23.115.169.72]:50183 helo=[192.168.1.66]) by bosauthsmtp10.eigbox.net with esmtpsa (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim) id 1qeSmf-0005CA-7L; Fri, 08 Sep 2023 00:07:53 -0400 Content-Language: en-US In-Reply-To: X-EN-UserInfo: 7db9acb10a66b5d38e8efde72e4a1877:931c98230c6409dcc37fa7e93b490c27 X-EN-AuthUser: davidm@ixont.com X-EN-OrigIP: 23.115.169.72 X-EN-OrigHost: 23-115-169-72.lightspeed.mtryca.sbcglobal.net 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:269717 Archived-At: I could not do what you asked because I restored an earlier version of Ubuntu (20.04) and Emacs (26.3) to verify that it was a new problem. The problem did not exist in the earlier versions. I wasn't going to deliberate corrupt my computer again just for a little information. On 2023-09-03 2:41 AM, Stefan Kangas wrote: > 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.