Skip to content
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

New terminal renderer throws from time to time #34493

Closed
dbaeumer opened this issue Sep 15, 2017 · 1 comment
Closed

New terminal renderer throws from time to time #34493

dbaeumer opened this issue Sep 15, 2017 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug terminal Integrated terminal issues verified Verification succeeded

Comments

@dbaeumer
Copy link
Member

See the following exception from time to time in the console when running a task in the terminal. No exact steps to reproduce.

Error: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The source width is 0.
    at CharAtlasGenerator.generate (P:\mseng\VSCode\vscode\node_modules\xterm\lib\renderer\CharAtlas.js:115:44)
    at Object.acquireCharAtlas (P:\mseng\VSCode\vscode\node_modules\xterm\lib\renderer\CharAtlas.js:34:27)
    at BackgroundRenderLayer.BaseRenderLayer._refreshCharAtlas (P:\mseng\VSCode\vscode\node_modules\xterm\lib\renderer\BaseRenderLayer.js:28:34)
    at BackgroundRenderLayer.BaseRenderLayer.onThemeChanged (P:\mseng\VSCode\vscode\node_modules\xterm\lib\renderer\BaseRenderLayer.js:23:14)
    at P:\mseng\VSCode\vscode\node_modules\xterm\lib\renderer\Renderer.js:58:15
    at Array.forEach (native)
    at Renderer.setTheme (P:\mseng\VSCode\vscode\node_modules\xterm\lib\renderer\Renderer.js:57:28)
    at Terminal._setTheme (P:\mseng\VSCode\vscode\node_modules\xterm\lib\Terminal.js:388:36)
    at P:\mseng\VSCode\vscode\node_modules\xterm\lib\Terminal.js:379:23
@vscodebot vscodebot bot added the terminal Integrated terminal issues label Sep 15, 2017
@dbaeumer dbaeumer added the bug Issue identified by VS Code Team member as probable bug label Sep 15, 2017
@dbaeumer
Copy link
Member Author

dbaeumer commented Sep 15, 2017

Always shows when doing:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug terminal Integrated terminal issues verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants