rogual / neovim-dot-app

Mac OS X GUI for Neovim
1.13k stars 62 forks source link

Flashes multiple times on startup #291

Open Kwpolska opened 8 years ago

Kwpolska commented 8 years ago

Whenever I open NeoVim or a new buffer, the window contents flash multiple times (which could be seizure-inducing) until they “reach” the correct color scheme and usability.

One flash also happens when moving windows between HiDPI (Retina) and regular-DPI screens.

fsegouin commented 8 years ago

I've been experiencing this since a year and thought it was normal. MacBook Pro Retina 15".

Kwpolska commented 8 years ago

That's definitely not normal. MacVim doesn’t do this.

bambu commented 8 years ago

Unfortunately it is known and is "normal". It has to do with having to re-source the vimrc after attaching to Neovim. #157 is the current active issue for it and there is one if not more issues open for it in the actual Neovim repository.

One solution that I played around with to prevent the flickering would be to sleep the main thread until the the vimrc has finished re-loading. However, this would cause a delay in opening the program and seems weird especially in the cases where you are opening a new window.