Results 1 to 8 of 8

Thread: wxPython Menu Bar Problem

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Beans
    382

    wxPython Menu Bar Problem

    I think there may be a bug in wxPython on Ubuntu?

    I am writing an application in Python / wxPython. It runs fine on Windows and it runs fine from Eclipse on Ubuntu.

    However, if I run it 'directly', either by double-clicking or from a $python filename.py command in terminal then the menubar is not displayed.

    Everything else works, including the toolbar

    Any ideas?
    Registered Linux User #407403

  2. #2
    Join Date
    Jan 2006
    Beans
    461
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: wxPython Menu Bar Problem

    Quote Originally Posted by pauljwells View Post
    I think there may be a bug in wxPython on Ubuntu?

    I am writing an application in Python / wxPython. It runs fine on Windows and it runs fine from Eclipse on Ubuntu.

    However, if I run it 'directly', either by double-clicking or from a $python filename.py command in terminal then the menubar is not displayed.

    Everything else works, including the toolbar

    Any ideas?
    It is a bug in Ubuntu which uses a different menu system. You need to add this to your launch script:
    Code:
    export UBUNTU_MENUPROXY=0

  3. #3
    Join Date
    Jul 2005
    Beans
    382

    Re: wxPython Menu Bar Problem

    Thank you stani!!

    Would you be the stani of SPE? Big respect!

    Registered Linux User #407403

  4. #4
    Join Date
    Jul 2011
    Beans
    2

    Re: wxPython Menu Bar Problem

    hi
    I've same problem but "export UBUNTU_MENUPROXY=0"
    not solved my problem!
    why?

  5. #5
    Join Date
    Jan 2006
    Beans
    461
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: wxPython Menu Bar Problem

    Quote Originally Posted by pauljwells View Post
    Thank you stani!!

    Would you be the stani of SPE? Big respect!

    Yes, I am.

    Quote Originally Posted by mindg33k View Post
    hi
    I've same problem but "export UBUNTU_MENUPROXY=0"
    not solved my problem!
    why?
    In Natty wx applications show the menu right out of the box.

  6. #6
    Join Date
    Nov 2011
    Beans
    1

    Smile Re: wxPython Menu Bar Problem

    That is the same problem i have.
    Could anyone of you tell me how to solve the problem of the menu out of the box please?

  7. #7
    Join Date
    Jan 2006
    Beans
    461
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: wxPython Menu Bar Problem

    Quote Originally Posted by _ManuelArango View Post
    That is the same problem i have.
    Could anyone of you tell me how to solve the problem of the menu out of the box please?
    This issue is a bug in Unity, not wxPython. It is fixed in Ubuntu Oneiric, so upgrade your ubuntu distro and it will be solved out of the box.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •