Bug#392553: vim-gtk: incorrect buffer number shown in gvim window titlebar

João Batista joao_mn_batista at hotmail.com
Thu Oct 12 08:32:29 UTC 2006


Package: vim-gtk
Version: 1:7.0-094+1
Severity: minor

Vim/Gvim is not reporting the correct buffer number (when editting multiple
files) in the window's titlebar. It remains as "(1 of n)" (where n is
the number of edited files, which is reported correctly) throughout
switching the buffer number to be edited.

Steps to reproduce the problem:
1) vim input1 input2 input3
   Vim starts up on the "input1" file. The titlebar reads:
	"input1 (~) (1 of 3) - VIM"
2) Switch to the next buffer, either with ":b2" or ":bn"
   The titlebar now reads:
	"input2 (~) ((1) of 3) - VIM"
3) Cicle through the buffers until the first one. The titlebar now
   reads:
	"input1 (~) (1 of 3) - VIM"

Note however, the titlebar is sensible to info from Vim, since the "+"
sign for a changed file appears if changes are done in the file (as it
should happen).

This was observed in the IceWM/unstable window manager.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-kanotix-1
Locale: LANG=C, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages vim-gtk depends on:
ii  libatk1.0-0                  1.12.3-1    The ATK accessibility toolkit
ii  libc6                        2.3.6.ds1-5 GNU C Library: Shared libraries
ii  libcairo2                    1.2.4-1     The Cairo 2D vector graphics libra
ii  libfontconfig1               2.4.1-2     generic font configuration library
ii  libglib2.0-0                 2.12.4-1    The GLib library of C routines
ii  libgpmg1                     1.19.6-22   General Purpose Mouse - shared lib
ii  libgtk2.0-0                  2.8.20-2    The GTK+ graphical user interface 
ii  libice6                      1:1.0.1-2   X11 Inter-Client Exchange library
ii  libncurses5                  5.5-4       Shared libraries for terminal hand
ii  libpango1.0-0                1.14.4-2    Layout and rendering of internatio
ii  libsm6                       1:1.0.1-3   X11 Session Management library
ii  libx11-6                     2:1.0.0-9   X11 client-side library
ii  libxcursor1                  1.1.7-4     X cursor management library
ii  libxext6                     1:1.0.1-2   X11 miscellaneous extension librar
ii  libxfixes3                   1:4.0.1-4   X11 miscellaneous 'fixes' extensio
ii  libxi6                       1:1.0.1-3   X11 Input extension library
ii  libxinerama1                 1:1.0.1-4.1 X11 Xinerama extension library
ii  libxrandr2                   2:1.1.0.2-4 X11 RandR extension library
ii  libxrender1                  1:0.9.1-3   X Rendering Extension client libra
ii  libxt6                       1:1.0.2-2   X11 toolkit intrinsics library
ii  vim-common                   1:7.0-094+1 Vi IMproved - Common files
ii  vim-gui-common               1:7.0-094+1 Vi IMproved - Common GUI files
ii  vim-runtime                  1:7.0-094+1 Vi IMproved - Runtime files

vim-gtk recommends no packages.

-- no debconf information




More information about the pkg-vim-maintainers mailing list