From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64908: 29.1; svg parse failure Date: Fri, 04 Aug 2023 13:26:45 +0300 Message-ID: <835y5vw1ay.fsf@gnu.org> References: <83o7jnwfd3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37246"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64908@debbugs.gnu.org To: David Ponce , Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 04 12:27:31 2023 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 1qRs1p-0009Wx-Rd for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Aug 2023 12:27:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRs1S-0008Ak-28; Fri, 04 Aug 2023 06:27:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qRs1Q-0008AI-6R for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 06:27:04 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qRs1O-00018s-MV for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 06:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qRs1O-0005QM-2g for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 06:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Aug 2023 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64908 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 64908-submit@debbugs.gnu.org id=B64908.169114481320836 (code B ref 64908); Fri, 04 Aug 2023 10:27:02 +0000 Original-Received: (at 64908) by debbugs.gnu.org; 4 Aug 2023 10:26:53 +0000 Original-Received: from localhost ([127.0.0.1]:53464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRs1F-0005Pz-6V for submit@debbugs.gnu.org; Fri, 04 Aug 2023 06:26:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRs1C-0005Pj-Bt for 64908@debbugs.gnu.org; Fri, 04 Aug 2023 06:26:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qRs10-00013C-MS; Fri, 04 Aug 2023 06:26:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=7iXp2qvtGFDfRwUjv5TcaqdmVXG4lBOcgWxB2cLLtXI=; b=H3H8KVw7AoAe1rgWpiuA 9kGbtRToe13rrhxr4BieHrGTGkBmW8SNoTZ0MgZluyJ/CoXDcDOfK3MT78PtC6PGu1I57T6zG3bxj 2dQhUHI0YAh/Y4UdPhA/LeCheSHjQkSel+n5hHT9d5gsoxxoeQ84Z5LVUq/Ar46Tq2lI6iKQMUhVq psyGDWponq5wpNKzeQ1ZutHUu7t/no7xJuxmrNsWkEzS0Ius6OsZEu9kKF+mKk7DMcdRnUDm/TCLM 16j96ByWsS+MzJHyvsdc0N/oZdwYCUAjsLvX8/lsG59eF6pN80qZQW2XC8n3OMrvoyB4+iv70f113 FH2b3WRjuX2NIg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qRs0z-0001ZG-1u; Fri, 04 Aug 2023 06:26:37 -0400 In-Reply-To: (message from David Ponce on Fri, 4 Aug 2023 09:55:03 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266660 Archived-At: > Date: Fri, 4 Aug 2023 09:55:03 +0200 > Cc: 64908@debbugs.gnu.org > From: David Ponce > > On 04/08/2023 07:23, Eli Zaretskii wrote: > >> Date: Thu, 3 Aug 2023 21:16:35 +0200 > >> From: David Ponce > >> > >> In case it could help, using emacs from master (see details at end > >> below), with librsvg2-2.56.0-1.fc38.x86_64 I can insert-image > >> dir-src-open.svg and dir-public-open.svg in the *scratch-buffer* > >> without issue (see Screenshot1). > >> > >> However, the same failed using librsvg2-2.56.3-1.fc38.x86_64 (see > >> Screenshot2). > >> > >> I did test also with some KDE breeze icons. > >> > >> No issue with librsvg2-2.56.0-1.fc38.x86_64. > >> > >> With librsvg2-2.56.3-1.fc38.x86_64 some icons works, some not (see an > >> example in Screenshot3): > >> > >> /usr/share/icons/breeze/actions/22/go-next.svg doesn't work: > >> > [...] > >> > >> /usr/share/icons/breeze/actions/22/go-next.svg works: > >> > [...] > >> > >> As far as I can see, other applications (Gwenview, Geeqie, Firefox) don't have > >> problem to display the same images with librsvg2-2.56.3-1.fc38.x86_64 installed. > > > > Thanks, this helps. > > > > When an image fails to display, do you see any error messages from > > librsvg? Those are usually emitted to stderr, so perhaps you need to > > run Emacs in a way that stderr is not discarded, but either shown on > > the terminal or written to a file. > > Hello ELi, > > I don't see any message on stderr, but a bunch of messages: > "Invalid image size (see ‘max-image-size’)" in the *Messages* buffer, > probably related to the display of an invalid image (empty square) > in the *scratch* buffer. Also, the result of image-size is not the > expected image size (22x22 px in example). I attached a screenshot. Thanks. I hope this will help an SVG expert to figure out what's going on with these images. Alan, do you have time to look into this, per chance?