Closed llelf closed 9 months ago
The reason ⌥N
fails is that the Dutch layout has registered this combination as a composite key. You can try using a different layout or create your own. I haven't tried it myself, but others suggest the tool Ukelele if you want to create a custom layout.
The reason ⌥N fails is that the Dutch layout has registered this combination as a composite key.
I know. But it’s still a bug.
Depends how you look at it. Would you prefer to be able to define the shortcut but not be able to trigger it?
Currently, if you switch to a layout that doesn't define the composite key, you can use it to define a shortcut and it will work. If you later switch to the Dutch layout, it will no longer trigger your defined function.
Likewise, if this "bug" was fixed, you could define the keyboard shortcut in the Dutch layout but not use it until you switch to another layout.
I don't know of a way to override the layout composite key from an app. Is this possible?
Depends how you look at it. Would you prefer to be able to define the shortcut but not be able to trigger it?
I would expect it to just work. You can assign such combinations in System Preferences
to applications, not to mention Terminal.app
.
I would completely understand if that is hard to do in Electron, but please let’s stop pretending it’s not a bug (c'mon, writing alt + undefined
to the config?!)
That was clumsy of me, of course it is an issue. My statements all assume that it isn't possible for an application to override the composite key. I will need to investigate further, but any help is welcome.
If RIDE cannot override the composite key, it should at least refuse the combo with a sensible message, rather than writing alt+undefined to the config.
Unsupported shortcuts are no longer registered, fixed in b3ce5d6
Describe the issue you are having
Cannot assign some (simple) key combinations (e. g.
option+N
). It is saved asalt+undefined
.Did you connect to an already running interpreter or start the interpreter from RIDE?
from RIDE (but it does not matter)
How do you reproduce the issue?
Set current keyboard layout to Dutch. Open RIDE → Preferences → Shortcuts. Try to assign
⌥N
.Paste the contents of Help → About (Shift+F1)