Bug#444175: python-gtk2: Treeview text cells containing '0' can't be edited

David Purdy david at radioretail.co.za
Wed Sep 26 15:03:50 UTC 2007


Package: python-gtk2
Version: 2.10.6-1
Severity: normal

I setup a GtkTreeView (through glade-3), loaded it in a Python (2.5)
script, added the 'editable' attribute to all the columns, then populated the
treeview (using a gtk.ListStore(int,int,int) model) and ran the script.

When the script is running and displaying the treeview, I can edit all
of the cells, except for the ones which contain '0'.

By editing I mean when I click on the row, and then click a cell in the
row (or press Enter/space), the cell becomes a text entry area. And by
not being able to edit, I mean that no matter how I try (clicking,
pressing Enter, pressing space), the cell does not become editable.

All non-'0' cells (including other cells in the same column) are
editable.

If I press space or enter while the mouse is over a '0' cell, the '0'
gets a dotted rectangular border (as if it's been focused). But that's
all that happens.

I dist-upgraded to the latest testing/lenny today, so all my packages
should be the latest (testing) versions.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-gtk2 depends on:
ii  libatk1.0-0                  1.18.0-2    The ATK accessibility toolkit
ii  libc6                        2.6.1-1+b1  GNU C Library: Shared libraries
ii  libcairo2                    1.4.10-1    The Cairo 2D vector graphics libra
ii  libfontconfig1               2.4.2-1.2   generic font configuration library
ii  libglib2.0-0                 2.14.0-2    The GLib library of C routines
ii  libgtk2.0-0                  2.10.13-1   The GTK+ graphical user interface
ii  libpango1.0-0                1.18.1-1    Layout and rendering of internatio
ii  libx11-6                     2:1.0.3-7   X11 client-side library
ii  libxcursor1                  1:1.1.9-1   X cursor management library
ii  libxext6                     1:1.0.3-2   X11 miscellaneous extension librar
ii  libxfixes3                   1:4.0.3-2   X11 miscellaneous 'fixes' extensio
ii  libxi6                       2:1.1.3-1   X11 Input extension library
ii  libxinerama1                 1:1.0.2-1   X11 Xinerama extension library
ii  libxrandr2                   2:1.2.2-1   X11 RandR extension library
ii  libxrender1                  1:0.9.3-1   X Rendering Extension client libra
ii  python                       2.4.4-6     An interactive high-level object-o
ii  python-cairo                 1.4.0-2+b1  Python bindings for the Cairo vect
ii  python-gobject               2.12.3-2+b1 Python bindings for the GObject li
ii  python-numeric               24.2-8      Numerical (matrix-oriented) Mathem
ii  python-support               0.6.4       automated rebuilding support for p

Versions of packages python-gtk2 recommends:
ii  python-gtk2-doc               2.10.6-1   Python bindings for the GTK+ widge

-- no debconf information







More information about the pkg-gnome-maintainers mailing list