-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Black bar appears in terminal "empty rows" when its resized #51094
Comments
Removing from May milestone after checking with @Tyriar. |
@bgw any idea what this could be? It appears to be a recent regression: |
😕 😱 Given the artifacts that's manifesting with, this looks like it might be an electron/chromium bug, and not an xterm.js bug. We shouldn't even be doing any drawing work (aside from the initial background fill) to regions without text... This is with the canvas renderer, right? |
@bgw yes this is the canvas renderer. My first impression was it's a Chromium thing but it looks like the black columns are lining up with the terminal columns which makes me think it's our bug. |
Updating to latest xterm.js doesn't appear to fix this. |
May be related to #51602 |
It's definitely the text layer that has the issue. |
This is looking more and more like a Chromium bug. If I change this line to be |
Moving to June as it appears to be a Chrome issue, needs a workaround inside xterm.js and it's less impact than I first thought. It only impacts "null" rows, this does not happen when the viewport has been filled (you see a flicker but it goes away the next frame). |
@Tyriar, what was the workaround for this? |
@bgw the workaround didn't fix it, I tried to use clearRect in TextRenderLayer.onGridChanged which seemed to work on macOS, but didn't on other platforms #51749 (comment) |
Can't repro this out of sources anymore 😕 |
I'm on e585e4b |
Yeah I see it in insiders, no running out of sources though 😕 |
tsc --watch
I think this one is fixed in Electron 3 |
This is also fixed by the webgl renderer I just build xtermjs/xterm.js#1790, not sure if we would ship that before Electron 3 though. |
Closing this issue given that we plan to release VSCode stable early February with Electron 3.x. If you want to benefit from the fix already, consider to use our insiders version that already contains the fix: https://code.visualstudio.com/insiders/ |
Issue Type: Bug
tsc --watch
VS Code version: Code - Insiders 1.24.0-insider (9275422, 2018-06-01T13:37:15.690Z)
OS version: Darwin x64 17.5.0
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
vpx_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (14)
(2 theme extensions excluded)
The text was updated successfully, but these errors were encountered: