daa84 / neovim-gtk

gtk ui for neovim
GNU General Public License v3.0
716 stars 57 forks source link

App exits on RMB click #117

Closed unclechu closed 6 years ago

unclechu commented 6 years ago

Describe the bug When I just click right mouse button on neovim-gtk window app exits. I can't see anything in log because it daemonized by default and I can't also see what nvim-gtk --help returns, because it is also daemonized and just exists with empty log, I wanted to see usage info by --help argument to disable daemonization.

Technical information (please complete the following information):

davidsierradz commented 6 years ago

I am experiencing the same behavior, when I click the mouse right button and then middle button, the app crashes, if I run nvim-gtk from a terminal with nvim-gtk --no-fork press the right and middle buttons this appears on the terminal:

thread 'main' panicked at 'already borrowed: BorrowMutError', libcore/result.rs:945:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Uncaught panic, exiting
[1]    3264 abort (core dumped)  nvim-gtk --no-fork

Technical information (please complete the following information):

daa84 commented 6 years ago

--help is a problem :smile: don't know what to do with it. Need to think. There is two problems:

  1. is daemonize
  2. is that gtk-rs bindings does not support custom options that can be added.