vscode: Double-clicking on the title bar to zoom the window does not work on macOS

Issue Type: Bug

In macOS, double click on the title bar of the application, unable to zoom window.

Similar issue: #57318, #55421

Setting window.titleBarStyle to custom will quickly solve the issue.

VS Code version: Code 1.67.2 (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:20:57.384Z) OS version: Darwin x64 21.5.0 Restricted Mode: No

System Info
Item Value
CPUs Intel® Core™ i9-9880H CPU @ 2.30GHz (16 x 2300)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 3, 3
Memory (System) 32.00GB (15.58GB free)
Process Argv –crash-reporter-id 0d1fe5f2-6adf-4e8c-a682-7a457856aa1c --crash-reporter-id 0d1fe5f2-6adf-4e8c-a682-7a457856aa1c --crash-reporter-id 0d1fe5f2-6adf-4e8c-a682-7a457856aa1c
Screen Reader yes
VM 0%
Extensions (14)
Extension Author (truncated) Version
gitlens eam 12.0.7
copilot-nightly Git 1.23.6018
ts-error-translator mat 0.5.1
git-graph mhu 1.30.0
remote-containers ms- 0.236.1
indent-rainbow ode 8.3.1
material-icon-theme PKi 4.17.0
vscode-fileutils sle 3.5.0
guides spy 0.9.3
code-spell-checker str 2.2.0
errorlens use 3.5.1
vim vsc 1.22.2
fig wit 0.0.6
material-theme zhu 3.13.29
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
cppdebug:30492333
vsclangdf:30486550

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 32 (30 by maintainers)

Most upvoted comments

@bpasero

Maybe for the VS Code window the optimal size is always the maximized?

I don’t think so. Even in the current version, "window.titleBarStyle": "custom" has the chance to work as usual for a period of time. Sometimes it may be when I just restart the computer, sometimes it may be when I switch from "window.titleBarStyle": "native" to "window.titleBarStyle": "custom", but there is no guarantee that it will work every time. And also only works normally for a period of time, after a period of time you can only maximize, can not restore the window.

Can you pin point a version where this used to work?

It occasionally works fine for the reasons mentioned above, so I didn’t notice the issue until recently. I’m sorry I can’t give an exact version that works normal.