Menu

#177 Spurious error from menus in inspector

open
None
5
2004-02-16
2004-02-04
No

I'm using boa 0.2.3 with wxPython 2.4 (under Windows
XP). I've just been working through the tutorial, and I
noticed that, in the inspector, if you select the Name
property for a wxMenu (in this case mnuFile), and then
cursor down to the Title property, an error dialog is
popped up saying "There is already an object named
mnuFile". Presumably this only happens after the
menus are initially committed (as they have been in my
case).

Anyway, it looks like you need some sort of check (in
BaseCompanion?) to make sure the name is really
changing before checking to see if there are already
other objects with that name.

Discussion

  • Greg Chapman

    Greg Chapman - 2004-02-05

    Logged In: YES
    user_id=86307

    I just got 0.2.8 from the tgz file and the same error occurs
    there.

     
  • Riaan Booysen

    Riaan Booysen - 2004-02-16
    • assigned_to: nobody --> riaan
     
  • Riaan Booysen

    Riaan Booysen - 2004-02-16

    Logged In: YES
    user_id=438

    There used to be an error like this but it was fixed since 0.2.3.

    I cannot reproduce it in 0.2.8. Are you sure it still happens. If
    so send exact steps please.

    Riaan.

     
  • Greg Chapman

    Greg Chapman - 2004-02-20

    Logged In: YES
    user_id=86307

    Starting from scratch with a new project, I can't seem to
    provoke this error. However, when I load the tutorial project
    (orignally started with boa 0.2.3), I do get the error by 1)
    opening up the Frame Designer for wxFrame1, 2) going to
    the Data page, 3) clicking on mnuFile, 4) clicking on the text
    of the Name property (in the Inspector), and then 5)
    pressing the Down key.

    I'm attaching wxFrame1 and wxApp1 so you can take a look
    and see if there's anything which needs fixing.

     
  • Greg Chapman

    Greg Chapman - 2004-02-20
     
  • Greg Chapman

    Greg Chapman - 2004-02-20

    Logged In: YES
    user_id=86307

    Attaching wxApp1...

     
  • Greg Chapman

    Greg Chapman - 2004-02-20
     

Log in to post a comment.