Bug#777567: vim-gtk: Regions of text fail to redraw in gvim

Josef Boyd josefuboyd at gmail.com
Mon Feb 9 22:45:59 UTC 2015


Package: vim-gtk
Version: 2:7.4.488-4
Severity: important

Dear Maintainer,

I'm using gVim on a fresh sid install. When I open up a file and scroll
around
(usually using the PgUp and PgDn keys), I'll often see large areas of text
missing from the screen. What I'm seeing is very similar to what's in the
linked video in this superuser question:
http://superuser.com/questions/343599
/gvim-redraw-failure

If I navigate through the empty area with the arrow keys, each character
will
display as the cursor goes over it, one at a time. Hitting PgUp or PgDn
again
will usually restore the text, but will often result in a different region
becoming blank. `:redraw`, `:redraw!` and ^L exhibit the same behavior.

Alt-Tabbing out and back into the window always redraws everything
correctly.

Trying to figure out what was wrong, I ran strace on the gvim process. To my
surprise, I could not reproduce the issue while strace was running! I then
realized it was because strace was frequently outputting to a terminal
behind
gVim, and evidently was forcing rapid screen redraws. So that seems to be a
workaround (but certainly not a good one).

I don't know much about low-level display stuff, so I'm not sure whether
this
is a gVim problem or something else. My terminal (terminator) does not
exhibit
anything like this, and neither does regular vim. I'm running lightdm and
openbox. I'm also running xcompmgr, but the issue persists whether or not
xcompmgr is running.

I should also note that I'm running on a virtual machine (VMware tools). I
say
that because I have a system running sid at home that does not have this
problem.

Let me know if you have any ideas.

Thanks!

Joe



-- Package-specific info:

--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.gtk
/usr/bin/vim is /usr/bin/vim.gtk
/usr/bin/gvim is /usr/bin/vim.gtk

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vim-gtk depends on:
ii  libacl1             2.2.52-2
ii  libc6               2.19-15
ii  libgdk-pixbuf2.0-0  2.31.1-2+b1
ii  libglib2.0-0        2.42.1-1
ii  libgpm2             1.20.4-6.1+b2
ii  libgtk2.0-0         2.24.25-1
ii  libice6             2:1.0.9-1+b1
ii  liblua5.2-0         5.2.3-1.1
ii  libpango-1.0-0      1.36.8-3
ii  libperl5.20         5.20.1-5
ii  libpython2.7        2.7.9-1
ii  libruby2.1          2.1.5-1
ii  libselinux1         2.3-2
ii  libsm6              2:1.2.2-1+b1
ii  libtcl8.6           8.6.2+dfsg-1
ii  libtinfo5           5.9+20140913-1+b1
ii  libx11-6            2:1.6.2-3
ii  libxt6              1:1.1.4-1+b1
ii  vim-common          2:7.4.488-4
ii  vim-gui-common      2:7.4.488-4
ii  vim-runtime         2:7.4.488-4

vim-gtk recommends no packages.

Versions of packages vim-gtk suggests:
pn  cscope            <none>
ii  gnome-icon-theme  3.12.0-1
pn  ttf-dejavu        <none>
pn  vim-doc           <none>

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20150209/b120960c/attachment.html>


More information about the pkg-vim-maintainers mailing list