-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird graphical glitch #2993
Comments
Here's the project. It doesn't happen all the time and I haven't been able to figure out how to cause it to happen. https://snap.berkeley.edu/snap/snap.html#present:Username=gigamonkey&ProjectName=U5L2-Simulation |
Hi, Peter, which browser are you using? I've seen this particular issue happen in recent versions of Firefox on MacOS, and haven't so far been able to find out exactly what the problem is. It seems to only happen in Firefox in the combination with recent MacOS releases when using many (offscreen) Canvas elements. Chromium/Chrome based browsers don't seem to have this problem, neither does Safari. Generally I've found Firefox to be awesome, but recently browser and OS makers seem to have been breaking Canvas a lot (Google/Chrome far more frequently than Mozilla in my own experience). Usually they fix those issues within a couple of weeks, but this particular glitch has been going on in Firefox on MacOS for some months now. It seems to be linked to Snap projects using many "clones", which is using more Canvas instances, and my hunch is that something is simply running out of graphics resources wrt scaling Canvas contexts. My intermediate plan is to switch Snap over to the OffscreenCanvas API, but alas, Firefox isn't yet supporting any of that. |
I only comment... that I can't reproduce this issue on Linux (neither Chromium nor Firefox) |
Yeah, I'm using Firefox on MacOS. And indeed this project is using many clones. I'll try Chrome and/or Safari then. Thanks. |
Today working on an animation fairly frequently my Snap workspace would glitch out and suddenly the animation would start drawing in miniature in the middle of the screen. Window screen cap here:
When the mini me window comes in it doesn't just blit in as a rectangle but kind of draws in pieces, almost like it's drawing where the sprites are moving but within the miniature window.
In fact, if you look closely at the screen shot you can see places where the miniature window hasn't been fully drawn in.
The text was updated successfully, but these errors were encountered: