onivim/oni

Keyboard switching issue/Can't type quote

Open

#1,058 opened on Dec 2, 2017

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (336 forks)batch import
bughelp wantedi18ninsider

Repository metrics

Stars
 (11,389 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I realise this is a weirdly specific error, but something in Oni isn't able to keep up with the Windows language swapping.

I swap back and forth between the British and US English keyboard layouts depending on what keyboard I have plugged in, and what I'm typing at the time. Oni can deal with both of these, if I open Oni with the required layout enabled, but if I swap whilst Oni is open I get some weird behaviour where the " key doesn't work and perhaps others, but I notice that one the most.

For example:

  • Open Oni in US Layout
  • Realise that I'm writing a report in Latex that deals with money, so I swap to the UK layout to get the £ symbol more easily.
  • Then " doesn't work anymore in the UK layout, but if I swap back to US it works fine.

Debug logs below:

In both cases the first prints a " to the window and the second does not, I assume because it is being picked up as <Shift - ">.

Obviously low priority, and I wasn't even sure if this was an issue of ours or the package we use.

Contributor guide