New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot toggle windows on Mac #68217
Comments
Open for help if someone can investigate. |
I just tried to reproduce and I cannot, it still seems to work the same for me. @alecgibson are you on a US keyboard layout? |
Interestingly on my Macbook (as opposed to my Mac), this works fine. Macbook is on Mojave, whereas the Mac is on High Sierra (don't know if that matters). The Mac (where this doesn't work) is using a USB keyboard on a custom keyboard layout, but I don't see why that would matter. I've sense-checked that the key I'm pressing does indeed produce a backtick (especially because I used that keyboard to write the original bug report). |
Specs for my Macbook, where this isn't an issue: VS Code version: Code 1.31.0 (7c66f58, 2019-02-05T22:32:14.164Z) System Info
Extensions (29)
|
Weird, thanks for testing. I am not sure what this is, adding Alex. |
Great. Thanks. Also of note: my VS Code uses the settings sync plugin to keep my config synced across both my machines, so in theory it shouldn't be anything config- or extension-related. |
Hmm, found a similar bug with a (very) old version of Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=417466 Looks like it could actually be layout-related. I'm away from my desktop for the weekend; I'll try mucking about with key mappings a bit on Monday unless someone figures it out in the meantime. |
I have the same issue on my macbook pro when using a custom keyboard layout. When I go back to a system-provided layout, Cmd ` correctly cycles through windows. |
When you type this keybinding in the keybindings editor to search for it, is there a command associated maybe? |
My Macbook Pro works just fine with both a custom keyboard layout, and a British layout. |
@bpasero No command associated. As a temporary workaround I can bind Cmd-backtick to |
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. |
I am also experiencing this issue, no more cycling through VS Code windows. I've tried changing the "input sources" on the Mac to
Registering the shortcut as a special VSCode command works in both 1.30 and 1.31, they are being triggered when trying to cycle window, and prevents the window from being cycled. When removing the special command the v1.30 will default to letting macOS do window cycling while on v1.31 nothing happens at all. |
@bpasero I've tried the macOS app you've provided, but
Edit: Sorry, had a brain burp and forgot the keyboard layouts would move the backtick key. This time I validated I had the right key by typing with it, and then used Cmd + ` to check behaviour. Findings are basically the same as for the version built on Electron 3, but with slightly weirder behaviour on the "British - PC" layout. |
I tried it with Norwegian keyboard layout as reported earlier, same issue in the exploration build. |
Not sure if it helps but I'm having the same problem with the osx slack app. |
@clarkie how do you get multiple windows in Slack to test this? |
@tobycurl If you open up a new "post". In fact I think that's the only way to get a new window open 😄 |
@clarkie thanks! (Managed to find it eventually!) It does seem to show the same issue on “British - PC” but works on “British”. |
Do we need to raise an issue on Electron, then? I'm not that familiar with Electron; is anyone able to put together a set of reproducible steps for raising an issue there? |
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: electron/electron#17287 I guess we can probably close this here. |
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:
VS Code version: Code 1.31.0 (7c66f58, 2019-02-05T22:32:14.164Z)
OS version: Darwin x64 17.7.0
System Info
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
Extensions (29)
The text was updated successfully, but these errors were encountered: