Gvim重新绘制Virtual Box和Windows 7主机的问题 [英] Gvim redraw issues with Virtual Box and Windows 7 host
问题描述
一些进一步的信息:
$
- Virtualbox主机分发:Windows 7 64位
- Virtualbox版本:4.3.12以及guest添加
- Virtualbox客户端发行版:Linux Mint 17 Qiana 64位Cinnamon
- Gvim包:vim-gtk(但也发生在vim-gnome中)
- Virtualbox客户端发行版:Linux Mint 17 Qiana 64位Cinnamon
任何想法如何解决这个问题?
与Cinnamon的一些错误有关,也许只有在启用3D加速的VirtualBox内部运行时才会显示。事实上,我发现显示器也对其他应用程序(例如媒体播放器)已损坏。
我通过以下步骤切换到Mate窗口管理器来解决问题:
现在gvim和所有其他应用程序都可以正常工作。
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:
- Installed main mate packages
- Installed also package mint-meta-mate
- Logged out and selected Mate as window manager
Now gvim and all other apps work fine.
这篇关于Gvim重新绘制Virtual Box和Windows 7主机的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!