vscode: Render of fullscreen stopped working correctly with auto hidden taskbar on windows

Issue Type: Bug

Updated VS Code fails to render / restore fullscreen (F11) the first time I run it. It maximizes correctly only after I switch to other window and back to the VS Code window. It’s really annoying.

Here is a screenshot when I run VS Code the first time (black color is my background): image

VS Code version: Code 1.69.0 (92d25e35d9bf1a6b16f7d0758f25d48ace11e5b9, 2022-07-07T05:28:36.503Z) OS version: Windows_NT x64 10.0.22000 Restricted Mode: No

System Info
Item Value
CPUs Intel® Core™ i5-8250U CPU @ 1.60GHz (8 x 1800)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.92GB (2.40GB free)
Process Argv –disable-extensions --crash-reporter-id 5b38bab1-dd40-49b2-b32c-618058bc07a2
Screen Reader no
VM 0%
Extensions disabled
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonvspyt551:30345470
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
vscaat:30438848
vsclangdf:30486550

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 1
  • Comments: 18 (9 by maintainers)

Most upvoted comments

This is a bug in Electron: https://github.com/electron/electron/issues/36638

@deepak1556 leaving it up to you if you want to keep this issue open for reference

//cc @sbatten fyi in this case the workbench believes we are in fullscreen mode and thus the title menu does not render. I am not sure we can workaround that because the window seems to actually then go into fullscreen as soon as you just switch to another app and back