Dear bug tracker,

The bug appeared after the following commit in indicator-appmenu:
<http://bazaar.launchpad.net/~indicator-applet-developers/indicator-appmenu/trunk.15.04/revision/267>
Attached is a patch against the latest revision that narrows down the issue.

Developers more familiar with lyx or indicator-appmenu might be able to
tell whether the commit exposes an earlier bug of LyX (for instance
forgetting to register some signal), or whether the bug is in indicator-
appmenu (in that case feel free to adapt my patch).

In particular, by looking at the comments in the source, I am not sure
that the path taken to update the menu, before this commit, was at all
intended. Also, symptoms of this bug include the fact that there is a
small delay before the menu is updated, and Scott Kostyshak mentioned
that the callback Menu::updateView() in lyx was in fact called twice.
This hints at a deeper bug either in lyx or indicator-appmenu. It would
be nice to solve all at once because it has made lyx feel sluggish ever
since indicator-appmenu was introduced in Ubuntu.

Thanks!

In the meanwhile, the proper workaround is to run lyx with the command line:
  QT_X11_NO_NATIVE_MENUBAR=1 lyx
or equivalently to adapt /usr/share/applications/lyx.desktop as follows:
  Exec=env QT_X11_NO_NATIVE_MENUBAR=1 lyx %F

** Patch added: "a minimal working solution -- not meant as a final patch"
   
https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/1430059/+attachment/4387983/+files/indicator-appmenu.c.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430059

Title:
  LyX menu is not updated by indicator-appmenu in mode unity-all-menus

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-appmenu/+bug/1430059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to