vhakulinen / gnvim

GUI for neovim, without any web bloat
MIT License
1.85k stars 69 forks source link

Crash on opening new file using vim-clap #145

Closed p00f closed 1 year ago

p00f commented 4 years ago

Great GUI!!

OS - archlinux desktop session - gnome on xorg commit - 1a47380 installation method - AUR Log:

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/ui/state.rs:142:24
stack backtrace:
   0:     0x56280078f6c5 - <unknown>
   1:     0x5628007b116c - <unknown>
   2:     0x56280078c6c3 - <unknown>
   3:     0x562800791c80 - <unknown>
   4:     0x5628007919cc - <unknown>
   5:     0x5628007922b7 - <unknown>
   6:     0x562800791ebb - <unknown>
   7:     0x5628007aee21 - <unknown>
   8:     0x5628007aed6d - <unknown>
   9:     0x5628005b4079 - <unknown>
  10:     0x5628005acde0 - <unknown>
  11:     0x5628005b94d6 - <unknown>
  12:     0x7f1db597443c - g_main_context_dispatch
  13:     0x7f1db59c21d9 - <unknown>
  14:     0x7f1db5973221 - g_main_context_iteration
  15:     0x7f1db738ec9e - g_application_run
  16:     0x562800578a9e - <unknown>
  17:     0x5628005c4d77 - <unknown>
  18:     0x5628005960c3 - <unknown>
  19:     0x562800792688 - <unknown>
  20:     0x5628005c52f2 - <unknown>
  21:     0x7f1db573e002 - __libc_start_main
  22:     0x56280052212e - <unknown>
  23:                0x0 - <unknown>

I can open new tabs and buffers using :badd and :tabnew just fine, but using clap crashes gnvim when you open a file in the same or different tab/split window, unless gnvim is completely empty

p00f commented 4 years ago

Also, line numbers don't work, should I open another issue?

They work now

p00f commented 4 years ago

Is this somehow related to #144 ?

vhakulinen commented 1 year ago

Gnvim was rewritten from ground up for gtk4. If the problem persists, feel free to reopen this issue.