Bug#550237: vim: mouse clicks produce bogus, if clicked too far to the right.

Andre Naujoks nautsche at gmx.de
Thu Oct 8 15:19:33 UTC 2009


Package: vim
Version: 2:7.2.245-2
Severity: normal

Hi.

I am using quite a large screen (1920x1200) and if I enable mouse support in vim (:set mouse=a, in my case its in ~/.vimrc), I get wierd results, when I try to use the mouse on the far right side of the screen. By wierd I mean, that the clicks are not registred as clicks but as key presses. The keys pressed are mostly harmless, but it inserts text or deletes lines or does things according to which key was just recognized.

To reproduce this, open vim on a wide screen (two screens will do, too) or with a very tiny (narrow) font. And write a long line. On my screen the clicks are no longer correctly registered after the 223rd column of text, so clicking on the 224th or any later column brakes the mouse support.

It has obviously something to do with the 223 columns, because, when I increase the font size, to something, so no 223 columns have room on the screen, the error is no longer there. When i decrease the size, the limit for the mouse moves further to the left.

By the way: I had the sam eproblem on an x86 32Bit machine, but I thought it was a problem with my dual head setup. Now I am using only one screen and get the same problem.

Greetings
  Andre



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

Kernel: Linux 2.6.32-rc2nautsch (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vim depends on:
ii  libacl1                   2.2.48-1       Access control list shared library
ii  libc6                     2.9-27         GNU C Library: Shared libraries
ii  libgpm2                   1.20.4-3.2     General Purpose Mouse - shared lib
ii  libncurses5               5.7+20090803-2 shared libraries for terminal hand
ii  libselinux1               2.0.85-4       SELinux runtime shared libraries
ii  vim-common                2:7.2.245-2    Vi IMproved - Common files
ii  vim-runtime               2:7.2.245-2    Vi IMproved - Runtime files

vim recommends no packages.

Versions of packages vim suggests:
pn  ctags                         <none>     (no description available)
pn  vim-doc                       <none>     (no description available)
pn  vim-scripts                   <none>     (no description available)

-- no debconf information





More information about the pkg-vim-maintainers mailing list