Repository navigation
Closed
Labels
bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseconfirmedIssue has been confirmed by VS Code Team memberupstreamIssue identified as 'upstream' component related (exists outside of VS Code)verifiedVerification succeededwindowsVS Code on Windows issues
Milestone
Description
Issue Type: Bug
I've only seen this once, but it happened to 2 windows at the same time, while I was editing in a 3rd. There was nothing I could do to make it come back other than restart.
VS Code version: Code - Insiders 1.41.0-insider (f24f483, 2019-11-21T10:43:20.960Z)
OS version: Windows_NT x64 10.0.19028
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 x 4008) |
| GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on oop_rasterization: disabled_off protected_video_decode: unavailable_off rasterization: enabled skia_renderer: disabled_off surface_control: disabled_off surface_synchronization: enabled_on video_decode: enabled viz_display_compositor: enabled_on viz_hit_test_surface_layer: disabled_off webgl: enabled webgl2: enabled |
| Load (avg) | undefined |
| Memory (System) | 31.93GB (17.30GB free) |
| Process Argv | --enable-proposed-api eamodio.remotehub |
| Screen Reader | no |
| VM | 0% |
Reacted by Samuel Skeen
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseconfirmedIssue has been confirmed by VS Code Team memberupstreamIssue identified as 'upstream' component related (exists outside of VS Code)verifiedVerification succeededwindowsVS Code on Windows issues
Activity
cwadrupldijjit commentedon Nov 21, 2019
It's happened to all open windows. It seems like it continues to work and any running debuggers or console processes are still running. It happened once while I had 6 or 7 windows open at once and all of the windows went blank around the same time. Also just happened now with only 2 windows open right after I started a process in my terminal.
I only noticed this happening after I updated to the latest insiders version.
eamodio commentedon Nov 21, 2019
It happened again to me, again it was only the background window that it happened to. And when I toggled devtools (via a shortcut key) it fixed the window.
cwadrupldijjit commentedon Nov 21, 2019
Is there a default hotkey for the devtools or do I need to add that myself?
eamodio commentedon Nov 21, 2019
I don't think there is one by default, I've have one setup myself.
JacksonKearl commentedon Nov 21, 2019
I found it happens very consistently when I have a lot of memory pressure, for instance when compiling Code. The window is completely blank, but the pointer will respond to things below (show the select text vs click vs normal glyph), and I can do things like copy text and close the window by clicking where the close button should be.
deepak1556 commentedon Nov 21, 2019
I was able to repro this by just opening windows on top of each other and the occluded window gets blank for every new window opened in FIFO order (starts after 4th window might depend on the memory of your system), which aligns with what Eric Amodio (@eamodio) Samuel Skeen (@cwadrupldijjit) are seeing, Jackson Kearl (@JacksonKearl) scenario seems different but lets verify once I have a fix for this.
deepak1556 commentedon Nov 21, 2019
I am also able to repro from out of sources with
release/1.40branch, definitely a regression from recent electron version bumproblourens commentedon Nov 22, 2019
Maybe #84706 too
deepak1556 commentedon Nov 22, 2019
roblourens that mac issue is slightly different, I know what might cause that electron/electron#19873, likely electron/electron#21189 but can't confirm a fix for that yet.
deepak1556 commentedon Nov 22, 2019
I have narrowed down the cause,
reenabling background throttling fixes this. Stems from electron/electron#20239
[-]Window just went blank[/-][+]Occluded windows just went blank[/+]deepak1556 commentedon Nov 22, 2019
Oh btw you don't have to close or toggle devtools for a temporary fix, anything that triggers a repaint of the window will resolve the issue, so simply minimize and restore the window from task bar. A fix is being actively worked on for the next insiders.
lediur commentedon Nov 22, 2019
Running into this issue as well. I started working around it by waiting a few seconds, then unminimizing the window by dragging down and shaking it to get it to repaint properly.
chrmarti commentedon Nov 22, 2019
Fix is in the latest Insiders build (Commit: 599c076, Date: 2019-11-22T07:19:06.796Z).
wedeluxe commentedon Nov 29, 2019
As I understand, the issue is supposed to be fixed in VS Code 1.40.2.
But actually, upgrading these two packages
on my Arch Linux PC introduced this issue.
Never saw that in 1.40.1 and before.
My VS Code session has 10 windows open. 6 out of 10 look blank right after starting VS Code. Blank windows still show tooltips when hovering, so content still exists. As suggested above, triggering a repaint of a blank window (restoring, then maximizing again) is a temporary help. And by the way, unblanking one window blanks another.