GNU bug report logs - #50160
28.0.50; Wrong NSToolbarItem identifier

Previous Next

Package: emacs;

Reported by: tsuucat <tsuucat <at> icloud.com>

Date: Sun, 22 Aug 2021 02:33:01 UTC

Severity: normal

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 50160 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: tsuucat <tsuucat <at> icloud.com>, 50160 <at> debbugs.gnu.org
Subject: Re: bug#50160: 28.0.50; Wrong NSToolbarItem identifier
Date: Wed, 22 Dec 2021 20:50:42 +0000
On Thu, Sep 09, 2021 at 09:59:28PM +0100, Alan Third wrote:
> On Fri, Sep 10, 2021 at 02:33:40AM +0900, tsuucat wrote:
> > 
> > > Ah, hmm... Perhaps we should append the label text to the hash or
> > > something?
> > 
> > I tried to append the label text to the hash. Most items fixed. But 
> > isearch.el uses “undo” icon and “Undo” label for isearch-delete-char item
> > so the tool-tip is wrong…
> > It is hard to set correct identifier because anyone can create toolbar items 
> > dynamically in Emacs lisp.
> > 
> > I noticed the current toolbaritem problem only matters label and tool-tip.
> > Executed commands are not wrong.
> 
> I suppose we could concatenate the hashes of all the values that might
> matter.

I've pushed a change to master that (I hope) does this.
-- 
Alan Third




This bug report was last modified 2 years and 275 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.