Skip to content

Fix #35361: fix native tabs on macOS 10.13 - #52775

Merged
Benjamin Pasero (bpasero) merged 2 commits into
microsoft:masterfrom
zhuowei:fix-native-tabs
Jun 25, 2018
Merged

Benjamin Pasero (bpasero) merged 2 commits into
microsoft:masterfrom
zhuowei:fix-native-tabs

Conversation

@zhuowei

@zhuowei zhuowei commented Jun 24, 2018

Copy link
Copy Markdown
Contributor

macOS 10.13 mistakenly enables a compatibility option on VS Code and VS Code Insiders because their bundle IDs begin with "com.microsoft.". This breaks native tabs.

Explicitly disable the compatibility patch using NSUserDefaults.

Note that Code-OSS is not affected by the bug, since its bundle ID is "com.visualstudio.code.oss". To test this behaviour, change darwinBundleIdentifier in product.json.

See #35361 for more information.

Benjamin Pasero (@bpasero)

macOS 10.13 mistakenly enables a compatibility option on VS Code
and VS Code Insiders because their bundle IDs begin with
"com.microsoft.". This breaks native tabs.

Explicitly disable the compatibility patch using NSUserDefaults.

Note that Code-OSS is not affected by the bug, since its bundle ID
is "com.visualstudio.code.oss". To test this behaviour, change
darwinBundleIdentifier in product.json.
@bpasero
Benjamin Pasero (bpasero) merged commit 8e03e03 into microsoft:master Jun 25, 2018
@bpasero

Copy link
Copy Markdown
Contributor

zhuowei thanks ❤️ , I added a small adjustment to only set this when the window.nativeTabs is enabled to reduce the risk of breaking people that are not using native tabs.

Benjamin Pasero (bpasero) added a commit that referenced this pull request Jun 25, 2018
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants