GNU bug report logs - #4540
[macOS 10.6][VNC (Applet Remote)] Menu sub-items are not visible

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: David Reitter <david.reitter@HIDDEN>; dated Wed, 23 Sep 2009 18:35:05 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Changed bug title to '[macOS 10.6][VNC (Applet Remote)] Menu sub-items are not visible' from 'Where are the menu sub-items ' Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.
bug reassigned from package 'ns,emacs' to 'emacs,ns'. Request was from Glenn Morris <rgm@HIDDEN> to control@HIDDEN. Full text available.

Message received at 4540@HIDDEN:


Received: (at 4540) by emacsbugs.donarmstrong.com; 23 Sep 2009 18:54:03 +0000
From david.reitter@HIDDEN Wed Sep 23 11:54:03 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-0.8 required=4.0 tests=AWL autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8NIs2nX022047
	for <4540@HIDDEN>; Wed, 23 Sep 2009 11:54:03 -0700
Received: by qw-out-2122.google.com with SMTP id 8so157306qwh.13
        for <4540@HIDDEN>; Wed, 23 Sep 2009 11:54:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:subject:mime-version
         :content-type:from:in-reply-to:date:cc:content-transfer-encoding
         :message-id:references:to:x-mailer;
        bh=IpDIHg8SvzsXUencDEQBjU+cwR2JTuG6Yc8N1S1I/Pw=;
        b=u+rZ0PSyFUzrZ1v69cZABdyzW1G1pC1e1RFuESijTG7mz/UxvsJ6pbofuTl6f7+QMB
         slZGx9u8Lob0I2XKfUjylzVuz6qutRTd2SKBvWVkwD46ApRVQObgabCRulEs80KAZmew
         Zr5XWTF3bJVzejY8XwnWhFRc/e1qJHmSNn5o4=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=subject:mime-version:content-type:from:in-reply-to:date:cc
         :content-transfer-encoding:message-id:references:to:x-mailer;
        b=k5kRqVulqZR8+q60L+eyAbrMNNVMZRrqrVf6idfOmYC3uIu5f8Hw4oeHN22nZWljuS
         ilJb5e8YIpzOVyYNEniERMu0R3EjrVj4FqvicdfErmuUfXQGGNvnQtk6V5BCEfVRvN8u
         g2IP1LJFFHQg4cxFW6Llqi7SjR2u0PUmTcn7Q=
Received: by 10.224.61.148 with SMTP id t20mr2310569qah.253.1253732041690;
        Wed, 23 Sep 2009 11:54:01 -0700 (PDT)
Received: from scarlett.psy.cmu.edu (SCARLETT.PSY.CMU.EDU [128.2.249.106])
        by mx.google.com with ESMTPS id 7sm90972qwf.47.2009.09.23.11.54.00
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Wed, 23 Sep 2009 11:54:00 -0700 (PDT)
Subject: Re: Where are the menu sub-items?
Mime-Version: 1.0 (Apple Message framework v1076)
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
From: David Reitter <david.reitter@HIDDEN>
In-Reply-To: <78963EF6-992A-49BE-A729-39485A2238EE@HIDDEN>
Date: Wed, 23 Sep 2009 14:53:58 -0400
Cc: 4540 <at> debbugs.gnu.org
Content-Transfer-Encoding: 7bit
Message-Id: <51EBFFEA-1EA9-41E3-BAD8-F24983AD500C@HIDDEN>
References: <4A9D2BEC.1080008@HIDDEN> <D07CF367-8A3F-4FE9-9C77-49DF814FDCCC@HIDDEN> <F9548C12-B7C5-4D5A-B57A-F7C3B850183B@HIDDEN> <6098F7F6-5B4E-44EC-A9B7-908C876411F3@HIDDEN> <87DB17D2-B8BD-45B2-BE96-8B9B245D5355@HIDDEN> <78963EF6-992A-49BE-A729-39485A2238EE@HIDDEN>
To: Adrian Robert <adrian.b.robert@HIDDEN>
X-Mailer: Apple Mail (2.1076)

On Sep 22, 2009, at 6:35 PM, Adrian Robert wrote:

