From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.bugs Subject: bug#24004: 25.1.50; Animated images are no longer animated Date: Tue, 19 Jul 2016 16:35:29 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1468914141 1877 80.91.229.3 (19 Jul 2016 07:42:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Jul 2016 07:42:21 +0000 (UTC) Cc: 24004-done@debbugs.gnu.org To: larsi@gnus.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 19 09:42:05 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bPPfH-0005IY-Np for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Jul 2016 09:42:03 +0200 Original-Received: from localhost ([::1]:53326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPPfG-0000Xx-Bu for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Jul 2016 03:42:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPPZW-0002l7-1W for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2016 03:36:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPPZS-00079u-UP for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2016 03:36:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPPZS-00079o-Qs for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2016 03:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bPPZS-00040v-JA for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2016 03:36:02 -0400 In-Reply-To: Resent-From: Katsumi Yamaoka Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jul 2016 07:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 24004 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 24004@debbugs.gnu.org, yamaoka@jpl.org, larsi@gnus.org Original-Received: via spool by 24004-done@debbugs.gnu.org id=D24004.146891373415389 (code D ref 24004); Tue, 19 Jul 2016 07:36:02 +0000 Original-Received: (at 24004-done) by debbugs.gnu.org; 19 Jul 2016 07:35:34 +0000 Original-Received: from localhost ([127.0.0.1]:56445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPPZ0-000409-5K for submit@debbugs.gnu.org; Tue, 19 Jul 2016 03:35:34 -0400 Original-Received: from mail-hampton.hostforweb.net ([205.234.186.191]:57866 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPPYv-0003zt-49 for 24004-done@debbugs.gnu.org; Tue, 19 Jul 2016 03:35:32 -0400 Original-Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:63089 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1bPPYl-002B8J-RB; Tue, 19 Jul 2016 02:35:21 -0500 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (i686-pc-cygwin) Cancel-Lock: sha1:D5GJLoSvYJe7W6XZJfb9HdhKbRg= X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121255 Archived-At: On Sat, 16 Jul 2016 13:01:04 +0200, Lars wrote: > Test to reproduce: > `M-x eww RET > https://dropboxtechblog.files.wordpress.com/2016/07/lepton-4.gif RET' > That's an animated GIF, but Emacs does not animate it. I don't know > when this started happening. Started with 9c969e1. In the beginning of `image-animate-timeout', the 1st `when' will always get nil: (defun image-animate-timeout (image n count time-elapsed limit target-time) "docstring" (when (and (buffer-live-p (plist-get (cdr image) :animate-buffer)) ;; Delayed more than two seconds more than expected. (when (> (- (float-time) target-time) 2) (message "Stopping animation; animation possibly too big") nil)) So, the animation will never proceed. I've fixed the logic as: (defun image-animate-timeout (image n count time-elapsed limit target-time) "docstring" (when (and (buffer-live-p (plist-get (cdr image) :animate-buffer)) ;; Delayed more than two seconds more than expected. (or (<= (- (float-time) target-time) 2) (progn (message "Stopping animation; animation possibly too big") nil)))