drpython does not show a menu bar

Bug #678213 reported by Ethan Glasser-Camp
This bug report is a duplicate of:  Bug #662077: WxWidgets apps don't have menus. Edit Remove
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
drpython (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: drpython

Description: Ubuntu 10.10
Release: 10.10

DrPython used to have a menu bar with typical menus like "File", "Edit", "Help" and so on, but since the update to 10.10 these are no longer present. As far as I can tell, the menu is still defined in the DrPython source code, since it shows up on a Windows XP machine.

I've tried to determine if this is a wxPython bug by running the script shown at:

http://wiki.wxpython.org/Getting%20Started#Adding_a_menu_bar

I believe that this should also show a menu bar, but on my system it does not.

Thank you for your time.

$ dpkg -l drpython python python-wxgtk2.8 python-support
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii drpython 1:3.11.1-2 simple and customizable editor for the Pytho
ii python 2.6.6-2ubuntu1 interactive high-level object-oriented langu
ii python-support 1.0.9ubuntu1 automated rebuilding support for Python modu
ii python-wxgtk2. 2.8.11.0-0ubun wxWidgets Cross-platform C++ GUI toolkit (wx

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: drpython 1:3.11.1-2
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Sun Nov 21 13:15:21 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Release i386 (20100429.4)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: drpython

Revision history for this message
Ethan Glasser-Camp (ethan-glasser-camp) wrote :
Revision history for this message
pauljwells (pauljwells) wrote :

This is a general bug in Ubuntu/Kubuntu

in any wxPython program (my own, the wxPython Demo...) Menu bars do not display, although shortcut keys, that are defined in the same code lines, still work (ctrl-a for an 'about' dialogue for example). Doesn't matter if the program is invoked from terminal or by double-clicking a .py file.

Added weirdness: Menu bars work fine on the Netbook interface.
Extra added weirdness: When running code from within the Eclipse IDE, menu bars DO show!

Very bad bug. Stops developers from using Python/wxPython to develop for Ubuntu. For me it's a 'find another distro' situation.

All my code works OK on OSX and all flavours of Windows...

Revision history for this message
pauljwells (pauljwells) wrote :

There is a fix, add this to the launch script (or ~/.bashrc and run the app from a terminal)

export UBUNTU_MENUPROXY=0

Revision history for this message
richi (ramezquitao) wrote :

Removing the packages appmenu-gtk and indicator-appmenu fixed this for me

Changed in drpython (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.