Bug#268632: libgtk2.0-0: Long directory names break file selection dialog

Thomas Themel Thomas Themel <themel@iwoars.net>, 268632@bugs.debian.org
Sat, 28 Aug 2004 15:28:48 +0200


Package: libgtk2.0-0
Version: 2.4.9-1
Severity: normal

The new Gtk2 file chooser can not change to directories with names
that don't fit in the window.

This leads to a variety of problems, depending on the length of the file
name (these numbers are for a 750x550 pixel file chooser window, using
ethereal, but the problem was initially detected using also happens for
beep-media-player):

50 character file name: ("0123456789" x 5)
Weird behaviour of the path components buttons at the top - in this one
test case, it triggers an immediate segfault, but I've seen other
circumstances where it just starts redrawing the button list a lot
before eventually segfaulting.

60 character file name: ("0123456789" x 6) 
The application apparently loops indefinitely, alternately enlarging and
shrinking the file list. It seems that this behaviour is also what you
get for all longer file names (tested up to 255 character file name).

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-rc3
Locale: LANG=C, LC_CTYPE=C

Versions of packages libgtk2.0-0 depends on:
ii  libatk1.0-0               1.6.1-3        The ATK accessibility toolkit
ii  libc6                     2.3.2.ds1-16   GNU C Library: Shared libraries an
ii  libfontconfig1            2.2.3-1        generic font configuration library
ii  libfreetype6              2.1.7-2.2      FreeType 2 font engine, shared lib
ii  libglib2.0-0              2.4.6-2        The GLib library of C routines
ii  libgtk2.0-0               2.4.9-1        The GTK+ graphical user interface 
ii  libgtk2.0-bin             2.4.9-1        The programs for the GTK+ graphica
ii  libgtk2.0-common          2.4.9-1        Common files for the GTK+ graphica
ii  libjpeg62                 6b-9           The Independent JPEG Group's JPEG 
ii  libpango1.0-0             1.4.1-2        Layout and rendering of internatio
ii  libpng12-0                1.2.5.0-7      PNG library - runtime
ii  libtiff4                  3.6.1-1.1      Tag Image File Format library
ii  libx11-6                  4.3.0.dfsg.1-6 X Window System protocol client li
ii  libxcursor1               1.1.3-1        X cursor management library
ii  libxext6                  4.3.0.dfsg.1-6 X Window System miscellaneous exte
ii  libxft2                   2.1.2-6        FreeType-based font drawing librar
ii  libxi6                    4.3.0.dfsg.1-6 X Window System Input extension li
ii  libxrandr2                4.3.0.dfsg.1-6 X Window System Resize, Rotate and
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  xlibs                     4.3.0.dfsg.1-6 X Window System client libraries m
ii  zlib1g                    1:1.2.1.1-7    compression library - runtime

-- no debconf information