You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot toggle windows on Mac using "non-standard" keyboard layouts (eg British - PC; French) #17287
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).
I expect to be able to do the same with Electron windows.
Actual Behavior
Using Cmd + Backtick toggles windows using the "British" keyboard layout, but not the "British - PC" layout.
git clone https://github.com/alecgibson/electron-quick-start
cd electron-quick-start
npm install
npm start
Enable the "British" keyboard layout
Start the app
Use Cmd + ` to toggle between the two spawned windows
Switch keyboard layout to "British - PC"
Try to use Cmd + ` again, but note that the windows no longer toggle (NB - the backtick key will have moved; verify you've got the right key by trying to type it somewhere)
For completeness, here is the simple code in the repo:
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
Thank you for taking the time to report this issue and helping to make Electron better.
The version of Electron you reported this on has been superseded by newer releases.
If you're still experiencing this issue in Electron 6.x.y or later, please add a comment specifying the version you're testing with and any other new information that a maintainer trying to reproduce the issue should know.
I'm setting the blocked/need-info label for the above reasons. This issue will be closed 7 days from now if there is no response.
changed the title [-]Cannot toggle windows on Mac using "British - PC" keyboard layout[/-][+]Cannot toggle windows on Mac using "non-standard" keyboard layouts (eg British - PC; French)[/+]on May 28, 2020
I am here hoping for a fix that helps with window switching on the Trello app. I use Dvorak keyboard layout, but switching between Dvorak and US layout doesn't seem to make a difference (backtick is in the same place on both). When I run @alecgibson's example I can't immediately switch windows with CMD+`, but after waiting about 10 seconds I suddenly can. I'm running MBP 2019 with Catalina.
It seems I fixed this issue in #27701. It took me a moment to find ` on this keyboard layout but I ran the example in this thread, confirmed it's still broken, then ran the example on a build with the fix from #27701 in it and Cmd + ` in the "British - PC" keyboard layout worked as well as the "French" keyboard layout.
Activity
welcome commentedon Mar 8, 2019
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
bengourley commentedon May 7, 2019
The last working version appears to be
2.0.18. Every version of Electron that I tried after that (starting withv3.0.0) cmd+backtick does not work.electron-triage commentedon Feb 19, 2020
Thank you for taking the time to report this issue and helping to make Electron better.
The version of Electron you reported this on has been superseded by newer releases.
If you're still experiencing this issue in Electron 6.x.y or later, please add a comment specifying the version you're testing with and any other new information that a maintainer trying to reproduce the issue should know.
I'm setting the
blocked/need-infolabel for the above reasons. This issue will be closed 7 days from now if there is no response.Thanks in advance! Your help is appreciated.
alecgibson commentedon Feb 20, 2020
I've just tested this in v8.0.1, and it's still broken. Is this on anyone's radar? It's a really annoying bug.
erralb commentedon Feb 27, 2020
Hi, I have the same problem on a MacBook pro 16 with Catalina and a French keyboard (using VSCode)
titouanmathis commentedon May 28, 2020
Hi,
Same bug for me on a Macbook Pro 13" 2017 with macOS Catalina and a French keyboard, using VSCode 1.45.1 and Electron 7.2.4.
[-]Cannot toggle windows on Mac using "British - PC" keyboard layout[/-][+]Cannot toggle windows on Mac using "non-standard" keyboard layouts (eg British - PC; French)[/+]cogat commentedon Sep 12, 2020
I am here hoping for a fix that helps with window switching on the Trello app. I use Dvorak keyboard layout, but switching between Dvorak and US layout doesn't seem to make a difference (backtick is in the same place on both). When I run @alecgibson's example I can't immediately switch windows with CMD+`, but after waiting about 10 seconds I suddenly can. I'm running MBP 2019 with Catalina.
clavin commentedon Feb 19, 2021
It seems I fixed this issue in #27701. It took me a moment to find ` on this keyboard layout but I ran the example in this thread, confirmed it's still broken, then ran the example on a build with the fix from #27701 in it and Cmd + ` in the "British - PC" keyboard layout worked as well as the "French" keyboard layout.
MarshallOfSound commentedon Feb 19, 2021
Fixed in #27701 🥳