rogual / neovim-dot-app

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

Redraw errors when resizing or switching windows #312

Open spurll opened 7 years ago

spurll commented 7 years ago

I've noticed intermittent redraw problems when resizing the window or switching between Neovim.app and other applications.

When resizing the window, I've noticed duplication of lines or line numbers, lines without the background colour filled in, and lines with the text partially replaced with text from the command-line area. (See attached image for an example; pay attention to the line numbers, white bar on the upper-right, and the portion of the command duplicated on the bottom.)

capturfiles_49

When CMD+tabbing back to Neovim, portions of the active split (including line numbers and the | characters bordering the split) appear to be overdrawn with blank/background chars. Text will also radically alter in size sometimes, and only for part of the screen. Reloading the file/buffer doesn't appear to help, nor does switching buffers.

At first I thought the issue may be a result of the fact that I updated both neovim and neovim-dot-app via homebrew, which resulted in neovim on 0.1.7 and neovim-dot-app on 0.1.5. I checked out and built both neovim (tag: v0.1.5) and neovim-dot-app (tag: 0.1.5) from source and the problem is still present.

I'm running macOS Sierra 10.12.2 (16C67).