Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

WebGL (three.js) erratic working #7061

@xunfin

Description

@xunfin

Using a three.js program using webGL launched from Brackets I am erratically (80% of the time) getting an error:

"Error creating WebGL context."

from within the three.js THREE.WebGLRenderer constructor..

Happens with all programs I have tried including the trivial rotating cube example at http://threejs.org/docs/#Manual/Introduction/Creating_a_scene

Notes:
Programs tested work correctly when launched in (standard) chrome.
Drag and drop to a new tab in the bracket's chrome window (live preview) works.
If I launch the bracket's chrome window (live preview), add some extra tabs, and close the launched program tab, then launch live preview (ie on the chrome live preview window) - it works.

Summary:
This issue only occurs when live preview causes a new chrome window to appear.

Using Chrome 33.0.1750.117 m WinXP 32 bit. This wasn't a problem 1 month ago

Quick test seems to confirm that there is no issue on Brackets 35.

(Is Sprint 36 starting chrome "too quickly" before all the add-ins can initiallise ?) Thanks.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions