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: Sat, 24 Jul 2021 18:52:40 +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="35541"; 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 Sat Jul 24 18:53:09 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 1m7Kth-00093H-Aw for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Jul 2021 18:53:09 +0200 Original-Received: from localhost ([::1]:40750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7Ktg-00080D-Dc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Jul 2021 12:53:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7Kta-000802-Ex for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2021 12:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35287) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m7Kta-0006wh-7q for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2021 12:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m7Kta-0006hE-3h for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2021 12:53:02 -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: Sat, 24 Jul 2021 16:53:02 +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.162714557825729 (code B ref 49688); Sat, 24 Jul 2021 16:53:02 +0000 Original-Received: (at 49688) by debbugs.gnu.org; 24 Jul 2021 16:52:58 +0000 Original-Received: from localhost ([127.0.0.1]:46833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7KtV-0006gu-QL for submit@debbugs.gnu.org; Sat, 24 Jul 2021 12:52:58 -0400 Original-Received: from st43p00im-ztfb10061701.me.com ([17.58.63.172]:56944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7KtS-0006gf-4p for 49688@debbugs.gnu.org; Sat, 24 Jul 2021 12:52:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1627145563; bh=0yfwWP/ct8M5uIVFiK8potc4XRA2IOt5qWW/i3bsvrk=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=q8/Ac4cF2zWOi87Nh0B9fE+RTzwVtJ5rgunJD2UP1TIFDyuTovD9ZDSyqY2KI+pKz jzakZSglAnF4M1rxODmyFGL0gnm9TXBkBc3vVqAmnua3Sn6zyJgtnhxt3w2y/QcUTZ 7fduGO0JyP8QlACT9+o+Hp8kSkXFqxfoKJ7pkSLUzpcbJCUvoqlMbdSUGQw/fH65P0 uiXESyhzGdxSV2wp0aiOpPoxa/GNOhKj87JjvWvYdfUtODxhh6F43+TeRLODRIDHj1 /RJzA+wQiWAbIMQk+qobojkyW0S+MdS/vyOOUcfGasCtEW90xCL3UH3oRtWmgEMtqA gfwgf6pWCPgig== Original-Received: from Workstation.local (78-141-116-131.dynamic.orange.sk [78.141.116.131]) by st43p00im-ztfb10061701.me.com (Postfix) with ESMTPSA id BC73FAC01F0; Sat, 24 Jul 2021 16:52:42 +0000 (UTC) In-Reply-To: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-24_11:2021-07-23, 2021-07-24 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2107240102 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:210647 Archived-At: Just noticed: Images do not respect hi-DPI (Retina) screens, e.g.=20 2x scale. R+ Rudolf Adamkovi=C4=8D via "Bug reports for GNU Emacs, the Swiss army=20 knife of text editors" writes: > Alan,=20 >=20 > Wow! With this patch, not only Emacs does not crash, but it=20 > takes under a second to show my music library instead of half a=20 > minute. All pictures are present. This is like getting a new=20 > computer!=20 >=20 > R+=20 >=20 > Alan Third writes:=20 >=20 >> What about this instead: modified src/nsimage.m @@ -265,16=20 >> +265,12 @@ + (instancetype)allocInitFromFile:=20 >> (Lisp_Object)file=20=20 >> image =3D [[EmacsImage alloc] initByReferencingFile:filename];=20=20 >>=20=20=20=20 >> [...] -- Alan Third=20=20 >=20 > -- Logic is a science of the necessary laws of thought, without=20 > which no employment of the understanding and the reason takes=20 > place. -- Immanuel Kant, 1785 Rudolf Adamkovi=C4=8D=20 > Studenohorsk=C3=A1 25 84103 Bratislava Slovakia=20 > [he/him]=20 >=20=20=20 --=20 "Contrariwise," continued Tweedledee, "if it was so, it might be;=20 and if it were so, it would be; but as it isn't, it ain't. That's=20 logic." -- Lewis Carroll, Through the Looking Glass Rudolf=20 Adamkovi=C4=8D Studenohorsk=C3=A1 25 84103 Bratislava=20 Slovakia [he/him]