Gvim 7.4 on a Linux guest inside VirtualBox has serious redraw issues: often when I scroll up/down, the shown text gets corrupted (e.g., empty or with some "holes"). And I have to resize/rescroll to clean the screen. I've never experienced a similar problem either with Gvim or with Virtualbox, but it makes gvim almost unusable.
Some further information:
- Virtualbox host distribution: Windows 7 64 bit
- Virtualbox version: 4.3.12 with guest additions
- Virtualbox guest distribution: Linux Mint 17 Qiana 64-bit Cinnamon
- Gvim package: vim-gtk (but it happens using vim-gnome too)
Any idea how to solve this issue ?
The problem is related to some bug of Cinnamon, maybe showing up only when run inside VirtualBox with 3D acceleration enabled. I discovered, in fact, that the display was corrupted also for other applications (e.g., media player).
I solved the problem by switching to the Mate window manager through the following steps:
Now gvim and all other apps work fine.