CustomTreeCtrl label edit bug

Hello,

Seems like a bug since wxPython 2.8.8.1 ansi, on Windows XP SP3.

Steps to reproduce:

  run C:\Program Files\wxPython2.8 Docs and Demos\demo\CustomTreeCtrl.py
  Set checkbox TR_EDIT_LABELS
  Start edit root label
  Enter 111
  Finish edit

Expected root node text: "111"
Have text: "??[]" where [] is square (unprintable character)

ExpandoTextCtrl.GetValue() returns incorrect string after editing
finished.

It is ok with 2.8.7.1-ansi version.

···

--
Best regards,
Oleg mailto:noga@ukr.net

Hi Oleg,

···

On 8/28/08, Oleg Noga wrote:

Seems like a bug since wxPython 2.8.8.1 ansi, on Windows XP SP3.

Steps to reproduce:

run C:\Program Files\wxPython2.8 Docs and Demos\demo\CustomTreeCtrl.py
Set checkbox TR_EDIT_LABELS
Start edit root label
Enter 111
Finish edit

Expected root node text: "111"
Have text: "??" where is square (unprintable character)

ExpandoTextCtrl.GetValue() returns incorrect string after editing
finished.

I get the same behaviour on Windows XP, wxPython 2.8.8.1 ansi.
Actually it looks like something strange is going on in
ExpandoTextCtrl, as its sample behaves the same as CustomTreeCtrl...

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

Andrea Gavana wrote:

Hi Oleg,

Seems like a bug since wxPython 2.8.8.1 ansi, on Windows XP SP3.

Steps to reproduce:

run C:\Program Files\wxPython2.8 Docs and Demos\demo\CustomTreeCtrl.py
Set checkbox TR_EDIT_LABELS
Start edit root label
Enter 111
Finish edit

Expected root node text: "111"
Have text: "??" where is square (unprintable character)

ExpandoTextCtrl.GetValue() returns incorrect string after editing
finished.

I get the same behaviour on Windows XP, wxPython 2.8.8.1 ansi.
Actually it looks like something strange is going on in
ExpandoTextCtrl, as its sample behaves the same as CustomTreeCtrl...

I can't duplicate it in my 2.8.8.2 workspace, so it looks like whatever it was may already be fixed for the next release.

···

On 8/28/08, Oleg Noga wrote:

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

Hello Robin,

wxPython2.8-win32-ansi-2.8.9.1-py25.exe

also has this bug

···

--
Best regards,
Oleg mailto:noga@ukr.net

    ----- Original Message -----
    From: Robin Dunn <robin@alldunn.com>
    To: wxpython-users@lists.wxwidgets.org
    Date: Thursday, August 28, 2008, 9:34:47 PM
    Subject: [wxpython-users] CustomTreeCtrl label edit bug

Andrea Gavana wrote:

Hi Oleg,

On 8/28/08, Oleg Noga wrote:

Seems like a bug since wxPython 2.8.8.1 ansi, on Windows XP SP3.

Steps to reproduce:

run C:\Program Files\wxPython2.8 Docs and Demos\demo\CustomTreeCtrl.py
Set checkbox TR_EDIT_LABELS
Start edit root label
Enter 111
Finish edit

Expected root node text: "111"
Have text: "??" where is square (unprintable character)

ExpandoTextCtrl.GetValue() returns incorrect string after editing
finished.

I get the same behaviour on Windows XP, wxPython 2.8.8.1 ansi.
Actually it looks like something strange is going on in
ExpandoTextCtrl, as its sample behaves the same as CustomTreeCtrl...

I can't duplicate it in my 2.8.8.2 workspace, so it looks like whatever
it was may already be fixed for the next release.

Oleg Noga wrote:

Hello Robin,

wxPython2.8-win32-ansi-2.8.9.1-py25.exe

also has this bug

Have you tried the unicode build?

···

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