Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#41 cut'n'paste shouldn't rename nodes (and crash)

Development Version
closed
5
2012-10-24
2003-08-31
D.H.
No

cut and paste should not rename nodes
create a simple app

frame_1
sizer_1
panel_1
sizer_2
panel_2

right click on panel_1, select cut
then paste onto sizer_1
(you have to click on the 4th window, cause
you can't paste from the tree -- missing feature?)

the tree now looks like

frame_1
sizer_1
panel_1
sizer_2_copy
panel_2_copy

now I understand a user could
modify the tree before pasting, and
that may present an issue,
but since it is a "cut", no renaming should be done.

Also, after doing the cut'n'paste, if you
cut panel_1 once more,
wxglade crashes with a memory access violation

I tried this event sequence with
the current cvs version at the time of this posting

Discussion

  • Logged In: YES
    user_id=375945

    i see the rename bug, but not the crash (wxPy 2.4.1.2 on GTK)
    Anyway, I'll look into it ASAP

     
  • Logged In: YES
    user_id=375945

    The renaming should be fixed.

    As for the crash, I'm not able to reproduce it... :-(

     
  • Mick Weiss
    Mick Weiss
    2004-03-19

    Logged In: YES
    user_id=642572

    I also experience this problem on winxp pro. If i have a
    bitmap that i cut - and i paste it somewhere else, wxglade
    crashes (no error), it just quits.

    This is always reproducable.

    If you need any more info, feel free to e-mail me.

    Best Regards,

    • Mick