Oni: Interactive tutorial broken in version 0.3.7 and 0.3.8

Created on 17 Dec 2018  路  12Comments  路  Source: onivim/oni

Oni Version:
0.3.8
Neovim Version (Linux only):
0.3.1
Operating System:
Ubuntu 18.04 x64

Issue:
Interactive tutorial doesn't work. Unable to complete first task int first tutorial.

Expected behavior:
Interactive tutorial inline window goes into insert mode and input text goes to that window

Actual behavior:
When I press i key to switch into insert mode inside interactive tutorial inline window, whole Tutorial tab goes into insert mode and input text goes somewhere in background

Steps to reproduce:
Open first task in first tutorial, press i. Whole tab goes into insert mode instead of inline window

help wanted

Most helpful comment

Version 0.3.9 has the same issue. seems like inline windows cant get focus

All 12 comments

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.

Version 0.3.9 has the same issue. seems like inline windows cant get focus

I've found place where this bug was introduced https://github.com/onivim/oni/commit/e612eb860224d9f36528501cfd7c3a221e635305#r31743213

UPD: seems that is not true.

Inline editor didn't get focus. But I can't find why :sob:

I seem to be experiencing this same issue with the mac version. v0.3.9

Same here on Kubuntu 18.10 : v 0.3.9

I've tried to debug this thing a little bit: So I set autoFocus = true here https://github.com/onivim/oni/blob/c7b11e462cc97f56fce313106570e5bb1e02eee5/browser/src/Services/Learning/Tutorial/TutorialBufferLayer.tsx#L126 , but it seems that it helps once, if I open another tutorial, inline editor looses focus again.

Also after completing tutorial there are two problems:

  1. Keystroke counter doesn't work
  2. Completion layer doesn't handle input keys, so I can't restart with space or continue with enter key

I am experiencing this same problem in 0.3.9 for macos. It is a shame because I would love to complete all the tutorials

Having this issue on Windows.
Oni 0.3.9 / NeoVim 0.3.1

I'm experiencing this issue on 0.3.9 with neovim 0.3.4

Same :(

Same issue on Oni 0.3.9 and Neovim 0.3.4

same pleas fix this soon
neovim 0.4.3-1
oni 0.3.9-2

Was this page helpful?
0 / 5 - 0 ratings