oni icon indicating copy to clipboard operation
oni copied to clipboard

Can't insert ~ or ´ on Norwegian keyboard in any mode - they appear as dead keys

Open martinhj opened this issue 7 years ago • 4 comments

Oni Version: 0.3.6 And also current master (with yarn run build-debug and yarn run start) (0.3.7)

Operating System: macOs 10.13.5 High Sierra

Issue: I`m not able to insert ~ or ´ in any mode in oni with ctrl+¨(~) or ctrl+´. If I want to insert tilde now I need to do a alt+¨ and then space, but that is not a sustainable solution to use tilde to change case. I see that this has been an issue before for other keyboard layouts.

In my keyboard layout the keys that does not work correspond with the keys that is orange in this screenshot (software keyboard in macos) which is the same keys where after pressing it and adding another letter will add a tilde or umlaut above that letter. image

Using Oni.log.enableDebugLoggind() I get: ´: [Key event] Code: Equal Key: Dead CtrlKey: true ShiftKey: false AltKey: false | Resolution: ~: [Key event] Code: BracketRight Key: Dead CtrlKey: true ShiftKey: false AltKey: false | Resolution:

I see that other's have been experiencing similar problems earlier in #542, #638 and #746.

Expected behavior: I'm able to insert these characters both in iTerm (and hence also vim in iTerm) and Safari so I expect it work in Oni as well. (Checked in vscode, and I was not able to insert an tilde there either with ctrl+¨).

Steps to reproduce: On macOs 10.13.5 with a norwegian keyboard layout in software press on ctrl+´ (or '=' on a english keyboard if you change the keyboard layout in preferences) or ctrl+¨ ('}' on a english keyboard)

martinhj avatar Jun 28 '18 15:06 martinhj

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

oni-bot[bot] avatar Jun 28 '18 15:06 oni-bot[bot]

I've got the same issue with Swedish keyboard.

eliasmoberger avatar Sep 11 '18 08:09 eliasmoberger

I have a similar problem (unable to insert `) with Oni 0.3.7 on Ubuntu 16.04 using English (UK) keyboard layout. It is working, when I switch to German layout.

luator avatar Nov 06 '18 16:11 luator

Are we any close to a solution of this problem? No dead keys are working for me, in particular I can't type "^", Shift+6 just input 6. I can get around this by pressing Shift+6 three times in a row, which input something like "66^6", which is really annoying.

"~", "´" have similar problems.

I am using a Portuguese Keyboard on Windows (I would bet that this a Windows specific problem).

Figuera avatar Nov 12 '19 06:11 Figuera