GNU bug report logs - #23431
Displaying animated GIFs can make Emacs unresponsive

Previous Next

Package: emacs;

Reported by: Juliusz Chroboczek <jch <at> pps.univ-paris-diderot.fr>

Date: Tue, 3 May 2016 03:31:01 UTC

Severity: normal

Found in version 25.0.93

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Richard <nrichard <at> ulb.ac.be>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 23431 <at> debbugs.gnu.org, larsi <at> gnus.org, Juliusz Chroboczek <jch <at> pps.univ-paris-diderot.fr>
Subject: bug#23431: 25.0.93; EWW hangs
Date: Wed, 04 May 2016 17:13:54 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Juliusz Chroboczek <jch <at> pps.univ-paris-diderot.fr>

>> But what about the 6-second hang, which I can reproduce even with
>> with shr-image-animate set to nil?  Should decoding of large images
>> happen asynchronously, or is shr not designed for that?
>
> We don't have infrastructure for doing this asynchronously.  If the
> concurrency branch ever gets revived and merged, such jobs might be
> good candidates for using that facility.  Otherwise, no, it isn't
> possible.  It's not shr that is not designed for that, it's Emacs
> itself.

preview-latex shows images in a (La)TeX buffer asynchronously. Can't we
*cough* simply *cough* do the same here ?

(see also David Kastrup's message at
https://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00893.html and
some of his explanations elsewhere in that thread for details on how
preview-latex work. I didn't investigate much myself.)

-- 
Nicolas




This bug report was last modified 9 years and 111 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.