Neovide doesn't get the right input from keyboard
Describe the bug Switching between workspaces causes neovide to enter the wrong characters, which means I can't use it properly. On neovim it doesn't happen.
To Reproduce Open neovide, switch to a different workspace and go back.
Expected behavior Be able to use neovim as usual.
Screenshots screen recording
Desktop (please complete the following information):
- OS: Ubuntu 22.04.1
- Neovide Version: 0.9.0
- Neovim Version: 0.7.2
Please run neovide --log and paste the contents of the .log file created in the current directory here:
neovide_rCURRENT.log
Additional context Only happens in neovide. I've tried using other GUIs for neovim and it works fine in them (gnvim and nvui).
Thanks for reporting! Is it possible that you've switched keyboard layouts in-between? Also, are you running GNOME in a X11 or Wayland session (does echo $WAYLAND_DISPLAY in a terminal yield anything except a newline)?
Thanks for reporting! Is it possible that you've switched keyboard layouts in-between? Also, are you running GNOME in a X11 or Wayland session (does
echo $WAYLAND_DISPLAYin a terminal yield anything except a newline)?
I didn't switch the layout, and running echo $WAYLAND_DISPLAY just prints a newline.
(I use C-M-ArrowUp and C-M-ArrowDown for switching between workspaces)
I made a small program in c to test which keys are being pressed, and it seems like it presses the ESC key (ascii code 27). I still can't figure out why it does that.
https://user-images.githubusercontent.com/40868480/186084347-a6fb19ea-15ff-408e-906d-f4438af778b3.mp4
I am having this same issue on Gnome with Neovide version 0.10.1 and Neovim version 0.7.2. @netfri25 did you find a fix?
@gaganchandan nope, but I recently switched my computer and it works fine now, so idk. I hope it won't come back, probably some weird bug with ubuntu or smth.
I have a similar issue. I'm using a BÉPO layout, and neovide seems to ignore it. Does'nt append in neovim. Randomly, it works well, considering the good layout.
- Linux LIN0181233 5.15.0-56-generic #62~20.04.1-Ubuntu SMP Tue Nov 22 21:24:20 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
- neovide 0.10.3
I think this is fixed by the new winit update in master with https://github.com/neovide/neovide/pull/1789, could you try again with Neovide main?
This should be fixed by #1899, it would be great if you can test that.