Closed reivaxy closed 1 year ago
What do you mean by 'dark'? Is the window just blank with a solid background colour or something?
I use Extraterm on a windows machine and switch monitors a lot, but I haven't seen thing problem. Does your laptop have multiple GPUs by any chance?
This has been happening to me as well on version 0.59.3 when putting laptop to sleep and moving between home and office. I use multiple GPUs.
Sorry I was away for some time,
I concur with @tsoek's comment, it's actually after putting laptop to sleep and moving between home and office that I have the issue.
The console shows an error message each time the terminal gets / loses the pointer focus:
C:\Program Files\Extraterm\resources\app\node_modules\extraterm-char-render-canvas\dist\font_atlas\FontAtlasBase.js:301 Uncaught TypeError: Cannot read property 'lastUse' of undefined at TextureFontAtlas._flushLRU (C:\Program Files\Extraterm\resources\app\node_modules\extraterm-char-render-canvas\dist\font_atlas\FontAtlasBase.js:301) at TextureFontAtlas._computeNextEmptyCell (C:\Program Files\Extraterm\resources\app\node_modules\extraterm-char-render-canvas\dist\font_atlas\FontAtlasBase.js:258) at TextureFontAtlas._insertChar (C:\Program Files\Extraterm\resources\app\node_modules\extraterm-char-render-canvas\dist\font_atlas\FontAtlasBase.js:97) at TextureFontAtlas._getGlyph (C:\Program Files\Extraterm\resources\app\node_modules\extraterm-char-render-canvas\dist\font_atlas\FontAtlasBase.js:80) at TextureFontAtlas.loadCodePoint (C:\Program Files\Extraterm\resources\app\node_modules\extraterm-char-render-canvas\dist\font_atlas\TextureFontAtlas.js:28) at WebGLRenderer._prewarmFontAtlas (C:\Program Files\Extraterm\resources\app\node_modules\extraterm-char-render-canvas\dist\WebGLRenderer.js:329) at WebGLRenderer.render (C:\Program Files\Extraterm\resources\app\node_modules\extraterm-char-render-canvas\dist\WebGLRenderer.js:353) at WebGLCharRenderCanvas.render (C:\Program Files\Extraterm\resources\app\node_modules\extraterm-char-render-canvas\dist\WebGLCharRenderCanvas.js:201) at CanvasTextLayer.update (C:\Program Files\Extraterm\resources\app\node_modules\extraterm-ace-terminal-renderer\dist\CanvasTextLayer.js:162) at CanvasTextLayer.updateRows (C:\Program Files\Extraterm\resources\app\node_modules\extraterm-ace-terminal-renderer\dist\CanvasTextLayer.js:145)
This problem only appears in the older Electron based Extraterm, not in the current Qt based one.
Closing
All open tabs remain dark, only solution is to quit and launch again, losing all sessions. Seen on a Lenovo laptop with Windows 10 Enterprise 21H2