Never had this problem on my fully patched Ubuntu 16.04 until just recently, when I noticed that the Firefox menus do not display after restoring from a suspend. gnome-terminal and gedit are OK. Iconizing Firefox, then restoring, restores the menus to working condition. Same sorts of errors in ~/.cache/upstart/unity-panel-service.log as seen earlier.
cat ~/.cache/upstart/unity-panel-service.log (unity-panel-service:2121): Indicator-Appmenu-WARNING **: Already have a menu for window ID 65011728 with path /com/canonical/menu/3E00010 from :1.81, unregistering that one (unity-panel-service:2121): Indicator-Appmenu-CRITICAL **: menus_destroyed: assertion 'IS_WINDOW_MENU(wm)' failed (unity-panel-service:2121): Indicator-Appmenu-CRITICAL **: menus_destroyed: assertion 'IS_WINDOW_MENU(wm)' failed (unity-panel-service:2121): LIBDBUSMENU-GLIB-WARNING **: Unable to get menu proxy: Operation was cancelled (unity-panel-service:2121): Indicator-Appmenu-CRITICAL **: window_menu_model_new: assertion 'BAMF_IS_APPLICATION(app)' failed (unity-panel-service:2121): Indicator-Appmenu-CRITICAL **: track_menus: assertion 'IS_WINDOW_MENU(menus)' failed The window 3E00010 is the Firefox window. No unity process has died or been restarted. The bamfdaemon has been running since boot. What recently changed was adding a script to kill compiz returning from a suspend, so the Nvidia driver 375.39 screen artifacts get removed. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to bamf in Ubuntu. https://bugs.launchpad.net/bugs/1532226 Title: No menu bar in gtk apps on fresh boot Status in Release Notes for Ubuntu: Fix Released Status in bamf package in Ubuntu: Fix Released Status in bamf source package in Xenial: Fix Released Bug description: Seen here in fresh 16.04 install using 01/07/16 image. Around 35% of fresh boots or restarts results in no menus in unity panel for most apps, notable exceptions are firefox & thunderbird A log out/in restores functionality. When this occurs there is nothing in any of the ~/.cache/upstart logs of obvious note Test case: fresh install, no changes Do a number of restarts from system settings, using either restart > restart or shutdown > restart, here randomly picked one or the other What happens here: around 35% of the time the login has no menus in the unity panel for most apps. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/1532226/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp