← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1430059] Re: Many options in various menus appear greyed out, inaccessible

 

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
Studio Bugs, which is subscribed to lyx in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1430059

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

Status in The Application Menu:
  Confirmed
Status in lyx package in Ubuntu:
  Confirmed

Bug description:
  Options greyed out:
  - File menu: "Close" through "Version control", plus "Export" and "Print"
  - Edit menu: all options
  - View menu: all but "Messages pane", "Toolbars" and "Fullscreen"
  - Insert menu: all options
  - Navigate menu: all options
  - Document menu: all options
  - Tools menu:  "Spellchecker" and "Statistics"

  Description:	Ubuntu Vivid Vervet (development branch)
  Release:	15.04

  lyx:
    Installed: 2.1.3-1
    Candidate: 2.1.3-1
    Version table:
   *** 2.1.3-1 0
          500 http://br.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: lyx 2.1.3-1
  ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
  Uname: Linux 3.19.0-7-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.16.2-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Mar  9 19:45:01 2015
  ExecutablePath: /usr/bin/lyx
  InstallationDate: Installed on 2015-02-03 (33 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
  SourcePackage: lyx
  UpgradeStatus: Upgraded to vivid on 2015-03-05 (3 days ago)

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


References