unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Nikulin <m.a.nikulin@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 23847@debbugs.gnu.org
Subject: bug#23847: 24.5; dired icon too large
Date: Thu, 10 Feb 2022 17:30:24 +0700	[thread overview]
Message-ID: <395b6af3-f386-5aba-4cd7-57b1f84fc843@gmail.com> (raw)
In-Reply-To: <87o83hsvgs.fsf@gnus.org>

On 08/02/2022 13:50, Lars Ingebrigtsen wrote:
> sanette-linux writes:
> 
>> When starting emacs in a graphical ubuntu 16.04 session, the "dired"
>> icon in the toolbar is much larger than the other ones, making the
>> result quite ugly.
>> It might be related to the fact that I have a hi-dpi display and set
>> scale=2 in the unity Display setting. However, other icons in the
>> toolbar have the right size, therefore there surely is something wrong.
> 
> (I'm going through old bug reports that unfortunately weren't resolved
> at the time.)
> 
> I'm unable to reproduce this on a HiDPI display with Gnome Shell with
> the current Emacs.  Are you still seeing this issue in recent Emacs
> versions?

Lars, thank you for grooming the bug tracker.

I faced this bug as unrelated to HiDPI display and namely in KDE. Help 
and open folder toolbar icons have normal sizes in Gnome.

I do not have a VM with latest KDE plasma and Emacs, but I had to add 
the following to my init file on Ubuntu-20.04 focal (latest long time 
support release) with Emacs-26.3:

    '(icon-map-list
      (quote
       ((("etc/images/diropen" . "n:folder-new")
         ("etc/images/help" . "help-contents"))
        x-gtk-stock-map)))

Warning: do not try to to create such structure from easy customization 
UI. Alist pairs will not be wrapped in a list, invalid values will not 
be e.g. rejected by setter and you will get semi-broken emacs spitting 
icon-related errors on attempts of various actions.

The problem is that KDE does not provide these non-standard icons in 
sizes suitable for toolbar, Gtk takes larger versions while other icons 
have normal size.





  reply	other threads:[~2022-02-10 10:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-25  9:42 bug#23847: 24.5; dired icon too large sanette-linux
2016-06-27 16:06 ` Glenn Morris
2016-06-27 17:07   ` Glenn Morris
2016-06-27 19:59     ` Glenn Morris
2016-08-09 10:15       ` sanette-linux
2016-08-09 12:01       ` sanette-linux
2016-08-09 17:20       ` sanette-linux
2016-08-09 10:05     ` sanette-linux
2020-06-02 12:44 ` bug#23847: KDE and etc/images/help icon Maxim Nikulin
2022-02-08  6:50 ` bug#23847: 24.5; dired icon too large Lars Ingebrigtsen
2022-02-10 10:30   ` Maxim Nikulin [this message]
2022-02-10 11:46     ` Lars Ingebrigtsen
2022-02-10 14:30       ` Max Nikulin
2023-08-11  4:13       ` Max Nikulin

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=395b6af3-f386-5aba-4cd7-57b1f84fc843@gmail.com \
    --to=m.a.nikulin@gmail.com \
    --cc=23847@debbugs.gnu.org \
    --cc=larsi@gnus.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 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).