[wxPython] Some wxGridEditorDemo problems

Hi wxPythonics, hi Robin,

why don't I start a weekly grid report? Should I?

Today I was hunting a really nasty bug, and surely one,
Robin needs to look into (please): run GridEditorDemo.py
as you posted under subject:
  Re: [wxPython] Somw wxGrid problems
Go to column C, edit first field, edit second field, and
first again. Oups. I bet, the edit control appears in the
wrong field, when trying to edit the first field a second
time :-(. I checked with gtk 1.2.5/1.2.8, wxPython 2.2.1/
2.2.2, all under linux ia32 with python 1.5.2, but the
problem remains consistently.

Any ideas once again?

Helpless,
Pete

···

--
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.
_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users

Today I was hunting a really nasty bug, and surely one,
Robin needs to look into (please): run GridEditorDemo.py
as you posted under subject:
Re: [wxPython] Somw wxGrid problems
Go to column C, edit first field, edit second field, and
first again. Oups. I bet, the edit control appears in the
wrong field, when trying to edit the first field a second
time :-(. I checked with gtk 1.2.5/1.2.8, wxPython 2.2.1/
2.2.2, all under linux ia32 with python 1.5.2, but the
problem remains consistently.

I can't duplicate it. I've only tried it with Python 2.0 but I don't think
that would make any difference for something like this.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxPython.org Java give you jitters?
http://wxPROs.com Relax with wxPython!

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users

Robin Dunn wrote:

> Today I was hunting a really nasty bug, and surely one,
> Robin needs to look into (please): run GridEditorDemo.py
> as you posted under subject:
> Re: [wxPython] Somw wxGrid problems
> Go to column C, edit first field, edit second field, and
> first again. Oups. I bet, the edit control appears in the
> wrong field, when trying to edit the first field a second
> time :-(. I checked with gtk 1.2.5/1.2.8, wxPython 2.2.1/
> 2.2.2, all under linux ia32 with python 1.5.2, but the
> problem remains consistently.
>

I can't duplicate it. I've only tried it with Python 2.0 but I don't think
that would make any difference for something like this.

Harri Pasanen <harri.pasanen@free.fr> wrote in another mail 10 Nov 2000:

There is something funny about the CellEditor. For some reason it will
loose the track of what row it should be editing. After a while the editor will
appear on a wrong row, but after edit the correct row's cell gets pasted with
the results.

He also supplied a demo called gridtest.py.

I have the same problem when I use a my own cell editor on a column, as
in the GTK tab of gridtest.py.

     attr = wxGridCellAttr()
     attr.SetEditor(MyCellEditor())
     self.SetColAttr(column, attr)

The first edit in a column (all in the same column), when
MyCellEditor.Create()
is called, I can edit cell 0 (row 0), and the editor pop up in cell 0.
If I then edit say cell 2, and then cell 0 again, the editor pop up in
cell 2 and not in cell 0.
The problem is always with cell 0.

wxGTK ver.2.2.5 and CVS.

···

--
Med vänlig hälsning / Regards

Håkan Olsson, Suntron
suntron@algonet.se

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users