Demo Bug?

I have wxpython 2.2.9 installed on a debian woody system. Running the
custom table demo, if I size the frame so that the bottom, new-data row
is partly covered, select a cell in that row and start typing, the
program crashes with a segmentation fault. If I add an
EVT_GRID_SELECT_CELL event and insert the method, 'MakeCellVisible()'
into the appropriate function, the crash does not occur when a
data-containing row is partly hidden; a scrollbar appears, and the row
becomes entirely visible. But this does not happens with that bottom
row: the program still crashes when it is not completely visible.

If I size the frame so that the bottom row is entirely visible, insert
data into it and then advance to a new bottom row, the program does not
crash if the new bottom row is partly hidden. I cannot enter data, but
the program remains viable.

Is this behavior unique to my system? If more widespread, has it been
fixed? If not, I am willing to file a bug report but do not know the
procedure.

bp

···

--
Bob Parnes
rparnes@megalink.net

Bob Parnes wrote:

I have wxpython 2.2.9 installed on a debian woody system. Running the
custom table demo, if I size the frame so that the bottom, new-data row
is partly covered, select a cell in that row and start typing, the
program crashes with a segmentation fault. If I add an
EVT_GRID_SELECT_CELL event and insert the method, 'MakeCellVisible()'
into the appropriate function, the crash does not occur when a data-containing row is partly hidden; a scrollbar appears, and the row
becomes entirely visible. But this does not happens with that bottom row: the program still crashes when it is not completely visible.

If I size the frame so that the bottom row is entirely visible, insert
data into it and then advance to a new bottom row, the program does not
crash if the new bottom row is partly hidden. I cannot enter data, but
the program remains viable.

Is this behavior unique to my system? If more widespread, has it been
fixed?

It was fixed sometime during the 2.3 series.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!