From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxim Nikulin Newsgroups: gmane.emacs.bugs Subject: bug#23847: 24.5; dired icon too large Date: Thu, 10 Feb 2022 17:30:24 +0700 Message-ID: <395b6af3-f386-5aba-4cd7-57b1f84fc843@gmail.com> References: <576E5215.2050405@laposte.net> <87o83hsvgs.fsf@gnus.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="37911"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Cc: 23847@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 10 11:48:02 2022 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 1nI6zZ-0009hR-Ow for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 11:48:01 +0100 Original-Received: from localhost ([::1]:43552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nI6zY-00063K-6n for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 05:48:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI6j9-0000bg-CJ for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 05:31:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60194) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nI6j9-0002Mm-0E for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 05:31:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nI6j8-0004KY-Fq for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 05:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Maxim Nikulin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Feb 2022 10:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23847 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 23847-submit@debbugs.gnu.org id=B23847.164448904816622 (code B ref 23847); Thu, 10 Feb 2022 10:31:02 +0000 Original-Received: (at 23847) by debbugs.gnu.org; 10 Feb 2022 10:30:48 +0000 Original-Received: from localhost ([127.0.0.1]:54091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI6im-0004Js-JZ for submit@debbugs.gnu.org; Thu, 10 Feb 2022 05:30:48 -0500 Original-Received: from mail-lf1-f53.google.com ([209.85.167.53]:44568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI6ij-0004Jd-V6 for 23847@debbugs.gnu.org; Thu, 10 Feb 2022 05:30:38 -0500 Original-Received: by mail-lf1-f53.google.com with SMTP id i17so9460454lfg.11 for <23847@debbugs.gnu.org>; Thu, 10 Feb 2022 02:30:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:in-reply-to :content-transfer-encoding; bh=b3gY58zFhqAylCRaRS/cVc6412tv23l9F+SxVTAFf3s=; b=NjP3gGjlxvgCYVMPyog5pjLKe+b+yq6IFLkQPp+NUpH7jGn3kso8EpIA+PTSa89Gu8 pD4lqmKNznsMotugRTHAeCYlPDmCwJ0crlkvDPLNBcNU4RZ9ttkXGl36zwCE8Sf+DSyw Ma1h6xdPZdvFgjAB+M+1SuFK1NlLcWKVDq1J77Xxd3YCTisCrvK6ezgVBQG3IdftQVD0 20shrC7Scb/i5gggdeg0Gir4m1nrSiwK4NewW2SSULTl41TVcMwvXWBxesWT1gwHZyaW 9I656ONPHafVRHtxxoLxw2ZEtjopiufdzaoTMq94rD4up0IKDWUK5Tjh1GUq9YISoCZ9 3k2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:in-reply-to :content-transfer-encoding; bh=b3gY58zFhqAylCRaRS/cVc6412tv23l9F+SxVTAFf3s=; b=MmUYOFyF2Txc1RyvAqlcaQljEq+QXnDcid/AjvBzu6Td/hoyTC7AQReQTtHi44AoVU ghrKWhOpaeutywDC7VNTJmDHhj5u2lVMYirxqs8HZThcF+sluIj9zQt4ZqIPxGJSkdtI HJNkQSC2g8BOy36k0EgJAaREmU+svgxvlFavrtWDy10mzQSOWwwVxVUG3lZcOqSpzRgE qYfP1Lr/J7h4JHjDaYVmsQZzCImXfdh6syWbU0JuKOBJYFvnbqiDe7c6nbxDgVUG+u8y MwveCd6IvYPvCiCP/GHBANgDF8bqfpqhIaclSFfg41wnqdJuxD+hcnXHjnb0aVuiWISp NfEA== X-Gm-Message-State: AOAM530xj0B7uDqmHym/VvIP5lFENTXt+m14IsxowXS+FxPGdkI8wisI Kv/Ea0zDJXZ1pkTw9ybUfVM= X-Google-Smtp-Source: ABdhPJw7rNH6f2hSQRrUHadvreUKPmck8agWvg1jwBbDowsg6jDWMGKgmCzX84hry+F4i65CNaLHeg== X-Received: by 2002:ac2:4a6e:: with SMTP id q14mr3059887lfp.585.1644489031684; Thu, 10 Feb 2022 02:30:31 -0800 (PST) Original-Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id q7sm667485lfm.113.2022.02.10.02.30.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Feb 2022 02:30:31 -0800 (PST) X-Google-Original-From: Maxim Nikulin Content-Language: en-US In-Reply-To: <87o83hsvgs.fsf@gnus.org> 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" Xref: news.gmane.io gmane.emacs.bugs:226585 Archived-At: 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.