daa84 / neovim-gtk

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

Bug: neovim-gtk crashes resizing window #41

Closed Zardoz89 closed 6 years ago

Zardoz89 commented 6 years ago

I noticed that neovim-gtk crashes sometimes when I resize the window. Not happens everytime, and looks that since I disable the native tabline, happens a lot less.

thread 'main' panicked at 'slice index starts at 21 but ends at 15', /checkout/src/libcore/slice/mod.rs:752:4 note: Run withRUST_BACKTRACE=1for a backtrace. Uncaught panic, exiting fish: 'nvim-gtk' terminated by signal SIGABRT (Abort)

pwoolcoc commented 6 years ago

Sorry to piggyback on your issue here, I came here to file another bug because although mine doesn't crash when resizing, it is showing some strange behavior where the X dimension of the window slowly gets smaller and smaller. I'll post a video of it here and I guess it's up to @daa84 whether mine should be a separate issue or not.

EDIT: video of the behavior https://imgur.com/a/zP2rQ

daa84 commented 6 years ago

Change resize code, so this must fix @pwoolcoc problem, maybe together with original bug.

Zardoz89 commented 6 years ago

I can't reproduce it any more, so I would say that it's fixed.

pwoolcoc commented 6 years ago

working for me too, thanks!