Skip to content

Spector.js stopped working today on Chrome Linux #128

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

Closed
elalish opened this issue Dec 20, 2019 · 9 comments
Closed

Spector.js stopped working today on Chrome Linux #128

elalish opened this issue Dec 20, 2019 · 9 comments

Comments

@elalish
Copy link

elalish commented Dec 20, 2019

It was working just fine, I'd just looked at a capture, then I went to take another and suddenly it would no longer list my offscreen canvases. I restarted Chrome, and now the Spector.js symbol is red, but if I click it, it doesn't turn green, it just gives me the generic "manage this extension" menu. I'm on Chrome 79 on a Debian-like Linux desktop.

@sebavan
Copy link
Member

sebavan commented Dec 20, 2019

whoooot so weird... Do you see any errors ? in the console or anything that could help troubleshooting ?

@sebavan
Copy link
Member

sebavan commented Dec 20, 2019

As it works on both Win and Mac, might it be a Chrome issue ?

Also I wonder if you had an update of the extensions during your capture, you could try closing the browser and reopen just to see

@elalish
Copy link
Author

elalish commented Dec 20, 2019

There's nothing in the console; not sure where I'd look for extension errors. It's giving me the exact same behavior now on Chrome on my Macbook Pro as well.

@elalish
Copy link
Author

elalish commented Dec 20, 2019

I've tried restarting the browser, to no avail. Here is one of the sites I'm testing, which used to work fine: https://modelviewer.dev/

@sebavan
Copy link
Member

sebavan commented Dec 20, 2019

So it does not work on windows as well and probably cause the rendering does not happen in a direct way, I ll have a look shortly. maybe it relies on offscreen canvas or similar.

@sebavan
Copy link
Member

sebavan commented Dec 20, 2019

Does it work for you on https://playground.babylonjs.com/ on Linux ???

@sebavan
Copy link
Member

sebavan commented Dec 20, 2019

On the three js model viewer it looks like offscreenCanvas is in use:

image

Which we do not support so we can not activate the extension as we do not think there are any canvases in the page.

@elalish
Copy link
Author

elalish commented Dec 20, 2019

Ack, you're right! We made a switch to enable offscreen canvas this morning. I didn't even realize it, but this must have happened when I pulled in that change.

@sebavan
Copy link
Member

sebavan commented Dec 20, 2019

I ll close this one as a dup of #90 then. And I wish Santa will bring me time for Christmas :-)

@sebavan sebavan closed this as completed Dec 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants