Bug#537632: vim-gtk: receive clipboard INCR transfer fails

David Fries david at fries.net
Sun Jul 19 23:53:11 UTC 2009


Package: vim-gtk
Version: 1:7.1.314-3+lenny2
Severity: normal


vim fails when trying to receive incremental clipboard selection
transfers.  Specifically large 300KB selection transfers fail from vim
to vim, but work from vim to kword.

In vim select some text V"+ motion y  and try to paste in
another vim session "+p if the selection size was small it uses one
transfer and succeed, if it is large, like 300KB worth, the clipboard
owner will initiate an incremental selection transfer, but the
requestor will fail, and try at least four times before giving up.  It
will then fall back to reading the CUT_BUFFER0 and if the desired text
happens to be there it will appear to work, or if it is some other
random text it can be really confusing what happened.

vim seems to populate CUT_BUFFER0 on exit.  Use
xprop -root -remove CUT_BUFFER0
to make sure the cut buffer is empty.  If it is empty vim will report,
E353: Nothing in register +
and no transfer takes place.

I also checked vim-gtk_7.2.148-2_i386.deb and it has the same problem.

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i586)

Kernel: Linux 2.6.29-rc3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages vim-gtk depends on:
ii  libacl1               2.2.47-2           Access control list shared library
ii  libc6                 2.7-18             GNU C Library: Shared libraries
ii  libglib2.0-0          2.16.6-2           The GLib library of C routines
ii  libgpm2               1.20.4-3.1         General Purpose Mouse - shared lib
ii  libgtk2.0-0           2.12.12-1~lenny1   The GTK+ graphical user interface 
ii  libice6               2:1.0.4-1          X11 Inter-Client Exchange library
ii  libncurses5           5.7+20081213-1     shared libraries for terminal hand
ii  libpango1.0-0         1.20.5-5           Layout and rendering of internatio
ii  libperl5.10           5.10.0-19          Shared Perl library
ii  libruby1.8            1.8.7.72-3         Libraries necessary to run Ruby 1.
ii  libselinux1           2.0.65-5           SELinux shared libraries
ii  libsm6                2:1.0.3-2          X11 Session Management library
ii  libx11-6              2:1.1.5-2          X11 client-side library
ii  libxt6                1:1.0.5-3          X11 toolkit intrinsics library
ii  python2.5             2.5.2-15           An interactive high-level object-o
ii  tcl8.4                8.4.19-2           Tcl (the Tool Command Language) v8
ii  vim-common            1:7.1.314-3+lenny2 Vi IMproved - Common files
ii  vim-gui-common        1:7.1.314-3+lenny2 Vi IMproved - Common GUI files
ii  vim-runtime           1:7.1.314-3+lenny2 Vi IMproved - Runtime files

vim-gtk recommends no packages.

Versions of packages vim-gtk suggests:
ii  cscope                15.6-6+lenny1      Interactively examine a C program 
pn  gnome-icon-theme      <none>             (no description available)
ii  ttf-dejavu            2.25-3             Metapackage to pull in ttf-dejavu-
ii  vim-doc               1:7.1.314-3+lenny2 Vi IMproved - HTML documentation

-- no debconf information





More information about the pkg-vim-maintainers mailing list