vscode: Cannot toggle windows on Mac
Issue Type: Bug
Normally on MacOS, you can toggle between two windows of the same app with ⌘ + ` (Cmd + backtick). I have verified that this works in other apps installed on my machine (eg Chrome). This used to work in VS Code, but has stopped working very recently (within the last few days). I’ve checked my keyboard mapping, and the only commands involving a backtick use Ctrl (not Cmd). I’ve also tried this with all extensions disabled.
To reproduce:
- Open VS Code
- Open a second VS Code Window (Cmd + Shift + N)
- Try to toggle using Cmd + Backtick
- I now expect to be in the first window I opened, but I’m not
VS Code version: Code 1.31.0 (7c66f58312b48ed8ca4e387ebd9ffe9605332caa, 2019-02-05T22:32:14.164Z) OS version: Darwin x64 17.7.0
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-7700K CPU @ 4.20GHz (8 x 4201) |
GPU Status | 2d_canvas: enabled checker_imaging: disabled_off flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: enabled rasterization: unavailable_off surface_synchronization: enabled_on video_decode: enabled webgl: enabled webgl2: enabled |
Load (avg) | 3, 2, 2 |
Memory (System) | 16.00GB (1.21GB free) |
Process Argv | |
Screen Reader | no |
VM | 0% |
Extensions (29)
Extension | Author (truncated) | Version |
---|---|---|
color-info | bie | 0.5.0 |
path-intellisense | chr | 1.4.2 |
vscode-eslint | dba | 1.8.0 |
javascript-ejs-support | Dig | 0.4.1 |
githistory | don | 0.4.6 |
gitlens | eam | 9.5.0 |
tslint | eg2 | 1.0.42 |
vsc-material-theme | Equ | 2.6.3 |
auto-close-tag | for | 0.5.6 |
auto-rename-tag | for | 0.0.15 |
macros | ged | 1.2.1 |
latex-workshop | Jam | 5.21.0 |
intellij-idea-keybindings | k– | 0.2.31 |
wordcounter | kir | 1.4.0 |
rainbow-csv | mec | 1.0.0 |
dotenv | mik | 1.0.1 |
python | ms- | 2019.1.0 |
vscode-jest | Ort | 2.9.2 |
vscode-docker | Pet | 0.5.2 |
livescript | pse | 0.1.1 |
gitlink | qez | 0.4.5 |
ruby | reb | 0.21.0 |
code-settings-sync | Sha | 3.2.4 |
vscode-zipexplorer | sle | 0.3.1 |
autoimport | ste | 1.5.3 |
rewrap | stk | 1.9.1 |
code-spell-checker | str | 1.6.10 |
vscode-todo-highlight | way | 1.0.4 |
markdown-all-in-one | yzh | 2.0.1 |
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 6
- Comments: 23 (5 by maintainers)
Okay. I did a little bit of digging. This is definitely an Electron issue - I put together a minimal working example. Raised an issue on Electron: https://github.com/electron/electron/issues/17287
I guess we can probably close this here.
I am also seeing this issue.
I have just tried with a different system provided keyboard layout and it worked but not on my usual system provided layout.
I usually have my Mac set to “British - PC” where the cmd + ` does not work.
I have just tried the “British” layout and cmd + ` does work.
Okay, I confirm what @tobycurl found:
“British - PC” is what I normally use.