>
> On Sep 22, 2009, at 5:24 PM, David Reitter wrote:
>
>> And one more bit of information:  the missing menu issue only  
>> occurs when I run Emacs in VNC (Apple's VNC).  When I run it  
>> locally, 10.5.8 poses no problems.
>
> You could try commenting out the "|| handling_signal != 0" line 583  
> in nsmenu.c.  That's the simplest thing I can think of that could  
> lead to all menus having empty contents.  If that is the problem,  
> the solution is to merge in the menu event handling code from  
> Yamamoto Mitsuharu's "Carbon-AppKit" emacs.  I've not tackled this  
> due to it being a big, messy merge, and uncertainty about the  
> frequency of problems without it.

Just ran this in the debugger real quick.

handling_signal is 0 as it should be.

I looked at a call to ns_update_menubar with deep_p ==0; it seems that  
it's thinking that there was no change so it won't update the menu.
It does it once, in the beginning, though, where it seems to correctly  
add the menus (but not the submenus).

Where does it actually do the submenus when the time comes?

- D



Acknowledgement sent to David Reitter <david.reitter@HIDDEN>:
Extra info received and forwarded to list. Copy sent to owner@HIDDEN. Full text available.
Information forwarded to bug-submit-list@HIDDEN, owner@HIDDEN:
bug#4540; Package ns,emacs. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 23 Sep 2009 18:29:15 +0000
From david.reitter@HIDDEN Wed Sep 23 11:29:15 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-3.7 required=4.0 tests=AWL,HAS_PACKAGE autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8NITE3U018113
	for <submit@HIDDEN>; Wed, 23 Sep 2009 11:29:15 -0700
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MqWaX-0006Wx-QX
	for bug-gnu-emacs@HIDDEN; Wed, 23 Sep 2009 14:29:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MqWaT-0006Lh-2L
	for bug-gnu-emacs@HIDDEN; Wed, 23 Sep 2009 14:29:13 -0400
Received: from [199.232.76.173] (port=57898 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1MqWaS-0006LN-Qq
	for bug-gnu-emacs@HIDDEN; Wed, 23 Sep 2009 14:29:08 -0400
Received: from qw-out-1920.google.com ([74.125.92.144]:4734)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <david.reitter@HIDDEN>)
	id 1MqWaS-0002xr-HR
	for bug-gnu-emacs@HIDDEN; Wed, 23 Sep 2009 14:29:08 -0400
Received: by qw-out-1920.google.com with SMTP id 5so501960qwc.24
        for <bug-gnu-emacs@HIDDEN>; Wed, 23 Sep 2009 11:29:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:from:content-type
         :content-transfer-encoding:subject:date:references:to:message-id
         :mime-version:x-mailer;
        bh=1a4m3ojxblmvAR9dzZHTA6qqonJtyCnQOTtX7GADjLg=;
        b=bzQNBPJkHch7P6s31dYSXeOlko6kwrzboDWoOo2I0oCLq9tcxdEWiyz32kuN+SiWYI
         IyreNfpVpYTjOPLmRaRjCzKo6teiy2fBCXdYlieFol5fdSWITpp58qLQP1LbnvJcE/w8
         sK0yqkBDrVKyI5/uG/XeNg1vHDe8xn7O9mz1w=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=from:content-type:content-transfer-encoding:subject:date:references
         :to:message-id:mime-version:x-mailer;
        b=CzSHewObK7/eHGpOoW8SCPGGtmrAKsuo3TlyrMupICeWdkl1w+kfIdsa48ox9FQ2KM
         XJ7YV4X10D6bTIxk5N2wzXdzoQMCXtjTleTML7fksTF8ARK6vklbPGX06k95QBq6KurB
         tviDF+ua291DNDZ45jvRtyq1ZbY/pvDw0eGeA=
Received: by 10.224.44.40 with SMTP id y40mr2280552qae.318.1253730547902;
        Wed, 23 Sep 2009 11:29:07 -0700 (PDT)
Received: from scarlett.psy.cmu.edu (SCARLETT.PSY.CMU.EDU [128.2.249.106])
        by mx.google.com with ESMTPS id 8sm38435qwj.13.2009.09.23.11.29.06
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Wed, 23 Sep 2009 11:29:07 -0700 (PDT)
From: David Reitter <david.reitter@HIDDEN>
Content-Type: text/plain; charset=iso-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Subject: Where are the menu sub-items 
Date: Wed, 23 Sep 2009 14:29:04 -0400
References: <4A9D2BEC.1080008@HIDDEN>
To: Bug-Gnu-Emacs <bug-gnu-emacs@HIDDEN>
Message-Id: <EC0DCE6B-EC5C-4BBE-8536-062C0B636BAD@HIDDEN>
Mime-Version: 1.0 (Apple Message framework v1076)
X-Mailer: Apple Mail (2.1076)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)

package:ns,emacs

This is an Emacs problem;
I can reproduce only over VNC (Apple Remote); running Emacs on the =20
remote side.

Menus don't show up, except the applications menu.

OP reports that problem has also occurred on 10.6, and, for him, =20
without VNC.



Begin forwarded message:

> From: Jean-Philippe SCHILLE <jp.schille@HIDDEN>
> Date: September 1, 2009 10:13:00 AM EDT
> To: aquamacs-devel@HIDDEN
> Subject: [Aquamacs-devel] Where are the menu sub-items in Aquamacs =20
> version 2.
> Reply-To: Aquamacs Developers <aquamacs-devel@HIDDEN>
>
> Hello,
>
> For the 2.0 branch versions, I cannot see any sub-items in the menu =20=

> bar.
> The Aquamacs item is fine as all expected sub-items (About, =20
> Check,Services...) are visible but the menu items File Edit Options =20=

> Tools Window Help do not show any sub-item when I click on them.
>
> Everything is fine with Aquamacs Emacs 1.8 though.
>
> I am running OS X 10.5.8 and I am using the latest X11 version 2.4.0 =20=

> from http://xquartz.macosforge.org/trac/wiki/Releases (I wonder if =20
> this is the culprit?)
>
> Thanks in advance for your help and advice.
>
> Regards,
>
> Jean-Philippe Schill=E9
>





Acknowledgement sent to David Reitter <david.reitter@HIDDEN>:
New bug report received and forwarded. Copy sent to owner@HIDDEN. Full text available.
Report forwarded to bug-submit-list@HIDDEN, owner@HIDDEN:
bug#4540; Package ns,emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 3 Jun 2017 16:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.