From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#49688: 28.0.50; Attempting to show images crashes Emacs Date: Mon, 26 Jul 2021 01:45:45 +0200 Message-ID: References: Reply-To: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34401"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49688@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 26 01:46:21 2021 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 1m7np6-0008k9-8l for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 26 Jul 2021 01:46:20 +0200 Original-Received: from localhost ([::1]:52446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7np4-0000Sg-Iy for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Jul 2021 19:46:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7noo-0000SS-ED for bug-gnu-emacs@gnu.org; Sun, 25 Jul 2021 19:46:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38038) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m7noo-0002DQ-3C for bug-gnu-emacs@gnu.org; Sun, 25 Jul 2021 19:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m7non-0004kd-Th for bug-gnu-emacs@gnu.org; Sun, 25 Jul 2021 19:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Jul 2021 23:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49688 X-GNU-PR-Package: emacs Original-Received: via spool by 49688-submit@debbugs.gnu.org id=B49688.162725676018254 (code B ref 49688); Sun, 25 Jul 2021 23:46:01 +0000 Original-Received: (at 49688) by debbugs.gnu.org; 25 Jul 2021 23:46:00 +0000 Original-Received: from localhost ([127.0.0.1]:49584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7nom-0004kM-7A for submit@debbugs.gnu.org; Sun, 25 Jul 2021 19:46:00 -0400 Original-Received: from mr85p00im-ztdg06011101.me.com ([17.58.23.185]:58390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7noh-0004k6-Nw for 49688@debbugs.gnu.org; Sun, 25 Jul 2021 19:45:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1627256750; bh=zGFujuLrlRyZOzw5B9tUDbQtmnz92qKmNZlYZSjdfAU=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=OmP3QtEjZbhFaO9MWfD4sh2CwlR7EGrEfl9K4eHEqtLMc1AB5U1DkxJmbu73UoYjD otTHuiiSR4pc57oZhfSwo9oJCK84gW45peq77cRTGJjGzsoMk2XX0nEnghgqLaCJ5q 3ISLDLHq/do11o8M4bV3Bl7mXuJL5gD/ZPlepM3sUkDqJjCDFTRvW5O0StMAdrXubX udbnP5rjMpEQFTHLQhOFMGAP8aFLyfQ5IaU6DP4dQ0SaSFW0RgNYuEiKHnC0X/fzn7 22n/VborbNMVhN82Kp5Mu6ODQo+42zQDOUkJOhGoD4bO9jh/tQlhgn+PQEprZTsKu9 WoTVTvTraTAnw== Original-Received: from Workstation.local (78-141-116-131.dynamic.orange.sk [78.141.116.131]) by mr85p00im-ztdg06011101.me.com (Postfix) with ESMTPSA id 29C824A0573; Sun, 25 Jul 2021 23:45:48 +0000 (UTC) In-Reply-To: X-Proofpoint-Virus-Version: vendor=fsecure engine=1.1.170-22c6f66c430a71ce266a39bfe25bc2903e8d5c8f:6.0.391, 18.0.790, 17.0.607.475.0000000 definitions=2021-07-25_08:2021-07-23_01, 2021-07-25_08, 2020-04-07_01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 adultscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 clxscore=1015 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2107250165 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:210741 Archived-At: I see. In other words, HiDPI/Retina support in Emacs is a separate=20 issue. Well, I have been using EMMS heavily since you sent me the=20 patch, and I did not experience a single crash. Thus, this can go=20 to Emacs proper. It is so strange to use Emacs with no crashes=20 throughout the day! Thank you so much for helping me. R+ Alan Third writes: > On Sun, Jul 25, 2021 at 12:44:59AM +0200, Rudolf Adamkovi=C4=8D=20 > wrote:=20 >> TL;DR The images show pixelated. Every modern Mac has a HiDPI=20 >> (a.k.a. Retina) screen, where each point (logical pixel) maps=20 >> to 4 physical pixels, a.k.a. 2=C3=97 scale. I in the attached small=20 >> screenshot, please compare the sharpness of the image with the=20 >> text next to it. Emacs renders the image at 1=C3=97 and the text at=20 >> 2=C3=97.=20 >=20 > Without knowing more about the image and how it's being=20 > displayed I can't say whether there's anything wrong with that.=20 >=20 > Images are, by default, displayed at 1x resolution so they will=20 > appear the same size on retina and non-retina screens.=20 >=20 > If you want to display images with pixels at a 1:1 ratio you=20 > need to scale the image by (/ 1 (frame-scale-factor)), but that=20 > will only work on Emacs 28.=20 >=20 > This is how Emacs has always worked on retina screens, this=20 > patch shouldn't change that. If it does then there's something=20 > else wrong, but I don't see any change in image display here.=20 >=20 > -- Alan Third=20 --=20 Logic is a science of the necessary laws of thought, without which=20 no employment of the understanding and the reason takes place. --=20 Immanuel Kant, 1785 Rudolf Adamkovi=C4=8D =20 Studenohorsk=C3=A1 25 84103 Bratislava Slovakia [he/him]