Calling window.print() is pausing all .gif images, even after you select "cancel".
Reported by
gamingpr...@gmail.com,
Nov 11 2017
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36 Steps to reproduce the problem: 1. Put a .gif image on a website, or set it as CSS background-image property 2. Call window.print() 3. Click cancel What is the expected behavior? The expected behaviour would be the .gif to keep going with its animation, instead of freezing. What went wrong? After window.print() was called, all .gif images and elements with a .gif set for a CSS background-image on the page stopped playing the .gif animation. Did this work before? N/A Chrome version: 62.0.3202.89 Channel: stable OS Version: 10.0 Flash Version: A live example of this can be found on https://mcnitro.net/terms The logo in the navigation has a .gif for a background. You can call the window.print() by clicking on the blue "print" button.
,
Nov 14 2017
That CL moved GIF animation onto the compositor task queue (initially it also increased the compositor TQ priority but that was rolled back). Perhaps the compositor TQ was paused A simpler repro page is: https://resources.enjin.com/1465083537/themes/core/images/tag_fx/sparkle_green.gif I can repro with 64.0.3260.2-1, but can't repro with a build from HEAD. I'm testing by opening the console and typing "window.print()" and I found that when it triggers I can get the animation to start again by resizing that console pane. I've attached a trace that shows this process. Sami, could we be pausing the compositor queue for window.print() and then not restarting it?
,
Nov 14 2017
,
Nov 17 2017
Additional note: Using `CTRL + P` is not firing the bug, but calling window.print() via JavaScript is.
,
Nov 22 2017
Looks like this is a regression in M62. M63, M64 and ToT are fine. Given that M63 will be stable soon I don't think this is worth backporting. |
||||
►
Sign in to add a comment |
||||
Comment 1 by vamshi.k...@techmahindra.com
, Nov 13 2017Labels: -Pri-2 hasbisect-per-revision Triaged-ET M-64 Needs-Triage-M62 OS-Linux OS-Mac Pri-1
Owner: delph...@chromium.org
Status: Assigned (was: Unconfirmed)