From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Should Emacs set UBUNTU_MENUPROXY=0 unconditionally? Date: Fri, 19 Aug 2016 12:03:11 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bb04c5828ecd0053a6b7cc4 X-Trace: blaine.gmane.org 1471608218 10320 195.159.176.226 (19 Aug 2016 12:03:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2016 12:03:38 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 19 14:03:34 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1baiWL-0002Mj-RV for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2016 14:03:33 +0200 Original-Received: from localhost ([::1]:57020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baiWJ-0000cp-0w for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2016 08:03:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baiWD-0000cX-2y for emacs-devel@gnu.org; Fri, 19 Aug 2016 08:03:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1baiWB-000407-W4 for emacs-devel@gnu.org; Fri, 19 Aug 2016 08:03:25 -0400 Original-Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:36163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baiWB-0003zu-PX for emacs-devel@gnu.org; Fri, 19 Aug 2016 08:03:23 -0400 Original-Received: by mail-wm0-x22c.google.com with SMTP id q128so31605868wma.1 for ; Fri, 19 Aug 2016 05:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=qinV5fEII6bElOEero1FoMKmVaKgEbSTfDmHHIvioR8=; b=t42afVIOzdTAxPcv4TrIPE2m3KCoAVXhq7sUDBeEq3X51s0pS1YvvmoUxkPQKH2e2I FEz19Q18cBgVUixEeBTGOG9vpO9Z2+IKgoRWgLQ8B8/G6ZU/uldf6/z672qMjXOiAKR3 cfXlPHc6gOJxJXBFaBHW7NNz5cSLNArM+Xv9uHyzGdhSotXJr/Ex1hfTAE19V0Dhhdbu HrBNsWRox8GXhB7osbGPDyNp+2FJCnw37b9WFpawhzDXoDuxcmBM0ERJtYODXGKdIQxR UjI8cu1Pf3p+DICbQENuzISHjgcfJTI7OV/vLZ82QFV/n3Dwkc8Dh8ukfUwsSlPwj4hm HAOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qinV5fEII6bElOEero1FoMKmVaKgEbSTfDmHHIvioR8=; b=JzTqm6rwGJDkZbRuaZImanua0pedPQL708Xa7mgSDFPP+0Qti3+ldJedr++fCLiTty wG7Dly0vXiOLb54VVsjTpxScqHzA1Am9baAU9oCsrf+iqinjOkf7FIr71fW3HobSk83L JcyRVICU1sjxVQOFLf8ad1SVuPQ4qt+b9lrG+g1JBzDdzoAXWjPfl83F5Q+HrhZC91Zp hz2iCs5+aw/P9/fGrTvbj9YWtpj5mBk3w3vpMHcwN5xXLFe+Eq66rw1MbAXXxVIm4DF2 u7N+BvCzT5BuJnn6+S37DgIt9n+/vwMgTDkd86Z4hASfPQsSE5tq/RtDiMgbXvGsOPga 2Pew== X-Gm-Message-State: AEkooutlRgUPjKAb7lN2ose+ATkK5bGptAaK4vnRClvKVSKFZ9n3O2fQ9j1Hf9pwNWMBBDPazq7Z1IPcNJB5Gw== X-Received: by 10.194.75.225 with SMTP id f1mr6106191wjw.104.1471608202512; Fri, 19 Aug 2016 05:03:22 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206666 Archived-At: --047d7bb04c5828ecd0053a6b7cc4 Content-Type: text/plain; charset=UTF-8 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 --047d7bb04c5828ecd0053a6b7cc4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,


*** Warning messages w= hen running in Ubuntu

When you start Emacs you may= see something like this:

(emacs:2286): LIBDBUSMEN= U-GTK-CRITICAL **: watch_submenu: assertion
'GTK_IS_MENU_SHEL= L(menu)' failed

This happens if the Emacs bina= ry has been renamed.=C2=A0 The cause is the Ubuntu
appmenu concep= t.=C2=A0 It tries to track Emacs menus and show them in the top
p= anel, instead of in each Emacs window.=C2=A0 This is not properly implement= ed,
so it fails for Emacs.=C2=A0 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 ea= ch frame by starting emacs like this:
% env UBUNTU_MENUPROXY=3D e= macs


Are there any downsides = of setting UBUNTU_MENUPROXY? It seems that it can only ever fix problems, a= t 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
--047d7bb04c5828ecd0053a6b7cc4--