Change:
import { IConfigurationService, IConfigurationChangeEvent } from 'vs/platform/configuration/common/configuration'; import { ILabelService } from 'vs/platform/label/common/label'; import { IStorageService } from 'vs/platform/storage/common/storage'; <del> import { IWorkbenchEnvironmentService } from 'vs/workbench/services/environment/common/environmentService'; </del> <ins> import { INativeWorkbenchEnvironmentService } from 'vs/workbench/services/environment/electron-sandbox/environmentService'; </ins> import { IHostService } from 'vs/workbench/services/host/browser/host'; import { isMacintosh, isWindows, isLinux } from 'vs/base/common/platform'; import { IMenuService } from 'vs/platform/actions/common/actions';

Discussion:
Issue Type: <bBug</bAfter updating to 1.49 I noticed that the title bar is a little bit squished now. VS Code version: Code 1.49.0 (, 2020-09-10T17:39:53.251Z) OS version: Darwin x64 20.1.0 <details<summarySystem Info</summary </details<details<summaryExtensions (56)</summaryExtensionVersion ------ tasks0.6.2 stylus0.0.4 TabOut0.2.0 html-end-tag-labels0.3.0 color-info0.5.1 jsdoc-markdown-highlighting0.0.1 markdown-emoji0.0.9 markdown-mermaid1.8.1 markdown-shiki0.1.1 markdown-yaml-preamble0.0.4 better-toml0.3.2 bracket-pair-colorizer-20.2.0 postcss1.0.9 vscode-markdownlint0.36.3 vscode-eslint2.1.8 ejs-vue0.1.1 javascript-ejs-support1.3.1 dotfiles-syntax-highlighting0.1.0 gitlens10.2.2 tsl-problem-matcher0.3.0 vscode-html-css0.2.3 EditorConfig0.15.1 prettier-vscode5.6.0 shell-format7.0.1 path-autocomplete1.15.0 markdown-extended1.0.18 vscode-peacock3.8.0 vscode-remark1.2.1 vscode-scss0.9.0 csharp1.23.2 python2020.8.

vscode-pylance2020.9.4 remote-containers0.140.1 remote-ssh0.51.0 remote-ssh-edit0.51.0 remote-wsl0.44.5 vscode-remote-extensionpack0.20.0 powershell2020.6.0 vetur0.27.2 vscode-ts-config-plugin0.2.0 material-icon-theme4.3.0 vscode-css-peek4.0.0 qub-xml-vscode1.2.8 vscode-yaml0.10.1 rust0.7.8 jinjahtml0.15.0 vscode-wow-toc0.0.2 code-spell-checker1.9.0 vscode-stylelint0.85.0 lua0.20.5 shellcheck0.10.1 shell-launcher0.4.1 sort-lines1.9.0 windows-terminal0.6.0 vscode-todo-highlight1.0.4 material-theme3.8.7 </details<!-- generated by issue reporter --!
this is likely a different issue. please file it separately
is this 100% repo?
yup
can you run with to try "fresh"
happens there as well
pretty sure it's only happening on BigSur
thanks for the update. given the preview nature of Big Sur, I don't have a great way to verify what's going on right now. Is it the case that the expected title bar size is much larger in Big Sur than previous versions? Can you share a side by side of custom vs native titlebar in VS Code?
seems like the titlebar height has increased in big sur, here are the measurements for native title bar height using accessibility inspector Catalina AXWindow pos - x=0, y=23 Content Area - x=0, y=45 Frame height - 22 Big Sur AXWindow pos - x=1, y=25 Content Area - x=1, y=53 Frame Height - 28
I went to update the title bar part but it is now in electron-sandbox and thus cannot access os props except through the native host service which is async. the title bar part would need the os version synchronously. any suggestion?
if you must have a property sync, it needs to be to the which is being created with some config properties from the main side. Example: What exactly do you need?

would need os version to adjust the title bar size as mac OS big sur is using a thicker title bar
if you can give me exactly the call you need, I can add it. Looks like was only in later versions:
Looks like release has the right info,
This bug has been fixed in to the latest release of ! you can help us out by confirming things are working as expected in the latest Insiders release. If things look good, please leave a comment with the text to let us know. If not, please ensure you're on version of Insiders (today's or later - you can use in the command palette to check), and leave a comment letting us know what isn't working as expected. Happy Coding!
I believe can verify
/verified Thank you!