The patch fixes double menus for KDE apps for me (Quassel, Konsole).

I tried VirtualBox, and it looks like menu doesn't get exported at all
(I only get local menu, not the global one).

Which exactly change did you apply? Was it removing the #if and #endif
lines in QMenuBar::setVisible code (but not the code between them)?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libdbusmenu-qt in Ubuntu.
https://bugs.launchpad.net/bugs/1604009

Title:
  Empty menus in global app-menu in VirtualBox second window

Status in libdbusmenu-qt package in Ubuntu:
  New

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libdbusmenu-qt/+bug/1604009/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to