From: Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: jm@pub.pink, 75018@debbugs.gnu.org
Subject: bug#75018: 30.0.93; Dired icon missing in tool-bar
Date: Sun, 22 Dec 2024 22:34:15 +0100 [thread overview]
Message-ID: <875xnbz9k8.fsf@gmx.net> (raw)
In-Reply-To: <86h66v5zgt.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Dec 2024 20:45:06 +0200")
On Sun, 22 Dec 2024 20:45:06 +0200 Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Stephen Berman <stephen.berman@gmx.net>
>> Cc: "john muhl" <jm@pub.pink>, 75018@debbugs.gnu.org
>> Date: Sun, 22 Dec 2024 19:15:43 +0100
>>
>> On Sun, 22 Dec 2024 18:40:45 +0200 Eli Zaretskii <eliz@gnu.org> wrote:
>>
>> >> Date: Sun, 22 Dec 2024 09:32:23 -0600
>> >> From: "john muhl" <jm@pub.pink>
>> >> Cc: 75018@debbugs.gnu.org
>> [...]
>> >> > Can you post the Dired icon file from where your build takes them?
>> >>
>> >> Unfortunately I can't find those particular icons among the ~7000
>> >> icons in the /usr/share/icons/ directory but they're probably in
>> >> there somewhere.
>> >
>> > If you run Emacs under GDB with a breakpoint in lookup_image, you
>> > should see all the tool-bar icons being loaded during startup. You
>> > can use the following GDB commands for the breakpoint, to see when the
>> > icon you are interested in gets loaded:
>> >
>> > pp spec
>> >
>> > This should show you the full absolute file name of the icon file
>> > Emacs is loading.
>>
>> When I do that it shows that all the icon files are from etc/images in
>> the Emacs source tree and are xpm files. However, the icons actually
>> displayed are the same as in screenshots John Muhl posted, except that I
>> also have an icon for the `dired' command. This icon is located at
>> /usr/share/icons/gnome/24x24/places/folder.png (or possibly a different
>> size) on my system. The other icons (which are the same as in John's
>> screenshots) are located under /usr/share/icons/Adwaita/symbolic here;
>> there is also an icon there that looks similar to the folder.png icon
>> used for `dired' but matches the look of the other icons, so I wonder
>> why Emacs uses an icon from a different set of icons in this case. My
>> system is GNU/Linux with the Gtk3 toolkit and Xfce4 desktop. It seems
>> that the Gtk3 build overrides the icons provided by Emacs, but not in a
>> completely consistent way.
>
> The reason I asked about the file is because we should try to
> understand why it is not shown as expected. If this is the result of
> upgrading the system, it would be good to know how did this particular
> icon file change as result of the upgrade, and why that caused the
> display to fail.
I understand that, but it seems that `pp spec' won't help here, since it
apparently only shows the icon files provided by Emacs (as John Muhl's
followup post also confirms), while Gtk3 (or the Emacs API to Gtk3)
evidently uses another mechanism to load other icon.
Steve Berman
next prev parent reply other threads:[~2024-12-22 21:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-22 0:19 bug#75018: 30.0.93; Dired icon missing in tool-bar john muhl
2024-12-22 6:43 ` Eli Zaretskii
2024-12-22 15:32 ` john muhl
2024-12-22 16:40 ` Eli Zaretskii
2024-12-22 18:15 ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-22 18:45 ` Eli Zaretskii
2024-12-22 21:34 ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-12-22 19:45 ` john muhl
2024-12-22 19:52 ` john muhl
2024-12-22 23:57 ` john muhl
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875xnbz9k8.fsf@gmx.net \
--to=bug-gnu-emacs@gnu.org \
--cc=75018@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=jm@pub.pink \
--cc=stephen.berman@gmx.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).