-
Notifications
You must be signed in to change notification settings - Fork 301
Can't type backticks (`) #542
Comments
Thanks for logging the issue! Sorry you hit this - that's bizarre (and frustrating)! Tried this out, and I'm unable to reproduce on Ubuntu. I'll see if I can get an Arch Linux box to test it out there. A couple of follow-up questions to narrow it down:
Thanks! |
Hello @extr0py, thanks for the helpful response! My layout is set by: I am using a custom module.exports = {
//add custom config here, such as
"oni.useDefaultConfig": true,
"oni.loadInitVim": false,
"oni.hideMenu": true,
"editor.fontSize": "16px",
//"editor.fontFamily": "Monaco"
} The issue persists. |
Hi! I'm having the same issue with a spanish layout. It happens with several special characters (I first noticed it with I'm using an updated Arch and kde. |
@badosu Is this issue still present for you? I'm on Arch and I don't see it. |
It looks like right now we are not handling 'Dead Keys' correctly, which might be related here. I see similiar issues with other keyboard layouts that have dead keys (like |
@someguynamedmatt Yes, it's present. On a machine with a standard US keyboard layout it works though. On the standard US keyboard there's a different issue though, I use the Compose key to type accentuated characters and it does not work. I want to use Oni as my main editor and this is the most painful blocker atm. |
Just for the laughs: a few hours ago oni was ignoring my caps lock key. It gets the prize to the most weird bug I ever seen. Latam or spanish keyboard layout. |
Sorry @badosu @Gahen I know these keyboard / input issues are brutal. I added the My time is limited for the next couple of weeks, but, I am going to be full-time on Oni for at least a couple of months starting in October, and these are top of my list to tackle once I make that switch... My top priority at that time is to tackle all the bugs stopping people from using Oni as their main editor! In the meantime, let me know if there are any other weird things - knowing the OS, keyboard layout, and key sequence will be helpful - I'll add it to my list of test cases I'm tracking.
@Gahen - that is bizarre! Appreciate you reporting it, though. Sounds like the keyboard is latin america/spanish, but which OS is this? |
@extr0py Thanks for the attentive response, gonna improve my error reports and follow-ups to help you dig into (what I think) are the most fundamental issues for an editor. |
@extr0py Thanks for the kind answer and the good work! The caps lock bug was on my working machine, it's running Arch and using the compiled git version ( master branch from last week I think). If you can tell me how I can fetch more info for you I'll gladly do it and post it here tomorrow. I work developing for web so I can easily check the dev tools if there is something that can be tested there. Thanks again! This project rocks =) PD: On my home machine the same OS / layout doesn't seem to have that bug. I think I checked and wasn't happening on NeoVim only, but I'll check that again tomorrow. The version is different though, I have the OS package version (aur/oni 0.2.8-1) and not the one from git. |
Thanks @badosu & @Gahen for the support (& patience 😄 )
That would be excellent! I'm building up a matrix of representative test cases so I can be sure I'm covering all the scenarios. Agree with it being a fundamental issue - stuff like LSP and nice tabs aren't very useful if you can't even input text...
This would be great, @Gahen ! There's some information on how to debug Oni here: https://github.com/extr0py/oni/wiki/Debugging#debug-build And how to open the dev tools: https://github.com/extr0py/oni/wiki/Debugging#open-devtools The most interesting place to look at for the keyboard stuff is here: The very first fix that I'm looking thinking about is using For the caps issue, for example, it would be interesting to trace through that code and see if it is getting a
Interesting, there were a few keyboard fixes that came in between 0.2.8 and latest git I believe. There's also the possibility that there is some difference between building locally and the packaged version. |
* Refactor Keyboard to take in an element * Extract body of keyboard handler to separate method * Factor out keyboard to <NeovimInput /> * Refactor keyboard input to separate component * More input updates * Initial work to add IME/dead key handling to keyboard input * Handle composing case * TEST COMMIT * Revert test commit * Some cleanup / refactoring * Fix first round of lint issues * Disable IME when not in insert mode * Fix remaining lint issues * Refactor logic so that RootComponent gets first pass at handling keyboard input * Start cleaning up logic in NeovimInput * Add FocusManager * Remove 'capture' concept from input manager * Fix mouse regression by setting pointer-events: none * Fix exception due to null key * Factor KeyboardInput to separate file * Fix up props * Clean up and consolidate logic in KeyboardInput; fix lint erros * Fix composition issue on OSX * Specify lineheight for cursor, to center highlighted text
Fixed in the [v0.2.10] release, via PR #716, so I'll close this. Let me know if you're still seeing any issues though! |
Hi, I'm trying onivim (v0.3.0) and it doesn't accept quotation mark ( " ) which needs a three keys combination. Other chars like ~ (just two key combination) works as expected. I'm using the following keyboard settings (Archlinux/KDE):
Please tell me if can give you more details. Thanks! |
For some reason I can't type backticks, using oni from Arch User Repositories (
aur/oni 0.2.5-1
).The input works on any other X window, just on Oni it does not work.
Let me know if additional info is required.
The text was updated successfully, but these errors were encountered: