extraterm icon indicating copy to clipboard operation
extraterm copied to clipboard

all terminals stay dark when switching from external screen back to laptop screen.

Open reivaxy opened this issue 2 years ago • 2 comments

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

reivaxy avatar Aug 08 '22 06:08 reivaxy

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?

sedwards2009 avatar Aug 10 '22 09:08 sedwards2009

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.

image

image

tsoek avatar Aug 31 '22 15:08 tsoek

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. image

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)

image

reivaxy avatar Oct 11 '22 06:10 reivaxy

This problem only appears in the older Electron based Extraterm, not in the current Qt based one.

Closing

sedwards2009 avatar Dec 28 '22 09:12 sedwards2009