Some Ctrl + Alt combinations don't work as expected on nordic layout #2899
Labels
bug
Something isn't working
keyboard Input
Catch all category for keyboard issues
Windowing
This issue may be fixed by Winit
Describe the bug
Not sure if this should be considered a bug or not, neovide is technically correct in what it's doing, it's just that, this isn't the behaviour I would expect from it.
It's probably related to keyboard layout, I'm on a Nordic layout (specifically Danish) and some
ctrl
+alt
combinations don't behave how I'd expect.To Reproduce
On nordic layout when I press
ctrl
+alt
+2
behaves asctrl
+alt
+@
(instead of just inserting the@
character)But pressing
ctrl
+alt
+3
inserts the£
character (as I would expect)I tried running with
neovide -- --clean
and the behaviour is the sameExpected behavior
I would expect it to act as Altgr, which is how gvim and nvim-qt handles it, but I'm not sure if that would be considered correct, I could see the case being made for this to be the intended behaviour, or alternatively that it would use the key without modifiers used instead (as in instead of
<C-M-@>
it would be interpreted as<C-M-2>
)Desktop (please complete the following information):
Please run
neovide --log
and paste the contents of the.log
file created in the current directory here:looking at the
.log
file it does do the "correct" thing and sends the<C-M-WHATEVER>
when it's pressed, but the character is only really reachable through either Altgr (orctrl
+alt
)I've skipped some stuff for brevity but the full log also attached here
neovide_r2024-12-19_22-41-01.log
The text was updated successfully, but these errors were encountered: