Gvim重新绘制Virtual Box和Windows 7主机的问题 [英] Gvim redraw issues with Virtual Box and Windows 7 host

查看:235
本文介绍了Gvim重新绘制Virtual Box和Windows 7主机的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Gvim 7.4在VirtualBox内的Linux guest虚拟机上存在严重的重绘问题:往往当我向上/向下滚动时,显示的文本被破坏(例如,空或者带有一些漏洞)。我必须调整大小/ rescroll来清理屏幕。我从来没有遇到与Gvim或Virtualbox类似的问题,但它使gvim几乎无法使用。



一些进一步的信息:
$


  • Virtualbox主机分发:Windows 7 64位

  • Virtualbox版本:4.3.12以及guest添加
  • Virtualbox客户端发行版:Linux Mint 17 Qiana 64位Cinnamon
  • Gvim包:vim-gtk(但也发生在vim-gnome中)


任何想法如何解决这个问题?

解决方案

与Cinnamon的一些错误有关,也许只有在启用3D加速的VirtualBox内部运行时才会显示。事实上,我发现显示器也对其他应用程序(例如媒体播放器)已损坏。



我通过以下步骤切换到Mate窗口管理器来解决问题:


  • 安装主配合软件包

  • 已安装软件包mint-meta-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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