Missing menubars in at least two wxWidgets applications: boinc and truecrypt

Bug #618557 reported by Arthur Rilke
This bug report is a duplicate of:  Bug #662077: WxWidgets apps don't have menus. Edit Remove
58
This bug affects 12 people
Affects Status Importance Assigned to Milestone
wxwidgets2.8 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I've installed Maverick Alpha 3, fully updated as of 2010-08-16.

In both BOINC manager and Truecrypt (two wxWidget applications), the menubar is missing.

Running boincmgr (from package boinc, version 6.10.58+dfsg-2) from the command line gives:

(boincmgr:4450): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(boincmgr:4450): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(boincmgr:4450): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(boincmgr:4450): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(boincmgr:4450): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(boincmgr:4450): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

Running truecrypt (version 7.0) from the command line gives no messages. It also doesn't seem to provide a debug option. But no menubar.

These are the only two wxWidget applications I'm aware of using. I'm quite willing to test others.

Revision history for this message
Arthur Rilke (arthurrilke) wrote :

I've reinstalled Ubuntu from scratch and the problem is now resolved.

Changed in wxwidgets2.8 (Ubuntu):
status: New → Invalid
Revision history for this message
Anton Sudak (anton-sudak) wrote :

Also have this problem. There no menu in aegisub, pcsx2, audacity

Revision history for this message
Svetoslav Stefanov (svetlisashkov) wrote :

I can also confirm this bug with at least 3 different aplications -Phatch, Filezilla, Truecrypt. When this happens, temporary fix is to change the current gtk theme. This restores the menu until application is closed. But on the next run the menubar is hidden again.

Changed in wxwidgets2.8 (Ubuntu):
status: Invalid → New
Revision history for this message
lokster (lokiisyourmaster) wrote :

I also confirm this bug. It was present on 10.04 and it's present on 10.10 too.
It happens on three different computers, with clean install of Ubuntu 10.10 or 10.04.

libwxbase2.8-0: 2.8.11.0-0ubuntu4

Programs affected - filezilla, codeblocks, truecrypt, phatch and more.
I discovered that if I change the GTK theme while the problematic programs are running, the menus appear.
But if I close the program and then open it again, the menus are gone again and I must switch to another GTK theme again.
I tried with 4-5 of the standard GTK themes, and the bug is present with all of them.
Also, when the menus are not visible, if I press F10 the popup menus appear and I can navigate with the arrow keys, but the main menu is still invisible.

Revision history for this message
Calin Crisan (ccrisan) wrote :

I can confirm the bug, and the temporary fix as well - no menubar in filezilla or codeblocks, changing the GTK theme temporarily restores the menubar.

Revision history for this message
Frédéric Maria (frederic-maria) wrote :

I also confirm previous comments with the addition that the menu will appear if the application is run with sudo.

Revision history for this message
Victor (vic-tor) wrote :

I also confirm the bug when using aegisub. The menus can be opened through keyboard shortcuts (like Alt+F), but remain invisible the rest of the time. Changing the GTK theme while the program is opened had no effect for me. Recompiling aegisub myself led to no improvement.
Running the program through sudo however made the menus reappear (thanks Frédéric !).

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
lokster (lokiisyourmaster) wrote :

Unfortunately, this didn't work for me. I tried it from terminal and by adding it to bashrc. It had no effect in both cases.

Changed in wxwidgets2.8 (Ubuntu):
status: New → Confirmed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

@lokster please try to remove the package appmenu-gtk

Revision history for this message
lokster (lokiisyourmaster) wrote :

Yes, removing the appmenu-gtk solved the problem.
Actually, on my current install appmenu-gtk was not installed and the problem didn't exist.
I tried installing it, (just to see if something will happen), and the menus disappeared after logout/login
Then I uninstalled appmenu-gtk, and the menus appeared again.
It seems that the bug is in appmenu-gtk

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :
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.