Public bug reported: Reporting this following this IRC discussion:
https://irclogs.ubuntu.com/2016/07/15/%23ubuntu-devel.html#t14:00 The basic summary: when I run a two-screen/two-window virtual machine with VirtualBox under Ubuntu 16.04 with Unity and the global app-menu, the menus are empty when the second screen window has the input focus. During start-up I get a number (55) of these messages on the console: Qt WARNING: void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action and a number (7) of these: Qt WARNING: uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu Then another 55 of the first and two of the second. Looking at the interesting parts of the VirtualBox source code, I see that the menu items for the first window (menu displayed correctly) and the second (not displayed) share the same QAction objects. A very quick guess is that this might be triggering the condition in DBusMenuExporterPrivate::addMenu(). ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: libdbusmenu-qt5 0.9.3+16.04.20160218-0ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10 Uname: Linux 4.4.0-24-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 CurrentDesktop: Unity Date: Mon Jul 18 15:44:00 2016 Dependencies: gcc-5-base 5.4.0-6ubuntu1~16.04.1 gcc-6-base 6.0.1-0ubuntu1 libc6 2.23-0ubuntu3 libgcc1 1:6.0.1-0ubuntu1 libstdc++6 5.4.0-6ubuntu1~16.04.1 InstallationDate: Installed on 2016-05-31 (48 days ago) InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021) SourcePackage: libdbusmenu-qt UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: libdbusmenu-qt (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1604009 Title: Empty menus in global app-menu in VirtualBox second window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libdbusmenu-qt/+bug/1604009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs