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
Yes, I understand that must be something underlying issue, but it's really annyoing I have to close the tab it opens (not to mention it switches focus) because we use [issue id] - description syntax. I was looking for a hotkey changing option because that would have been the simplest solution to just disable that hotkey since I do need that especially like this, but currently there is no option to change hotkeys as far as I know within the github client.
yes it is inserting ] the character but opens the chrome tab also. But I'm glad if that is fixed on the 1.7.x ! Can't wait for you to have that deployed :)
@Tusky I guess I missed something with my repro steps. Apologies, I'll try and get this reproducible against Electron itself (to confirm it's not a Desktop-specific issue).
Looks like this is a Windows Intended Behaviour, and our choice of shortcut here isn't helpful. From Raymond Chen's blog:
You may have noticed that Windows doesn't use Ctrl+Alt as a keyboard shortcut anywhere. (Or at least it shouldn't.) If a chorded modifier is needed, it's usually Ctrl+Shift.
That's because Ctrl+Alt has special meaning on many keyboards. The combination Ctrl+Alt is also known as AltGr, and it acts as an alternate shift key. For example, consider the German keyboard layout. Notice that there are three keyboard shift states (Normal, Shift, and AltGr), whereas on U.S. keyboards there are only two (Normal and Shift). For example, to type the @ character on a German keyboard, you would type AltGr+Q = Ctrl+Alt+Q. (Some languages, like Swedish, have a fourth state: Shift+AltGr. And then of course, there's the Japanese keyboard...)
@desktop/core I think we should change this to be Ctrl + Shift + G to align with all our other shortcuts. I don't think this clashes with an existing shortcut, but I'll confirm as part of the PR process.
Activity
shiftkey commentedon Sep 4, 2017
@Tusky thanks for the details and the repro steps. I was able to recreate this on Windows 10 using the onscreen keyboard set to Hungarian.
For a moment I was worried about what this was opening, but it's opening the current repository on GitHub as it currently maps to Ctrl + Alt + G.
It looks like this accelerator is declared correctly:
desktop/app/src/main-process/menu/build-default-menu.ts
Line 218 in d5b56b9
The documentation suggests that
AltandAltGrcan be declared as separate menu accelerators, but perhaps the runtime invoking the incorrect shortcut.I suspect this is something that needs to be fixed in Electron, unless it's already been addressed in the 1.7.x series (we're on 1.6.x currently).
Tusky commentedon Sep 4, 2017
Yes, I understand that must be something underlying issue, but it's really annyoing I have to close the tab it opens (not to mention it switches focus) because we use
[issue id] - descriptionsyntax. I was looking for a hotkey changing option because that would have been the simplest solution to just disable that hotkey since I do need that especially like this, but currently there is no option to change hotkeys as far as I know within the github client.shiftkey commentedon Sep 4, 2017
@Tusky I wasn't able to reproduce this on the
1.7.xPR I'm working on in #2582 (it's inserting]into the commit details as expected).Tusky commentedon Sep 4, 2017
yes it is inserting
]the character but opens the chrome tab also. But I'm glad if that is fixed on the 1.7.x ! Can't wait for you to have that deployed :)Tusky commentedon Sep 10, 2017
Using the newest 0.8.1 version it still reproduces :(
shiftkey commentedon Sep 10, 2017
@Tusky I guess I missed something with my repro steps. Apologies, I'll try and get this reproducible against Electron itself (to confirm it's not a Desktop-specific issue).
shiftkey commentedon Sep 11, 2017
I've got a repro here that shows the issue, but it's reproducible on the 1.8.0 beta of Electron still: https://github.com/shiftkey/electron-hungarian-keyboard-shortcut
Trying to isolate where this problem lives before I log it upstream - hoping its an easy fix!
shiftkey commentedon Sep 11, 2017
Looks like this is a Windows Intended Behaviour, and our choice of shortcut here isn't helpful. From Raymond Chen's blog:
@desktop/core I think we should change this to be Ctrl + Shift + G to align with all our other shortcuts. I don't think this clashes with an existing shortcut, but I'll confirm as part of the PR process.
lee-dohm commentedon Sep 11, 2017
We had to move away from
Ctrl+Altshortcuts in Atom for the same reason.