Canvas dissapears after trying to capture and upload an image
Reported by
gzk...@gmail.com,
Jun 24 2016
|
||||||
Issue descriptionExample URL: https://nexil.co.il Steps to reproduce the problem: 1. open the page and the canvas is displayed correctly 2. try to capture and upload an image 3. return to the page to review the image and the canvas disappears What is the expected behavior? the canvas should not be affected as the image upload process is not related to it What went wrong? In my opinion the ram management regarding the canvas and the image upload process is the problem. as evidence, when losing focus and returning to the browser after a few seconds fixes and re-renders the canvas properly. Does it occur on multiple sites: N/A 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.81 Channel: stable OS Version: 6.0.1 Flash Version: I've captured a video on my android phone, recreating the problem and showing the solution(going to the home screen and returning to the browser): https://www.youtube.com/watch?v=bEKAmRbb75c
,
Jul 11 2016
,
Jul 11 2016
,
Jul 11 2016
After more debugging, I've came to a conclusion that the problem is with Bootstrap's modal. While scrolling in modal, the "window" scroll event isn't firing, and that in turn causes all the elements out of view to stay unrendered. You can see in the video that some elements just stay blank. I've found a workaround, listening to "scroll" event inside the modal and when I detect one, I manually scroll "window" while also changing the size of all the canvas elements to 1px and back to the original size, and that forces a re-render on the page.
,
Jul 11 2016
Trying to repro, I get an error 522 "Connection timed out". Which looks like it has to do with with the CDN (cloudflare). Based on comment 4#, look like the issue is more general that just canvas: Flagging as a paint invalidation issue.
,
Jul 11 2016
You'll not be able to reproduce the problem as I've found a workaround as mentioned in comment #4. That said, you can take a look at this link: http://web.archive.org/web/20160704181227/https://nexil.co.il/ Following the steps as the video shows, I was able to reproduce the problem consistently. I'll be happy to provide more info!
,
Jul 12 2017
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 12 2017
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by ppolise...@chromium.org
, Jun 24 2016Status: Available (was: Unconfirmed)