Repository: vscode
Issue: Screen Flickering when connected to external display on macOS
Labels: bug,upstream,macos,chromium,confirmation-pending,multi-monitor

Issue Type: <b>Bug</b>

I have my MBP (docked, laptop lid closed) connected to an external 4K display, and the screen flickering is getting pretty obnoxious. Happens routinely when switching tabs. I tried disabling all extensions and running with `code --disable-gpu` and `--ignore-gpu-blacklist` which didn't solve it in my testing. Any ideas on other workarounds? 

Ideally I'd want this fixed, and not need to open it from the command line every time.

VS Code version: Code 1.34.0 (a622c65b2c713c890fcf4fbf07cf34049d5fe758, 2019-05-15T21:59:22.738Z)
OS version: Darwin x64 18.6.0

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)|
|GPU Status|2d_canvas: enabled<br>checker_imaging: disabled_off<br>flash_3d: enabled<br>flash_stage3d: enabled<br>flash_stage3d_baseline: enabled<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>native_gpu_memory_buffers: enabled<br>rasterization: enabled<br>surface_synchronization: enabled_on<br>video_decode: enabled<br>webgl: enabled<br>webgl2: enabled|
|Load (avg)|3, 2, 2|
|Memory (System)|16.00GB (0.25GB free)|
|Process Argv||
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (105)</summary>

Extension|Author (truncated)|Version
---|---|---
better-comments|aar|2.0.5
html-snippets|abu|0.2.1
scss-lint|ada|0.1.8
vscode-caniuse|aga|0.5.0
vscode-javascript-snippet-pack|aka|0.1.5
project-manager|ale|10.5.1
spellright|ban|3.0.38
color-info|bie|0.5.1
markdown-checkbox|bie|0.1.3
markdown-emoji|bie|0.0.9
markdown-preview-github-styles|bie|0.1.6
markdown-yaml-preamble|bie|0.0.4
htmltagwrap|bra|0.0.7
better-toml|bun|0.3.2
markdown-jira|chi|1.1.0
npm-intellisense|chr|1.3.0
path-intellisense|chr|1.4.2
regex|chr|0.2.0
open-html-in-browser|cod|0.1.21
gitignore|cod|0.6.0
bracket-pair-colorizer-2|Coe|0.0.28
compulim-vscode-closetag|Com|1.2.0
vscode-svgviewer|css|2.0.0
scala|dal|0.0.5
vue-peek|dar|1.0.2
vscode-markdownlint|Dav|0.26.0
vscode-eslint|dba|1.9.0
vscode-dash|dee|2.1.0
xml|Dot|2.4.0
gitlens|eam|9.7.4
vscode-html-css|ecm|0.2.0
EditorConfig|Edi|0.13.0
vscode-npm-script|eg2|0.3.7
LogFileHighlighter|emi|2.5.0
vscode-great-icons|emm|2.1.47
json-tools|eri|1.0.2
prettier-vscode|esb|1.9.0
vscode-todo-plus|fab|4.13.0
vimL|fal|0.0.3
markdown-table-formatter|fcr|1.4.3
git-project-manager|fel|1.7.1
file-icons|fil|1.0.17
auto-close-tag|for|0.5.6
auto-rename-tag|for|0.0.15
code-runner|for|0.9.9
shell-format|fox|4.0.11
vscode-javac|geo|0.2.19
nightswitch|gha|1.1.0
beautify|Hoo|1.5.0
output-colorizer|IBM|0.1.2
applescript|idl|0.14.2
golang-tdd|joa|0.0.9
intellij-idea-keybindings|k--|0.2.32
swift|Kas|0.0.3
vscode-gutter-preview|kis|0.19.0
vscode-fix-checksums|leh|1.1.0
expand-region|let|0.1.2
scratchpad|mac|0.0.3
MagicPython|mag|1.1.0
terraform|mau|1.3.11
rainbow-csv|mec|1.0.0
HTMLHint|mka|0.6.0
python|ms-|2019.4.12954
cpptools|ms-|0.23.1
csharp|ms-|1.19.1
Go|ms-|0.10.2
debugger-for-chrome|msj|4.11.3
vuejs-extension-pack|mub|1.1.3
vetur|oct|0.21.0
advanced-new-file|pat|1.2.0
vscode-css-peek|pra|2.2.0
itunes-vscode|Psy|0.9.1
seti-icons|qin|0.1.3
java|red|0.45.0
vscode-yaml|red|0.4.0
vscode-sort-json|ric|1.13.0
bash-debug|rog|0.3.5
rust|rus|0.6.1
partial-diff|ryu|1.4.0
crates|ser|0.4.3
code-settings-sync|Sha|3.2.9
markdown-preview-enhanced|shd|0.3.13
vscode-fileutils|sle|2.13.7
guides|spy|0.9.3
autoimport|ste|1.5.3
rewrap|stk|1.9.1
ayu|tea|0.18.0
vscode-status-bar-format-toggle|tom|1.5.0
terminal-tabs|Tyr|0.2.0
vscode-lldb|vad|1.2.3
vscodeintellicode|Vis|1.1.6
vscode-swift-development-environment|vkn|2.7.1
vscode-java-debug|vsc|0.18.0
vscode-java-dependency|vsc|0.4.0
vscode-java-pack|vsc|0.7.1
vscode-java-test|vsc|0.16.0
vscode-maven|vsc|0.17.0
vscode-icons|vsc|8.6.0
vscode-todo-highlight|way|1.0.4
vscode-import-cost|wix|2.12.0
change-case|wma|1.0.0
vscode-jumpy|wma|0.3.1
JavaScriptSnippets|xab|1.7.2
markdown-all-in-one|yzh|2.3.1
propertylist|zho|0.0.2

(7 theme extensions excluded)

</details>
<!-- generated by issue reporter -->