New issue
Advanced search Search tips

Issue 629583 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Canvas not redrawn after calling putImageData when window is hidden

Reported by michael....@kurzweiledu.com, Jul 19 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

Example URL:
https://jsfiddle.net/2fh32asf/

Steps to reproduce the problem:
1) Load the repro page.
2) Make sure that the tab is no longer visible (switch tabs, or minimize window)
3) Wait a couple of seconds
4) Make the tab visible again

What is the expected behavior?
The square should be green. Instead the square is red.

What went wrong?
Calling getImageData and then calling putImageData on the CanvasRenderingContext2d, when the tab is hidden, causes the canvas foreground to no longer be rendered. This appears to require a suitably large canvas with an image drawn to it. I did not manage to repro it with a 100x100 canvas or when filling a rectangle instead of drawing the image.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 51.0.2704.103  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 22.0 r0
 
Components: -Blink Blink>Canvas
Status: WontFix (was: Unconfirmed)
Hi,

could you please try chrome canary here:
https://www.google.com/chrome/browser/canary.html

I can reproduce the bug on 51 (stable), but it has been fixed on canary.
Confirmed that both the submitted repro and original repro (not included) is fixed in Chrome Canary. Sorry for the noise.

Sign in to add a comment