all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Subject: Should Emacs set UBUNTU_MENUPROXY=0 unconditionally?
Date: Fri, 19 Aug 2016 12:03:11 +0000	[thread overview]
Message-ID: <CAArVCkRMfko8KOx79f6VfesHwF+FfNvC9Vxje0QGcSz+sGrntg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1141 bytes --]

Hi,

etc/PROBLEMS has (
http://git.savannah.gnu.org/cgit/emacs.git/tree/etc/PROBLEMS?h=emacs-25.1-rc1#n1360
):

*** Warning messages when running in Ubuntu

When you start Emacs you may see something like this:

(emacs:2286): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion
'GTK_IS_MENU_SHELL(menu)' failed

This happens if the Emacs binary has been renamed.  The cause is the Ubuntu
appmenu concept.  It tries to track Emacs menus and show them in the top
panel, instead of in each Emacs window.  This is not properly implemented,
so it fails for Emacs.  The order of menus is wrong, and things like
copy/paste
that depend on what state Emacs is in are usually wrong (i.e. paste disabled
even if you should be able to paste, and similar).

You can get back menus on each frame by starting emacs like this:
% env UBUNTU_MENUPROXY= emacs


Are there any downsides of setting UBUNTU_MENUPROXY? It seems that it can
only ever fix problems, at least until the integration into the Unity menu
is fixed. If that is the case, should Emacs set the variable
unconditionally on startup (for its own process, not for subprocesses)?

Thanks,
Phil

[-- Attachment #2: Type: text/html, Size: 1568 bytes --]

             reply	other threads:[~2016-08-19 12:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-19 12:03 Philipp Stephani [this message]
2016-08-19 13:18 ` Should Emacs set UBUNTU_MENUPROXY=0 unconditionally? Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAArVCkRMfko8KOx79f6VfesHwF+FfNvC9Vxje0QGcSz+sGrntg@mail.gmail.com \
    --to=p.stephani2@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.