daa84 / neovim-gtk

gtk ui for neovim
GNU General Public License v3.0
718 stars 56 forks source link

Running :Denite hangs and crashes ui #59

Closed adrian-martinez-dev closed 6 years ago

adrian-martinez-dev commented 6 years ago

Denite works fine in neovim-qt and gnome-terminal, here's the terminal output:

Event set_icon([String(Utf8String { s: Ok("") })]) Event set_title([String(Utf8String { s: Ok("nvimrc (~/dotfiles) - NVIM") })]) ERROR 2018-02-20T07:02:19Z: nvim_gtk::nvim::ext: Unknown error type: Wait timeout (nvim_get_hl_by_name) ERROR 2018-02-20T07:02:29Z: nvim_gtk::nvim::ext: Unknown error type: Wait timeout (nvim_get_hl_by_name) ERROR 2018-02-20T07:02:39Z: nvim_gtk::nvim::ext: Unknown error type: Wait timeout (nvim_get_hl_by_name) ERROR 2018-02-20T07:02:49Z: nvim_gtk::nvim::ext: Unknown error type: Wait timeout (nvim_get_hl_by_name) ERROR 2018-02-20T07:02:59Z: nvim_gtk::nvim::ext: Unknown error type: Wait timeout (nvim_get_hl_by_name) ERROR 2018-02-20T07:03:09Z: nvim_gtk::nvim::ext: Unknown error type: Wait timeout (nvim_get_hl_by_name) Event set_icon([String(Utf8String { s: Ok("") })]) Event set_title([String(Utf8String { s: Ok("[denite] (~/dotfiles) - NVIM") })]) Event set_icon([String(Utf8String { s: Ok("") })]) Event set_title([String(Utf8String { s: Ok("nvimrc (~/dotfiles) - NVIM") })]) thread '<unnamed>' panicked at 'calledResult::unwrap()on anErrvalue: "SendError(..)"', src/libcore/result.rs:906:4 note: Run withRUST_BACKTRACE=1for a backtrace. thread '<unnamed>' panicked at 'Can't join dispatch thread: Any', src/libcore/result.rs:906:4 thread 'main' panicked at 'Error run input command to nvim: GenericError("Wait timeout (nvim_input)")', src/libcore/result.rs:906:4 Uncaught panic, exiting [1] 10255 abort (core dumped) nvim-gtk

unclechu commented 6 years ago

@nbicalcarata Please, specify commit hash.

unclechu commented 6 years ago

@daa84 I have this bug too, on f9b20db. When I try to open Denite window app I got neovim-gtk frozen for about 30 second or a minute and then it works, but I have the same freeze when I close Denite window.

I just realized I have it too with 8bf342e and even with 0f377b7. But I'm sure yesterday it was working fine.

adrian-martinez-dev commented 6 years ago

I have set the flag frozen in vim plug, with Denite commit a5bd4d, until this is fixed.

Plug 'Shougo/denite.nvim', {'commit' : 'a5bd4d15f44e5de8f695b3d720ea1ded469ae93b', 'frozen' : '1'}

unclechu commented 6 years ago

@nbicalcarata you're right, this commit (of Denite) doesn't have this problem, and next commits even have some issues with TUI, see Shougo/denite.nvim/issues/451 I just created.

unclechu commented 6 years ago

@daa84 I think this is more bug of Denite than neovim-gtk. But still it is strange that such just blinking (I guess I could say redrawing whole screen) in TUI causes that huge freeze in neovim-gtk.

unclechu commented 6 years ago

@nbicalcarata This is fixed in Denite by Shougo/denite.nvim@ca23187

adrian-martinez-dev commented 6 years ago

Great! Thanks