Skip to content

Editor window blanks out Randomly #84706

Closed

Description

@cpheps

Issue Type: Bug

Unsure what the trigger is but when occasionaly when I press the CMD key my editor window will go blank. This bug is not reliably reporducable and is fixed by closing the window and reloading it.

I'm currently seeing it only when working in a remote SSH environment but unsure if it does this on a local project.

VS Code version: Code - Insiders 1.41.0-insider (c408a2c, 2019-11-13T06:24:06.004Z)
OS version: Darwin x64 19.0.0
Remote OS version: Linux x64 4.15.0-39-generic
Fetching remote diagnostics for 'ssh-remote+box1' timed out.

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2600)
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) 1, 1, 1
Memory (System) 16.00GB (0.29GB free)
Process Argv -psn_0_245820
Screen Reader no
VM 0%
Item Value
Remote SSH: box1
OS Linux x64 4.15.0-39-generic
CPUs Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (8 x 1599)
Memory (System) 47.15GB (21.05GB free)
VM 0%

Fetching remote diagnostics for 'ssh-remote+box1' timed out.

Extensions (26)
Extension Author (truncated) Version
html-snippets abu 0.2.1
touch-bar-display bla 1.3.1
gotemplate cas 0.3.0
bracket-pair-colorizer Coe 1.0.61
mysql-syntax jak 1.3.1
saltstack kor 0.0.6
Kotlin mat 1.7.0
remote-containers ms- 0.84.0
remote-ssh ms- 0.47.2
remote-ssh-edit ms- 0.47.2
remote-wsl ms- 0.40.2
vscode-remote-extensionpack ms- 0.17.0
code-settings-sync Sha 3.4.3
bunker sld 1.1.6
vscode-icons vsc 9.5.0
Bookmarks ale 10.5.0
project-manager ale 10.8.0
githistory don 0.4.6
prettify-json moh 0.0.3
Go ms- 0.11.9
vsliveshare ms- 1.0.1123
code-spell-checker str 1.7.20
unique-window-colors stu 1.0.51
gitblame wad 3.0.1
change-case wma 1.0.0
vscode-proto3 zxh 0.3.0

(3 theme extensions excluded)

Activity

  1. rebornix commented on Nov 13, 2019

    @rebornix
    Contributor

    roblourens any idea?

  2. zhanxiaoge commented on Nov 14, 2019

    @zhanxiaoge

    2019-11-14
    When switching windows, sometimes it takes more than 1 second to wait. This is not the case before.

  3. rebornix commented on Nov 14, 2019

    @rebornix
    Contributor

    Starting with Robo (@deepak1556) as we saw similar issue on Window.s

  4. deepak1556 commented on Nov 15, 2019

    @deepak1556
    Collaborator

    Nailao the issue you are describing is #84343 which got fixed in insiders and will soon be available in stable.

    This is a different one, I will let roblourens eliminate any remote related issue first.

  5. roblourens commented on Nov 19, 2019

    @roblourens
    Member

    Corbin Phelps (@cpheps) can you explain more about exactly what you are seeing?

    when I press the CMD key my editor window will go blank.

    There is probably no remote specific issue here though Robo (@deepak1556)

  6. cpheps commented on Nov 19, 2019

    @cpheps
    Author

    roblourens Sure, not must to it though sadly. When in an editor pane occasionally when I push the CMD key all content will disappear from the current pane (code, line numbers, scroll bar, cursor). No other pane is affected if I have several open, a simple closing the pane and reopening fixes the issue.

  7. roblourens commented on Nov 20, 2019

    @roblourens
    Member

    How often does this happen? Any chance you can catch a video/screenshot? Also maybe try launching with --disable-gpu?

  8. added
    info-needed
    on Nov 20, 2019
  9. cpheps commented on Nov 20, 2019

    @cpheps
    Author

    When I filed this bug it would happen maybe 4-5 times throughout a 8 hour work day. I haven't seen it in a while so maybe it got inherently fixed. If it happens again I'll take a screen shot I can't reliably reproduce it.

  10. added
    macos
    on Nov 22, 2019
  11. 29 remaining items

  12. bpasero commented on Dec 10, 2019

    @bpasero
    Contributor

    preview hover/declaration jump

    Wait, didn't you just said that this is not related to jumping but just hovering??

  13. cpheps commented on Dec 10, 2019

    @cpheps
    Author

    Sorry all I know is usually when I go to do a declaration jump on the CMD down press the editor goes blank. It happens so randomly it's hard to pin point what caused it.

  14. jrieken commented on Dec 10, 2019

    @jrieken
    Contributor

    Both errors shown above happen on the extension host process, not the renderer. Therefore I doubt that they have something to do with this, the first error is about the go extension providing invalid outline data, the second is more interesting because it means documents & editors between the renderer and extension host are out of sync but I also doubt it causes the window to blank out.

  15. cpheps commented on Dec 12, 2019

    @cpheps
    Author

    Happened again this time it happened on a pane I wasn't on but once I moved back to it the pane was blank. Here are all the logs I captured and the html line of the pane.

    <div class="editor-instance showUnused" data-editor-id="workbench.editors.files.textFileEditor" data-keybinding-context="2" aria-label="runtimes_test.go. Text file editor., Group 1." style=""></div>

    vscode-logs.txt

  16. roblourens commented on Dec 13, 2019

    @roblourens
    Member

    The errors don't look related. cc SteVen Batten (@sbatten) in case you have any ideas

  17. alexdima commented on Dec 13, 2019

    @alexdima
    Member

    any idea why the editor might turn blank when we trigger preview hover? Not sure if the stack in #84706 (comment) could be related.

    Sorry, I've never seen this. One speculation could be that a hover is painted and that leads to the GPU running out of memory or something? It is also not clear, Corbin Phelps (@cpheps), does this reproduce at all when running with --disable-gpu ?

    EDIT: IMHO, this is unlikely caused by running remotely. The renderer process does not care where the data it displays comes from, and blanking out randomly sounds like a GPU related failure

  18. added
    macos
    and removed
    remote
    on Dec 13, 2019
  19. cpheps commented on Dec 13, 2019

    @cpheps
    Author

    Alexandru Dima (@alexdima) I'll give it a shot running with --disable-gpu. Happens so randomly though it'll be hard to tell if it's because of that setting or just not hitting the issue.

  20. bpasero commented on Dec 17, 2019

    @bpasero
    Contributor

    Corbin Phelps (@cpheps) does it still happen with todays insider build?

  21. cpheps commented on Dec 17, 2019

    @cpheps
    Author

    I have not seen it but it hasn't happened since I last reported something 5 days ago.

  22. bpasero commented on Dec 17, 2019

    @bpasero
    Contributor

    Ok please report back if it happens again.

  23. vscodebot commented on Dec 24, 2019

    @vscodebot

    This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

    Happy Coding!

  24. locked and limited conversation to collaborators on Feb 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

info-neededmacos

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions