GNU bug report logs - #31371
26.1; [macOS] Menu-bar stops working after search

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: Nick Helm <nick@HIDDEN>; dated Sat, 5 May 2018 14:17:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Changed bug title to '26.1; [macOS] Menu-bar stops working after search' from '26.1; Menu-bar stops working after search' Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 31371 <at> debbugs.gnu.org:


Received: (at 31371) by debbugs.gnu.org; 19 May 2018 04:26:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 19 00:26:25 2018
Received: from localhost ([127.0.0.1]:40359 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fJtRp-0007tx-7b
	for submit <at> debbugs.gnu.org; Sat, 19 May 2018 00:26:25 -0400
Received: from mail-me1aus01on0112.outbound.protection.outlook.com
 ([104.47.116.112]:17968 helo=AUS01-ME1-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nick@HIDDEN>) id 1fJtRm-0007tj-Uz
 for 31371 <at> debbugs.gnu.org; Sat, 19 May 2018 00:26:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tenpointcomms.onmicrosoft.com; s=selector1-tenpoint-co-nz;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=hWOgf1WnVX49xTfKT/0dszwcLGeVxUlvwDJFe5HYYlM=;
 b=BtUT0LwkMqPvr9QdlCQdvI1Xfdo44U2a+fBGJO7u4D0qiO7FGlRaG4oD403RsepZLA9e3WjlzNvNRPDZBi0hs4GllrqLv9D/F/OzrX3ZqpQfetkmBTGj89Y3IsUh88IRYUI2ERNIP9kEO3aFairFF1/SsKpe3161oAD1JVtXEf0=
Authentication-Results: spf=none (sender IP is )
 smtp.mailfrom=nick@HIDDEN; 
Received: from jupiter.local (125.239.171.29) by
 SY2PR01MB2908.ausprd01.prod.outlook.com (2603:10c6:1:1e::21) with Microsoft
 SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.776.11; Sat, 19
 May 2018 04:26:14 +0000
From: Nick Helm <nick@HIDDEN>
To: George Plymale II <georgedp@HIDDEN>
Subject: Re: bug#31371: 26.1; Menu-bar stops working after search
References: <m2a7tep4rm.fsf@HIDDEN>
 <m0a7sw8x8s.fsf@HIDDEN>
Date: Sat, 19 May 2018 16:26:05 +1200
In-Reply-To: <m0a7sw8x8s.fsf@HIDDEN> (George
 Plymale, II's message of "Fri, 18 May 2018 17:33:39 -0400")
Message-ID: <m2zi0wi84i.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin)
MIME-Version: 1.0
Content-Type: text/plain
X-Originating-IP: [125.239.171.29]
X-ClientProxiedBy: SY2PR01CA0016.ausprd01.prod.outlook.com
 (2603:10c6:1:14::28) To SY2PR01MB2908.ausprd01.prod.outlook.com
 (2603:10c6:1:1e::21)
X-MS-PublicTrafficType: Email
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0;
 RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020);
 SRVR:SY2PR01MB2908; 
X-Microsoft-Exchange-Diagnostics: 1; SY2PR01MB2908;
 3:Qy9zJnWkwuJpl2O5yzXO5+kUPsmNKqcfFOAwwHvl1/lVL9oqiTH8G2TCuCvF+tPe1zV9ZH+cvbPWrZnp5vLRDAclI5ty7zdAaRQXOpC2lgvxEcSZFWkfJeDNMIgmbZ/l3zgSCvPP8Ob7LnD31SzBvK9KrUzkvKxdIg9DT41cxWb28xzA6OkWbia6xxholi3KwiwqjpuouhlkcWBrM9d6jdI7DYWlFoCmmMfxPqEqkt3iav5OX1TJ6VQQPCswWTua;
 25:hUTszb1n7nMj3L96Od0wjAswlC1kyPs83u4OKGz+rHSqLhqz9/KL12D/IPjUI5OWKjUlpiMHAEYXVKJgT1cEQvA4uo6czFq9vbQIoSBFCiC5/4LTLyUbieBZD7A0WDSqqcBXEJ7i1JV6LQchUpzyWpMHH97jM+PhBdR1DeExoZT63iySvFU6cGMfOcDP03C73OnsLvAwmVN9lxmnFs1yLM8JCk/+rAFpPNcYSeIftQlo9G7vtR11reWjYift+Fk5h/Bf6myfPb8naP6IvlCBlbMBwJeGAkUkwqDH96fPQ2mRiQEq6BWQwx6eLD4/XxUhJbPe5obdrsFtTYZ9BO3mqQ==;
 31:VoVF0lFEnewqOb46fGf4eXiZStOPEX3FVklDeTTnkuTrgfBblA1o3I5mVoigb4i50WT5nz4qL47t/sYlHIuC95epEWlLWbmln+C4gMmgfUOMcZRsLaNbCMvu0Su0QIJVq/mgJeluH6BJI3kbrmml7M5AYinqGms6Vns7z2Iz9nvyfMzeljS062Gy7q1vHCpslAmVOqL2zVmGOTmkJvndLlwBgOS/OoycUiEFsji6yco=
X-MS-TrafficTypeDiagnostic: SY2PR01MB2908:
X-Microsoft-Antispam-PRVS: <SY2PR01MB290857BE6A72CF0EF5F1A3FAFE970@HIDDEN>
X-Exchange-Antispam-Report-Test: UriScan:;
X-MS-Exchange-SenderADCheck: 1
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
 RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231254)(944501410)(52105095)(93006095)(93001095)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(2016111802025)(6043046)(6072148)(201708071742011)(7699016);
 SRVR:SY2PR01MB2908; BCL:0; PCL:0; RULEID:; SRVR:SY2PR01MB2908; 
X-Microsoft-Exchange-Diagnostics: 1; SY2PR01MB2908;
 4:3NE0XsxM64uyhsCaiojYIO2OKqQ3p4KpGvl+S9lQYqc6Gox0eCG5UVXPY89aPLni8xQhqoIGubk+SGaK3kTuTORmNeLHJnj+ebslxihuKDTks2OeJoMx4htnB3vh1oadk9FIMyPQ7AyMudLFPXex1LjIB/nyEkeawp7iTFENpJi+SpaULFQFeb0eFMm146dVRd+/FQa5XUudUJI9M3ekSWz39nE5GJHJKvKttp36v44q/WbuK0D1c3WIQjiNNUxJMEXtVKuodxg5lwe4Sg9g+w==
X-Forefront-PRVS: 0677FFABBF
X-Forefront-Antispam-Report: SFV:NSPM;
 SFS:(10019020)(366004)(39380400002)(346002)(39830400003)(396003)(376002)(189003)(199004)(6506007)(386003)(26005)(48376002)(6116002)(3846002)(8676002)(58126008)(186003)(16526019)(5660300001)(50466002)(6246003)(47776003)(66066001)(11346002)(2906002)(478600001)(476003)(486006)(2616005)(956004)(36756003)(81166006)(25786009)(81156014)(53936002)(105586002)(86362001)(4326008)(106356001)(6666003)(6486002)(8936002)(68736007)(97736004)(446003)(51416003)(7736002)(6512007)(316002)(229853002)(52116002)(76176011)(6916009)(305945005)(74482002)(16586007);
 DIR:OUT; SFP:1102; SCL:1; SRVR:SY2PR01MB2908; H:jupiter.local; FPR:; SPF:None;
 LANG:en; PTR:InfoNoRecords; MX:3; A:1; 
Received-SPF: None (protection.outlook.com: tenpoint.co.nz does not designate
 permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SY2PR01MB2908;
 23:XE3NLe0ivQxPluh//9yUzM3KwYRGactZCOMzRuAkO?=
 =?us-ascii?Q?ujJBZMAmEVJGWPrQJU/QryuxognJo+AN2iNMhR7ZG8iwHRVFbb2o5pEeBroE?=
 =?us-ascii?Q?cCtc4RhJ5e6l8WF0Bw8S2APOud0n3+RtN2SNlc55lxM2t7KS6TqgDg4oDGuL?=
 =?us-ascii?Q?gZOBcKihSDHzgr7C6tZF+MGAczdTTt/afPV62kz2FhMMuLOQJc4ZSywzGDRZ?=
 =?us-asc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UYmyt6UuXHM9vuXVeZDuOuHQ3dlrxWD9IPSpEZUgKhh2D7Rkr3I+058rf7M=;
 24:giWWJ0vdBTuY6GP9b4yJDopXAtUpMkW6pY3pD26ZtKJkrpA13+7FT5JoF3XOy+GbIdHkeM+6S0Qmlk9sqTEyTnx0fGAyZYRKeqMk9qV9F5w=
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-Microsoft-Exchange-Diagnostics: 1; SY2PR01MB2908;
 7:IoUVrUOV/0HkBElr5T6To4cgvDiWYQSO1vWXbfGCmW8Sst7NGZ2LqPjuqOE6FkaKEStk80D/bUYsQwsgtRRN2Dz5mw3z0p4O9K5BoRRijP/6tRDcFjwIebB5ohkZwIn28Rd3hbyLO6lbg3FisSRV8c0K5w97lxoVBV2TBQJTXBG6OTFY7GAxnRuubLwf2+45XYZBbcsL1+Q1dyePw+frHgfYkg+ewPJOn064T4eh6YrJSprfHLuT90GjufR5+1V8
X-MS-Office365-Filtering-Correlation-Id: f355d4d2-3c4e-41d5-ae10-08d5bd40a887
X-OriginatorOrg: tenpoint.co.nz
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2018 04:26:14.2845 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: f355d4d2-3c4e-41d5-ae10-08d5bd40a887
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: ed686f26-19e8-407b-91d0-7364c1c6f5cf
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SY2PR01MB2908
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 31371
Cc: alan@HIDDEN, 31371 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Sat, 19 May 2018 at 09:33:39 +1200, George Plymale II wrote:

> I want to point out that this bug does not occur at all on
> the Emacs Mac Port by Mitsuharu Yamamoto.

Thanks. Yes, you're right, the mac-port doesn't suffer from this
particular issue. Although it handles menu-bar events slightly
differently, it takes the same general approach to the problem as we do
on NS.

BTW, has anyone had a chance to try my patch for this bug?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31371; Package emacs. Full text available.

Message received at 31371 <at> debbugs.gnu.org:


Received: (at 31371) by debbugs.gnu.org; 18 May 2018 21:33:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 18 17:33:49 2018
Received: from localhost ([127.0.0.1]:40253 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fJn0X-0007Al-46
	for submit <at> debbugs.gnu.org; Fri, 18 May 2018 17:33:49 -0400
Received: from mail-io0-f175.google.com ([209.85.223.175]:43986)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <georgedp@HIDDEN>) id 1fJn0U-0007AZ-LS
 for 31371 <at> debbugs.gnu.org; Fri, 18 May 2018 17:33:47 -0400
Received: by mail-io0-f175.google.com with SMTP id t23-v6so7860392ioc.10
 for <31371 <at> debbugs.gnu.org>; Fri, 18 May 2018 14:33:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=orbitalimpact.com; s=google;
 h=from:to:cc:subject:in-reply-to:date:message-id:mime-version;
 bh=5rb77OUHrGmX279zpOo7Da5gHhjAMixZZlEO9akIDgU=;
 b=Vh8Su8RO3V/rT4c2YGFj50AVQjo1UUgjBpgUcx+Iv9y50aQHZPkUKYJ5vEvCttNGXj
 6/a3pBLnTt8XAuohrRW8gFfpDfPtDl3/YaLvX1OL5yJsiZAbzmurIZPJaVF3xDj1BrgH
 sfDnOGgJCNrnb8ZP9OWYBE0d1lSfqsCjK/UbI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id
 :mime-version;
 bh=5rb77OUHrGmX279zpOo7Da5gHhjAMixZZlEO9akIDgU=;
 b=kFg3ynN/dDkcIASSnLu/pUN3rEhN+1yjsCeNfq1PA7Oop5/S07uu7+8cyNrEoT6wcd
 cuUdfno2sXkvGNt12SrL+2FjwUsrOqhQVeIKZ+ML3ghFXrcKhXNkRlxZjJz58MCnf3OB
 ao2eATmWPCCz7ds0tB0u/yp5WTYOYAbNRHQFKLipzpepiFoihvCjuQAKgbjLXkvXmGV9
 c7dM9sPrlsoH+Y9Hm88xhB+bfrrW07KCYMRlpxt3flfUCXDlWa2IUzsv5uI1Gh5Ttx1h
 9oR7Fh2VyqzmCJQi2oIzF0zLFStQja0zE/1PqoCM4QqqQ7UrfIm9JgYHz9DfnMMd+Iue
 w3cg==
X-Gm-Message-State: ALKqPwe56ZAZpBylirw7XA/CEI65o1JYsw2fCy6Nz4Rd8qanZVRtH4MO
 SGIjP/opNy7w7YFXqwaUouES8Q==
X-Google-Smtp-Source: AB8JxZqUAqL4DbU5gC9/Zh7fHK7BCB2CeW3CBq+cZifRQCA1i/IKrTlmOVz3Fwe2sA3wNXD8dvQRhg==
X-Received: by 2002:a6b:37c2:: with SMTP id
 e185-v6mr11749517ioa.231.1526679221214; 
 Fri, 18 May 2018 14:33:41 -0700 (PDT)
Received: from lehi.dev.orbitalimpact.com
 (ip-6-39-52-196.chicago.us.northamericancoax.com. [196.52.39.6])
 by smtp.gmail.com with ESMTPSA id i11-v6sm5610938itb.38.2018.05.18.14.33.40
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Fri, 18 May 2018 14:33:40 -0700 (PDT)
From: George Plymale II <georgedp@HIDDEN>
To: Nick Helm <nick@HIDDEN>
Subject: Re: bug#31371: 26.1; Menu-bar stops working after search
In-Reply-To: <m2a7tep4rm.fsf@HIDDEN> (message from Nick Helm on Sun,
 06 May 2018 02:15:57 +1200)
Date: Fri, 18 May 2018 17:33:39 -0400
Message-ID: <m0a7sw8x8s.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.6 (/)
X-Debbugs-Envelope-To: 31371
Cc: alan@HIDDEN, 31371 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.6 (-)

Hi,

Just passing by since I saw this bug mentioned by Alan Third on
emacs-devel. I want to point out that this bug does not occur at all on
the Emacs Mac Port by Mitsuharu Yamamoto. I've described it in more
detail here: https://lists.gnu.org/archive/html/emacs-devel/2018-05/msg00404.html

Thanks,
- George Plymale II




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31371; Package emacs. Full text available.

Message received at 31371 <at> debbugs.gnu.org:


Received: (at 31371) by debbugs.gnu.org; 13 May 2018 10:09:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 13 06:09:24 2018
Received: from localhost ([127.0.0.1]:60198 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fHnwS-0006jl-LD
	for submit <at> debbugs.gnu.org; Sun, 13 May 2018 06:09:24 -0400
Received: from mail-sy3aus01on0113.outbound.protection.outlook.com
 ([104.47.117.113]:40822 helo=AUS01-SY3-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nick@HIDDEN>) id 1fHnwQ-0006jX-3a
 for 31371 <at> debbugs.gnu.org; Sun, 13 May 2018 06:09:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tenpointcomms.onmicrosoft.com; s=selector1-tenpoint-co-nz;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
 bh=jaZiEBY7TReM5SZXWDUtZqwXa1VKRw9aaBzJ8xDpmkI=;
 b=RZROU9QRxwX1mD+UK1oMFzqrBLiDRXGq5Gg9afyUDLDwXoHyJU6c9V0jgX2HOA5o7JEYnWXuQ5fv8XPn8pfRNg/YDtsWVTuvuzwr0OtqF3u+9X50+3xdJqu+kBuUMv/kNilTy0H16l6XqPMyX+4Sk4OjMhQfns2O175loCTYhCI=
Authentication-Results: spf=none (sender IP is )
 smtp.mailfrom=nick@HIDDEN; 
Received: from jupiter.local (125.239.171.29) by
 ME2PR01MB2898.ausprd01.prod.outlook.com (2603:10c6:201:22::15) with Microsoft
 SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.755.16; Sun, 13
 May 2018 10:09:11 +0000
From: Nick Helm <nick@HIDDEN>
To: Alan Third <alan@HIDDEN>
Subject: Re: bug#31371: 26.1; Menu-bar stops working after search
References: <m2a7tep4rm.fsf@HIDDEN>
 <20180506101411.GA3327@HIDDEN>
 <m2lgcwmb9r.fsf@HIDDEN>
 <20180508214024.GB13768@HIDDEN>
Date: Sun, 13 May 2018 22:09:06 +1200
In-Reply-To: <20180508214024.GB13768@HIDDEN> (Alan Third's
 message of "Tue, 8 May 2018 22:40:24 +0100")
Message-ID: <m2o9hjn9z1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Originating-IP: [125.239.171.29]
X-ClientProxiedBy: SY3PR01CA0121.ausprd01.prod.outlook.com
 (2603:10c6:0:1a::30) To ME2PR01MB2898.ausprd01.prod.outlook.com
 (2603:10c6:201:22::15)
X-MS-PublicTrafficType: Email
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0;
 RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(49563074)(7193020);
 SRVR:ME2PR01MB2898; 
X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2898;
 3:lGLiZrbZzROgS0bEE9yvnM4oCNpt3mQ1FqqKYpsA8H1q9Yh81WBxDh6ZNnx12ow9YderDkIxLWPg8+VtNqafDY5j/+ZhXqc1nUsNJezXfopYD751u4Ka/QV/F8dO66p4y/oN0LvfuDekZKE5ueJzVxhPWM4HXCW7IncWjrEj5W5wmhUTuP6dlBB3aC9ZHANsVIz0Rpd1zq4fqlj+OGpVRUw0aW13/v4ui0f6hPfmS7HcOEIIL8qdYyU0QLPLFk/z;
 25:xSB6cgixodsTiJG3OeA+niY13Cbxiav+FDTz/79oLD0Ilkx4yKv+XU6FMcStCiUHEkOjrQ8Xh076vnQgZCJpKaj6Q5i5RbHsQQYck+4TF6BmPMu8G4THYmTPrFqFUq4x/QFjpKcvVCCtMSD5ePl5DTtQEztbSuNjh+6BGZJ1fEQx4QFMqIQKwxiElMfSpKumbH0+EFClOze5qKZKLHmZ+NrK09xLCqMYvUjQGQfk1fybnQ93JVWBjEqtPZtZchL8e8JhCDOE/mrVs2wZ7WGZ/LMaVvRANwIGElqGykBP6j/JgOIvwEs4C09EwCzpCnZhXBN1/abwC+huYj8Vt7HySw==;
 31:ucqs0RS/2jd9+zJL66VTe+z6VrHVzLtOlHEbSrm3jG9FQiG/R9+SqI4/djbHoMMNrjXgwLpvMnDIYjvwmVQxd36K7v1c54ZAkapplNpQAIx2Up+j4szMuWKOC48NxMuDACgUbErudLRz1/x8le0TXMx9jTw/hPrmGAgAowbrPBNZBca4XGT0UAMInIkF1POU/6AoBOWBAcuxMJ2WBnlyPtRC/OIi8GrmxxQSD2vgKvI=
X-MS-TrafficTypeDiagnostic: ME2PR01MB2898:
X-Microsoft-Antispam-PRVS: <ME2PR01MB2898D4A5B95E0C6FF587A94AFE9D0@HIDDEN>
X-Exchange-Antispam-Report-Test: UriScan:;
X-MS-Exchange-SenderADCheck: 1
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
 RULEID:(102415395)(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(149027)(150027)(6041310)(2016111802025)(20161123558120)(20161123560045)(20161123562045)(20161123564045)(6072148)(6043046)(201708071742011);
 SRVR:ME2PR01MB2898; BCL:0; PCL:0; RULEID:; SRVR:ME2PR01MB2898; 
X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2898;
 4:x0+TPwfxgDfbrBQi9Vvs3QF1NuRYUSfkjCIXcchnaJ7WHXf6Dwqgf4yu3PSKjcul+HD6HXngpJqo04TuT2wqQL7krkxQiFEbGrfkF1jjMIHbB56kgzMPEDLxN1FEd7qI5ysXohcgi49JIqohE/7LW4k82mgDNGUe2O+gCcUmzThZ4wvXGrSFW6iH//xZLepZVCDYg2LeF2fRYufF3XNRIWPyHA4APGKZYcouHODuBkyjgqPqYS6ffoUP2b6ZMtXto4LAnFbeW6gkYhkGDsQJqw==
X-Forefront-PRVS: 0671F32598
X-Forefront-Antispam-Report: SFV:NSPM;
 SFS:(10019020)(39380400002)(376002)(346002)(39830400003)(396003)(366004)(189003)(199004)(316002)(59450400001)(16526019)(2906002)(8936002)(53936002)(26005)(486006)(2616005)(476003)(956004)(11346002)(4326008)(568964002)(93886005)(6246003)(386003)(6506007)(446003)(36756003)(68736007)(186003)(76176011)(52116002)(478600001)(66066001)(97736004)(6666003)(6916009)(229853002)(5890100001)(4610100001)(81156014)(81166006)(6486002)(74482002)(84326002)(2476003)(86362001)(16586007)(58126008)(6116002)(105586002)(5660300001)(3846002)(106356001)(305945005)(25786009)(7736002)(6512007)(8676002);
 DIR:OUT; SFP:1102; SCL:1; SRVR:ME2PR01MB2898; H:jupiter.local; FPR:; SPF:None;
 LANG:en; PTR:InfoNoRecords; MX:3; A:1; 
Received-SPF: None (protection.outlook.com: tenpoint.co.nz does not designate
 permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; ME2PR01MB2898;
 23:6qMnvoa+cpNVRTP/WK7L7xhqAknOD8l9flE0fUDvq?=
 =?us-ascii?Q?eogiAFlFVIqitlivPhKJCNb72BOiHHs9g+qf194BF21lMNZrP0q/G4fIBOJe?=
 =?us-ascii?Q?ztlqpQfk8iRdlby8lNkSRKk8qQQMbNN7WbbYCE+267MIi/COJ9AQa/G/9dF5?=
 =?us-ascii?Q?0bFL6xLL8iETMgbGf+E3hok84hhQZJ+sC3jcCg1HKhJw2QyCvB3qri444Cat?=
 =?us-ascii?Q?G3CVKWo9aySLsQUV9pJFQwYg+RQ/39s4QPyGAlRBcfvqvSDXvH0M2g9b1G9E?=
 =?us-ascii?Q?y3TmLFi45r0E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lCQW+S/awcRISu8k2McDVHUT+X4M6uwO9JzTe4xDKnJ+cQ0tZh0K8lUGS1rUbm5njVrOUNc=;
 24:uQBrZWmsIUFku9GrRTx1APPi4ft6ISpF3GJWaBkD1gO005GnWQ0uQfbNnWJIBxxylfCXafxRwtWtjW0ek5gDf6JOR/hWpMVysRM2AwnovVg=
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2898;
 7:XKdnIDmdueWs/+Bnp0NRB2LyBmd5m80DOAFe7rnnHYLavY7VlNqu1yCt3PWx+gS6KOvXQLFM/+K8Dc4HPwDGS9pet6tO32dyqIJxNh7+/R7tMg+2lH5OJ9ZMrdn2MRUgHWrZEwLbn4uAKrgd0zP3PhqO2XzmRlyTGeLg/rZOTnqmsN2QyVlI4to4tukYA9J7r9ti7NkkkAam7UocckhgQ4Kex9GcBIFgOZqh3OwtSGsidyEz8i+JhrCzjkvHBdzZ
X-MS-Office365-Filtering-Correlation-Id: 1fd63a6f-862d-425e-e6b4-08d5b8b99337
X-OriginatorOrg: tenpoint.co.nz
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2018 10:09:11.8355 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 1fd63a6f-862d-425e-e6b4-08d5b8b99337
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: ed686f26-19e8-407b-91d0-7364c1c6f5cf
X-MS-Exchange-Transport-CrossTenantHeadersStamped: ME2PR01MB2898
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 31371
Cc: 31371 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain

I think I've worked out what's going on here. I've attached a patch -
could you give it a try and see if works for you? 

When the user types in the search field, NSMenu looks for matching
candidates by creating events to open each menu, trigger an update and
read the results. If the search field already contains text, this
happens as soon as the Help menu opens, either when the user clicks Help
or mouse drags onto the Help menu. 

The code in ns_check_menu_open and ns_check_pending_open_menu that
postpones mouse clicks (to fetch menus from Lisp) also tries to postpone
these drag and search events. When it releases a delayed click on Help
(even if the event wasn't a click to begin with), the menu reopens and
the process loops.

The attached patch gets around this by never postponing mouse drag or
non-user mouse down events.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=31371.patch

--- a/src/nsterm.m	2018-05-13 16:45:39.000000000 +1200
+++ b/src/nsterm.m	2018-05-13 16:44:31.000000000 +1200
@@ -4299,14 +4299,22 @@
           NSEvent *theEvent = [NSApp currentEvent];
           struct frame *emacsframe = SELECTED_FRAME ();
 
-          [menu cancelTracking];
-          menu_will_open_state = MENU_PENDING;
-          emacs_event->kind = MENU_BAR_ACTIVATE_EVENT;
-          EV_TRAILER (theEvent);
-
-          CGEventRef ourEvent = CGEventCreate (NULL);
-          menu_mouse_point = CGEventGetLocation (ourEvent);
-          CFRelease (ourEvent);
+          /*On macOS, the following can cause an event loop when the 
+            Spotlight for Help search field is populated.  Avoid this by
+            not postponing mouse drag and non-user-generated mouse down 
+            events.  (bug#31371).*/
+          if (([theEvent type] == NSEventTypeLeftMouseDown)
+              && [theEvent eventNumber])
+            {
+              [menu cancelTracking];
+              menu_will_open_state = MENU_PENDING;
+              emacs_event->kind = MENU_BAR_ACTIVATE_EVENT;
+              EV_TRAILER (theEvent);
+
+              CGEventRef ourEvent = CGEventCreate (NULL);
+              menu_mouse_point = CGEventGetLocation (ourEvent);
+              CFRelease (ourEvent);
+            }
         }
       else if (menu_will_open_state == MENU_OPENING)
         {

--=-=-=
Content-Type: text/plain



On Wed, 09 May 2018 at 09:40:24 +1200, Alan Third wrote:

> I notice all this code is cocoa only, though. Makes me wonder why
> GNUstep is different. (The menus on GNUstep Emacs are awful, though,
> they flicker constantly.)

I think Cocoa uses a delegate method to update single submenus which
(I've read) isn't supported on GNUStep. This means ns_update_menubar has
to recreate every menu on every call (deep_p is always 1). Maybe that
has something to do with it?




--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31371; Package emacs. Full text available.

Message received at 31371 <at> debbugs.gnu.org:


Received: (at 31371) by debbugs.gnu.org; 8 May 2018 21:40:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 08 17:40:34 2018
Received: from localhost ([127.0.0.1]:54583 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fGALa-00080c-Lh
	for submit <at> debbugs.gnu.org; Tue, 08 May 2018 17:40:34 -0400
Received: from mail-wr0-f179.google.com ([209.85.128.179]:38921)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <athird@HIDDEN>) id 1fGALZ-00080Q-D7
 for 31371 <at> debbugs.gnu.org; Tue, 08 May 2018 17:40:33 -0400
Received: by mail-wr0-f179.google.com with SMTP id q3-v6so33738124wrj.6
 for <31371 <at> debbugs.gnu.org>; Tue, 08 May 2018 14:40:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=20161025;
 h=sender:date:from:to:cc:subject:message-id:references:mime-version
 :content-disposition:content-transfer-encoding:in-reply-to
 :user-agent; bh=1xYuFnjg7FBM0d9js+uZvLNAzCa8Z9L2oSw0QeT+/JU=;
 b=Bx69dtMJWV05nFBDq4fyG/cREtZ0HgXsbwYyK2u5xRXEfD3Re9OckS6gI42XyD/5JZ
 xTVodLZDJnroTdvZVZs4QySLTysKvavIiL2RvyN8KB67FtlXdTuJB8CQxY+zkAJ+nVDR
 3jhkMKbxokSoNdiRKFVwnO5XEwJk/AqGFiZxLRsz8kmZY8ztbFRuylAYuhoesWNzH8Az
 59yNsvN755/L9JxvRAwKeqyH1VYPXzWqh5U4ZGTdBvE38+exVDCn0lIQCG2ZarUaTNQK
 5YTQZdwVUpjt7qr7X+mevGVS0oNyMCmOxMdFUfDng43P+v0POgz/wx2PCzzxvJWZfPFB
 mepQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:date:from:to:cc:subject:message-id
 :references:mime-version:content-disposition
 :content-transfer-encoding:in-reply-to:user-agent;
 bh=1xYuFnjg7FBM0d9js+uZvLNAzCa8Z9L2oSw0QeT+/JU=;
 b=StEp34HkikTyFMoAMm68BmK1dJ4CPkFgJ69rW6k6rGCQyNcBlYYaMD5YhK3K07u2nc
 jriYldtSe2GASZoUUi+0BpTYyfBH9CfkFOgiYCxWpk1Dg8dLMEwXAYRwu/enaQ1WeuJV
 eZQZqbrAbaWEI6oR2cTNCCnA/lGspvH70Oc6lTg9tpew5+lVCPXhn3CkxJ91ykH4d1XS
 m4Jz0arHMcqVFUSdjH1eQfddxKAPsmdk4XjUgM77PiZxCcemO4K61Jfu3+FhRajwDVyX
 erJlH8YzAwiToEEVJrT0dIjh5OGSpKUgPxE5Qhfn+btmpVyvPT69cAmVVIkmXKQfLfXO
 mR4Q==
X-Gm-Message-State: ALQs6tD7CtoVP+cr3Znd1goR2dCjRB/CmKKt7uw8mF8d/B7n2/I+5+Jq
 MoyT6Od5dJllaH7bc3wMJ/diWDu0
X-Google-Smtp-Source: AB8JxZoE7YNBdWZaLzeWOZ0lhfIzizTLDG0/cfqTqVAcmf43VOdbVYKKJXpUmsuYwEtHHWhaWpePFg==
X-Received: by 2002:adf:c54b:: with SMTP id
 s11-v6mr32776465wrf.46.1525815627446; 
 Tue, 08 May 2018 14:40:27 -0700 (PDT)
Received: from breton.holly.idiocy.org
 (ip6-2001-08b0-03f8-8129-c8d4-b636-0fc6-fad1.holly.idiocy.org.
 [2001:8b0:3f8:8129:c8d4:b636:fc6:fad1])
 by smtp.gmail.com with ESMTPSA id f143-v6sm144961wme.43.2018.05.08.14.40.25
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 08 May 2018 14:40:26 -0700 (PDT)
Date: Tue, 8 May 2018 22:40:24 +0100
From: Alan Third <alan@HIDDEN>
To: Nick Helm <nick@HIDDEN>
Subject: Re: bug#31371: 26.1; Menu-bar stops working after search
Message-ID: <20180508214024.GB13768@HIDDEN>
References: <m2a7tep4rm.fsf@HIDDEN>
 <20180506101411.GA3327@HIDDEN>
 <m2lgcwmb9r.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <m2lgcwmb9r.fsf@HIDDEN>
User-Agent: Mutt/1.9.3 (2018-01-21)
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 31371
Cc: 31371 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

On Mon, May 07, 2018 at 02:48:16PM +1200, Nick Helm wrote:
> If this is the case, it should cause problems even by simply opening and
> closing the Help menu. And I think that's what we're seeing. From
> Emacs -Q, try opening and closing the Help menu (ignore search), then
> click between the visible frame and the desktop a few times. After a
> couple of tries, the frame cannot regain proper focus and the menu-bar
> doesn't operate at all.

I can’t replicate this. Nor your experiment with textedit in the other
email. I definitely see the issue you originally described, though.

> All of the delayed events and tracking stuff seems over-complicated and
> unnecessary. What am I missing? 

Apparently it was added because regenerating the menus calls lisp,
which is then able to call ns_select, however the code to regenerate
the menus is called from within the NS app loop within ns_select, so
we end up with the app loop running within the app loop via ns_select.

This isn’t allowed.

I notice all this code is cocoa only, though. Makes me wonder why
GNUstep is different. (The menus on GNUstep Emacs are awful, though,
they flicker constantly.)

I still don’t understand how this works, because I get the impression
from the code that the menus are generated when the user clicks on
them, but they clearly change when you switch windows or frame or
whatever.

So on the one hand it appears they’re updated within the NS app loop
as part of a response to the user clicking on the menu, but on the
other they’re generated outside the app loop by some lisp function or
something.

Maybe it’s both, in which case why?

Of course, none of this might be relevant to the help menu bug. I’m
quite lost at the moment.
-- 
Alan Third




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31371; Package emacs. Full text available.

Message received at 31371 <at> debbugs.gnu.org:


Received: (at 31371) by debbugs.gnu.org; 8 May 2018 05:24:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 08 01:24:19 2018
Received: from localhost ([127.0.0.1]:53420 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fFv6p-0000EP-2H
	for submit <at> debbugs.gnu.org; Tue, 08 May 2018 01:24:19 -0400
Received: from mail-me1aus01on0099.outbound.protection.outlook.com
 ([104.47.116.99]:63189 helo=AUS01-ME1-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nick@HIDDEN>) id 1fFv6m-0000EB-Q9
 for 31371 <at> debbugs.gnu.org; Tue, 08 May 2018 01:24:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tenpointcomms.onmicrosoft.com; s=selector1-tenpoint-co-nz;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
 bh=6uIEa7cJJAGBIGicFf56EphilAByd6iVDZVnX3JqFpM=;
 b=bsjdre6oBQ0dylki6rHOCXFotamB2eQKL20FeFrTCT5txOwXfNB06EUYpgVrX0gnTYr0jgC81LfTIKNU1mu25BcbLAXgtq7AbIkD07odYwpJXM2fCTCcBc5mI0SnaRNKAWYDPhnoHLow7SUmfB9Vt0ZqkHTDphwL/yuFdiRM30w=
Authentication-Results: spf=none (sender IP is )
 smtp.mailfrom=nick@HIDDEN; 
Received: from jupiter.local (125.239.171.29) by
 MEAPR01MB2903.ausprd01.prod.outlook.com (2603:10c6:201:11::13) with Microsoft
 SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.17; Tue, 8
 May 2018 05:24:08 +0000
From: Nick Helm <nick@HIDDEN>
To: 31371 <at> debbugs.gnu.org
Subject: Re: bug#31371: 26.1; Menu-bar stops working after search
References: <m2a7tep4rm.fsf@HIDDEN>
 <20180506101411.GA3327@HIDDEN>
 <m2lgcwmb9r.fsf@HIDDEN>
Date: Tue, 08 May 2018 17:24:04 +1200
In-Reply-To: <m2lgcwmb9r.fsf@HIDDEN> (Nick Helm's message of "Mon, 07
 May 2018 14:48:16 +1200")
Message-ID: <m24ljig1or.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin)
MIME-Version: 1.0
Content-Type: text/plain
X-Originating-IP: [125.239.171.29]
X-ClientProxiedBy: SY3PR01CA0127.ausprd01.prod.outlook.com
 (2603:10c6:0:1b::12) To MEAPR01MB2903.ausprd01.prod.outlook.com
 (2603:10c6:201:11::13)
X-MS-PublicTrafficType: Email
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0;
 RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020);
 SRVR:MEAPR01MB2903; 
X-Microsoft-Exchange-Diagnostics: 1; MEAPR01MB2903;
 3:Iiyu09X2JxyPSIp4q45kq1E3JOiGOSGmMHoFtINOv+ktjYlKtRijqCJPgawFnKXWvKN4B1t0AwUVqbCThfebjwHgo+F0UR3SDA8A1ryDc1pIA7D/qBDkSlEUvXYZoucuqxw8gmfutZTfAPa+KHMU8rjdlnS/FpTR/2kzsnhX+9IzVJEpqhNfiW++ufVhddEfjb8wB+2dtmaRjdHxM8bf8NLqHuDzX/2ijnTR9HxCvYq7QKBu0SRZy3VTLi0295O2;
 25:+fG5291uENenbmxHBbVfry3VPXqPhBbU71zH3lPHh7RrxvLVaSIHiyxNDMrdKvWfq+uvyVHXtwNIgHb4R1ubrcmc3p/F81AyejOFgAQ4MdXD+uu2yD3Vi6dKg4Ge4em9nJXuhNV63lomAcWS312zaUdeO4J1q6RH1ioBEJixOA1jKRITdzX7WlohDs5TkXb6BBZmbVEgjrp1OXA4Wm1UpFl0uOKJJGU/nVbxA/k2DQjMW3mXzowwrOtBohjg3ArrPLAH3noe2HRmy/xBz4S4SWHNWOqzaBQMFzsGgqjSoev6hMAky++LQqiCEgjR8DqMuEJj1UShJTFvISutm+M3SA==;
 31:oW77Viu8PDbke35aIHnR4iOWOaW1H5N6LdyiNfma6SbYYrSK1ygDJKzlsXfOwwLdMEg/z6E8iUViI+qTmByOfVzHoe+z8k+lz2WSjiHG/em22fri62PY7bPQuON/RenZnEcKzlDXogrW/ab50iHEcNtlF8pvC7MplrVA88G8WCoEaMPeEkemVYQKuCEX88guyUHpsTxdsQRN1wvog6MFRA0IEWMJE9gWqmymlrzUd1o=
X-MS-TrafficTypeDiagnostic: MEAPR01MB2903:
X-Microsoft-Antispam-PRVS: <MEAPR01MB2903E3EDBFD0DA9D57FC3FCEFE9A0@HIDDEN>
X-Exchange-Antispam-Report-Test: UriScan:;
X-MS-Exchange-SenderADCheck: 1
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
 RULEID:(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(149027)(150027)(6041310)(20161123560045)(20161123562045)(20161123564045)(2016111802025)(20161123558120)(6043046)(6072148)(201708071742011);
 SRVR:MEAPR01MB2903; BCL:0; PCL:0; RULEID:; SRVR:MEAPR01MB2903; 
X-Microsoft-Exchange-Diagnostics: 1; MEAPR01MB2903;
 4:9CA1d7vflUXu7pCXsTwkzbjaM+2uGehfzanndTiHap24TqpGKMJEFwhkb/ms4FQ+8NzK/B3ue047w7Xs0i8k0UVgM17CgF+J3MTcbOgmvlSG42j1O6IkO47QWNWn7lxNdNcrUYQopFPDqsKvwdfp3fkGzpcWXaw8utg8J8NWaPqTASJHB2uOY7+mtW5is4/6gi85qXyw23QjCUuG+HzKzSZT688p3531HlNwHCaRhDSwsn7qp2Ih8zPtT04aISXFxF2fvG2WKmWsNroTGxPvYw==
X-Forefront-PRVS: 0666E15D35
X-Forefront-Antispam-Report: SFV:NSPM;
 SFS:(10019020)(346002)(366004)(39380400002)(39830400003)(376002)(396003)(199004)(189003)(229853002)(81166006)(8936002)(53936002)(74482002)(68736007)(8676002)(81156014)(6512007)(6246003)(97736004)(316002)(16586007)(6116002)(2906002)(6486002)(106356001)(105586002)(4326008)(58126008)(3846002)(11346002)(16526019)(5660300001)(186003)(26005)(48376002)(2351001)(305945005)(50466002)(386003)(6506007)(2361001)(52116002)(51416003)(76176011)(86362001)(47776003)(2616005)(446003)(6666003)(956004)(6916009)(476003)(66066001)(36756003)(486006)(478600001)(7736002)(25786009);
 DIR:OUT; SFP:1102; SCL:1; SRVR:MEAPR01MB2903; H:jupiter.local; FPR:; SPF:None;
 LANG:en; PTR:InfoNoRecords; A:1; MX:1; 
Received-SPF: None (protection.outlook.com: tenpoint.co.nz does not designate
 permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MEAPR01MB2903;
 23:VRwyVBBXz837YjwglofrRIUs3JUFRQk+FMvh0640E?=
 =?us-ascii?Q?VxQ5UPa3gkYUsq4iWZIG035oahuywiCFtCWtO3u2Hwu2mx7Ja+y0MK9vRR9S?=
 =?us-ascii?Q?xvSbnBvqZybOKOphEtpYTTAiiwtW1si0xZi1wLO2bQ11GygMB43hKWT+bM5C?=
 =?us-ascii?Q?fhkFcxzMNTcAY0YC7sIPvD+kDi5VYMLLsoX+/xXiSPfsuHo9YF2RkyfHVl8o?=
 =?us-ascii?Q?sDtepUQX3nANmLMzPeGFwofsFo88vcmv6HVj+igeSRKU5oUNpA8HCvkswv4C?=
 =?us-ascii?Q?MZi8FXvFYi4/ynDf61QfXS40Sl5Qn5YtXFOKkegOIvtd2QCiZzvv+Dp6w5SC?=
 =?us-ascii?Q?R+8XN4JzJtbxCli75Jrqurxi1DT0YOMeCPa8J7YPUmisQDxYCTrLycwp/umY?=
 =?us-ascii?Q?bvpILuRAv+I/Y8Lyku9jr6n6sILE/IkXLcjQlMZfAjXe7xuZRLt0qOmNIxGN?=
 =?us-ascii?Q?vlMtpb1jtOuUfkY0NC4C8jobowvP+J39/UE3wg9ujJOY57jktbMr/kNjhoO5?=
 =?us-ascii?Q?sm6M1WphIxElDeU76FImWV2Q2ntmhBacZnfiWOqqNcpCee+O7wSh9RaREWRu?=
 =?us-ascii?Q?TkUMkxrE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GoOVrqXV1GNQ
X-Microsoft-Exchange-Diagnostics: 1; MEAPR01MB2903;
 6:bnVfZ9hbTDp3jq6a0sgv3lrwyzXLpgdM8zex3vYeMMU7Q+wt+DS7nzL4kfM/HGLoOAzCgpbnrEYhdhYq7DhY41h0fJJEMOxl0xeQMLOuL+1dAU56TFY8dRW955HxvsehTJuNgYgayQbUErJZYqRC9PuuDpUmVOVVvR/q1t93ka1N0RFMrBUESvgSRqhbBi8aINaPMpwWFV1BsZZ6UHhmck5AuokTkZCPNP12R/3kH8EnBwvM0JlXT/JJ5JGhvyLvkr1eA9juy9PNImZ0gmXlJzTfSovyWmLRuEyJPy8HvlS7Zh/txEZRNybv8SRMEl7/iCXN8cQH7OWu1JMyxJod4nHr1AUHLeapQDs0gp2qFdLBpTflD+tsTkfRdQOF/Gly7BgjCNip9edH+HI5Zdu55VglmkztwwjSbSA3GCdMvG3VI1cllvQaQw6j8MNiuTVv0vNBPTdPQHf3Rrj5Jxdgtw==;
 5:2zEqiIeIXODg/VQYCSUSZeZCdCit4xn+PoufeeZ5Qet99LVztmMGRSXNZpVL1ufd0AhxnpOYsmuh87H9EUTO2VSCmTQ64AqacLXtrUkulBa8RLblzxCBojCB7DXLoLZuWuT2Ruf4ALvB1To8f0SfBsX8FpocuwaeAl/2v9JhVyM=;
 24:YNkf6a7iNHQYF0B/lgm6OC+eNnDd00+3Jk+/4bevL+XxCCYkZvGdW0DXo1/IRE61Lsi+bgpNedYGSPTCczKe38HTcYjgkHnCDkF36XVV9so=
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-Microsoft-Exchange-Diagnostics: 1; MEAPR01MB2903;
 7:EcvQ6V32+i5uwWFHEenhiy+G5aIlOTgMhrnycpFnvNvQ4J/fEkbOtQulm3Elr/3A3umxqRLCanrE34jvYf254zhZhRLqvsBkGJ13aefNKfAvJaNvTHyAmNKMtpmgisHXxm0Ais7jr71tkong3LSd7HP54NCwZ84TTkBT35ymAAMdkVLayBwMJg7TrJTgmsNuO9vDRQTpt63eEqW6BYO0llMPqUd+Tp5ZhziyxPFqS0iW+xmjWUsPsXoPWlAzTc0P
X-MS-Office365-Filtering-Correlation-Id: e97a429d-3e5e-4c96-5199-08d5b4a3ecb8
X-OriginatorOrg: tenpoint.co.nz
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 May 2018 05:24:08.4152 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: e97a429d-3e5e-4c96-5199-08d5b4a3ecb8
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: ed686f26-19e8-407b-91d0-7364c1c6f5cf
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MEAPR01MB2903
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 31371
Cc: Alan Third <alan@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Mon, 07 May 2018 at 14:48:16 +1200, Nick Helm wrote:

> here's a theory: the problem happens because mainMenu is trying to
> simultaneously be part NSMenu (Help's spotlight search field and the
> context help topics) and part EmacsMenu (Help's standard Lisp menu
> items).

On second glance, I don't think this is quite right, at least it's not
the whole story.

Other apps seem to have a related problem. Open Terminal for example,
click on Help, mouse down and click in the Terminal window, then try to
type a command. It doesn't work, I just get system beeps. TextEdit is
the same.

It's like the Help memu isn't returning focus correctly. Maybe it's a
bug in macOS making this show up?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31371; Package emacs. Full text available.

Message received at 31371 <at> debbugs.gnu.org:


Received: (at 31371) by debbugs.gnu.org; 7 May 2018 02:48:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 06 22:48:33 2018
Received: from localhost ([127.0.0.1]:51853 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fFWCW-0007jE-B5
	for submit <at> debbugs.gnu.org; Sun, 06 May 2018 22:48:33 -0400
Received: from mail-sy3aus01on0111.outbound.protection.outlook.com
 ([104.47.117.111]:32496 helo=AUS01-SY3-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nick@HIDDEN>) id 1fFWCT-0007iz-CH
 for 31371 <at> debbugs.gnu.org; Sun, 06 May 2018 22:48:31 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tenpointcomms.onmicrosoft.com; s=selector1-tenpoint-co-nz;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
 bh=/sJHsSa+MJ1me5N7nM382PkecGw7k0IV3/oBZ+oWFTE=;
 b=vCUZMv/XNLNKgcRpEK1rBA10IQjqQCfxW5V1V8qiVCeUdCuvmUQqbepy+f1HrqR9OOEkXfGbBA26WtmeWwGIGrhQvoGkpJDDurutBcIElu9dATfEY1hzRXLPcIcIHfc9oemY1c37McCNEGtaVvdEObE/c7zGH4JsOiPDODzC8xM=
Authentication-Results: spf=none (sender IP is )
 smtp.mailfrom=nick@HIDDEN; 
Received: from oberon.local (125.239.171.29) by
 SY2PR01MB2907.ausprd01.prod.outlook.com (2603:10c6:1:1e::20) with Microsoft
 SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.17; Mon, 7
 May 2018 02:48:20 +0000
From: Nick Helm <nick@HIDDEN>
To: Alan Third <alan@HIDDEN>
Subject: Re: bug#31371: 26.1; Menu-bar stops working after search
References: <m2a7tep4rm.fsf@HIDDEN>
 <20180506101411.GA3327@HIDDEN>
Date: Mon, 07 May 2018 14:48:16 +1200
In-Reply-To: <20180506101411.GA3327@HIDDEN> (Alan Third's
 message of "Sun, 6 May 2018 11:14:11 +0100")
Message-ID: <m2lgcwmb9r.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: [125.239.171.29]
X-ClientProxiedBy: SY2PR01CA0016.ausprd01.prod.outlook.com
 (2603:10c6:1:14::28) To SY2PR01MB2907.ausprd01.prod.outlook.com
 (2603:10c6:1:1e::20)
X-MS-PublicTrafficType: Email
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0;
 RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020);
 SRVR:SY2PR01MB2907; 
X-Microsoft-Exchange-Diagnostics: 1; SY2PR01MB2907;
 3:8xP8UAzw5WC5sKJkSb8smfRTFwzmOiE1VQ6I0TEsvJ3HGkrquglNHoqQUXjvPFWtr8UOgN+0q+kO3bnt1Hlupk4zX3i6x1263imw6PNtYa1Z7XGLNpkwtmvVLB5iYrrHFG1J0XTWkdcaeIV7OQwsa0f5WO9/T82OFMgQKOD2rsNgOe/7knIdaXzC1ZZXAbbI50wsnxLm0RkWfHY3RgoBj5IdjuAI2t6c86m1RIolh7pe2Nn90eyGXVJIPXXRdWi+;
 25:DTai4DMMwFcrjZBUMBKs+6c4K5s2IcW/kW/xFmOmrEx4NelL7T/+83K3l+v26QoIw17i7na99nqpKDgWs+gYjHXxamnfwNdmChTkTivtp1us+btUmLVCNqKgpLwVfQ7DHeZia834DWt7RwtaqOfgWucZW78tgNC8YqKuOl+fAeqZUbV42ji+fjRQghs18wuNzbn+9P9lZLK++cU+vM/wiXjLWXkHcH3dJXn8o412eDCgE/Qs156xbEiEkT+C675u/cpohVVtThujkIFe4cap7RcVwqGRbFuPyFiCcZ91wsAqE+pyKRuL1gL8okblGRp/2Vi2jDOkf3/c5MTRE3qSbw==;
 31:jeS0S1nF8vhgVE+tETf5gp3uovSqmTDxHOLlK5M26RUvrxbCPZDX1xUaqvzH5Fd+D3WL83lWkHpfQkQQEwcP0yz4lsKJqclmgGgyQQYpHT8yrQYcIMh8xJBnKXj35A7sCdZiYToxR+PPocJFp/SvBUqP9vSxn4a/Pl+hXD+CcyRK/4HewJb/nOmi/zfpYpkbdTK5SQ/WIYiJEMchOwRE/S4jZgNvW8uBWv/0GnyVYiY=
X-MS-TrafficTypeDiagnostic: SY2PR01MB2907:
X-Microsoft-Antispam-PRVS: <SY2PR01MB29076E844A5F25B337B562E8FE9B0@HIDDEN>
X-Exchange-Antispam-Report-Test: UriScan:;
X-MS-Exchange-SenderADCheck: 0
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
 RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(149026)(6041310)(20161123564045)(20161123558120)(2016111802025)(20161123560045)(20161123562045)(6043046)(6072148)(201708071742011);
 SRVR:SY2PR01MB2907; BCL:0; PCL:0; RULEID:; SRVR:SY2PR01MB2907; 
X-Microsoft-Exchange-Diagnostics: 1; SY2PR01MB2907;
 4:CpKMY4rDVpG226XfTLVobliXxrMhBFdJ3iPhMQcXvYaeWAC4sCJUIayoq1YA5fXEnLlemwufqwtTg9p8YX3lyJ/OlfSRX6KOIfkvul3Vbph80PNsftXV9Ca4PIE3evPOOHilvTFObzxSopgob20uvPpW7AItMHc+iVUmM0lhBsFj9WD7aml22PFFus8mXk+3HeckLw9mmo7qVB1KxX8XKswd9ray0UCnbbMp88z45S+ufz2W54ycyNK+FcI83al6X0jGlhGH4tvPpS3CmUvbgQ==
X-Forefront-PRVS: 066517B35B
X-Forefront-Antispam-Report: SFV:NSPM;
 SFS:(10019020)(39380400002)(376002)(396003)(346002)(366004)(39830400003)(199004)(189003)(51444003)(76176011)(16526019)(229853002)(74482002)(6486002)(36756003)(6246003)(106356001)(6512007)(26005)(105586002)(6916009)(6666003)(97736004)(53936002)(186003)(52116002)(2486003)(52146003)(23676004)(50466002)(66066001)(47776003)(476003)(59450400001)(6506007)(305945005)(386003)(81156014)(8676002)(81166006)(8936002)(8746002)(478600001)(68736007)(4326008)(5660300001)(2906002)(7736002)(316002)(58126008)(446003)(11346002)(486006)(956004)(86362001)(3846002)(6116002)(2616005)(25786009);
 DIR:OUT; SFP:1102; SCL:1; SRVR:SY2PR01MB2907; H:oberon.local; FPR:; SPF:None;
 LANG:en; PTR:InfoNoRecords; A:1; MX:3; 
Received-SPF: None (protection.outlook.com: tenpoint.co.nz does not designate
 permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtTWTJQUjAxTUIyOTA3OzIzOmM4MXZzUTNrdVVvR0dMRm16U001aWtodlRp?=
 =?utf-8?B?RVFQbVhxWjhsQVRmTThHNS9LZEw2NVI3WWZudEtGVy9NUlBHUktxc2F6MXps?=
 =?utf-8?B?eTkwbnhZYXBmaDJPN1l3QlJOL0w4RDdQcjJhTXpVbml0anU0N3hVZEdmMkZI?=
 =?utf-8?B?dlFkQWtybzZGdkhUOGc4eU8ybzc5TjRaMDA5TWdQSmMvaXYvR1pPQllsUDJi?=
 =?utf-8?B?ejBTdVFZOHVMQTFLUDg2dHNhNWRPQWhVWnQ0N2huWk10SDNSOFN5bTVoY3Mw?=
 =?utf-8?B?OXMyRk5UL1BGOHg2TWJvRTh2TitlQnlm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gMg5PW/+GajhHFCtRk2fZsqPF6S2teNcSl3Bn8/4Rw/EdMZnV6zxdi6rUf/fpcvgD/yBFhotyzGnQhbW3spzhwNT7k0h/olTLqH2piUM8bsGQ3Vtro4U1SvVlt1imOkEhL5WkyK6L2km64wwWZANPm7mDLZ9e4emAiaqzZ/aHl+hrVI2cr4eslLPAEU0tRIRRNB2ZfkEQxIjreMwvGm+kQTJ/3TWi1N2Qfq7I671NLn7gkakwzz1XRveWpZgt4aikPoIFol6IVv2YakatunH43YiwVS126A5kn1RnHyb6LOz+552hx4eHOoAaVpKKwbkCY+X2G6bMVuBhqoX4TCUbTowhPswzkNf2xoMraqUsH9fbF0OXVEd54iZq9jzytA==;
 5:nnitNd31sQyBNhtb3a0fTK+aYC/5j5L/agQwDdCsNFfkhYjn0QdAR2DaUrMN/E7JPo1HYsa/MKCo36/GjEJ/f0YnERrDBOeXqe2N9DSENP5rT0caWg8NLVaUW4YSxCwl5TBUEPeL11LHkX62rHCO7k8ejD64EqODEnQMEKSepx8=;
 24:IJf1yzL5l3a5BwcQQn89Olpn1wfy8cJ3X4T4yJfuAka510GeWra05NxC51wQio5K3WuaWdOk74s5PqFQriW/4OWAocTEgs0F3Qg5lHjKcgY=
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-Microsoft-Exchange-Diagnostics: 1; SY2PR01MB2907;
 7:LwgaslxT1AW0CF+vtAeEqhmJlAXxARel17aUeaREgaUiPdueyJUGqYTb8my4lM/dGTjuUWxd2Aw9sO7gnfVDA+rCoYXwEYpIp/fSKGys65Zvk8vkN1PGJC/bP3mY16RqlSLRiRkK9oQ5abx5p9ZoYEQJNOhjp2b8kuzQg+kxCC9VusySlGfOFozcgwC2ojz8P23+suqbyrxOCPgnPhfmOpzDKDCPxfILKjEhlRrUqsLV8cpRiJ5t5qjilBkM5+xq
X-MS-Office365-Filtering-Correlation-Id: 62855a37-0b8c-4acc-cddb-08d5b3c4fe9f
X-OriginatorOrg: tenpoint.co.nz
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 May 2018 02:48:20.7609 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 62855a37-0b8c-4acc-cddb-08d5b3c4fe9f
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: ed686f26-19e8-407b-91d0-7364c1c6f5cf
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SY2PR01MB2907
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 31371
Cc: 31371 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Sun, 06 May 2018 at 22:14:11 +1200, Alan Third wrote:

> On Sun, May 06, 2018 at 02:15:57AM +1200, Nick Helm wrote:
>>=20
>> Emacs menu-bar does not work after a help search on macOS.
>>=20
>> Note that the Help menu does not reappear and the mouse does not move
>> correctly (slows down) while moving over the word "Help". Subsequent
>> clicks on the menu-bar do not work as expected either.=20
>
> Looks like it goes into some sort of infinite loop calling
> ns_update_menubar. If you go to the left so it opens some non=E2=80=90help
> menu, then go back to help it works fine (I think).
>
> The menu code seems pretty horrible to me, so this may take some
> time...

I had a look as well and I see what you mean, it's a bit of a mess.

It's a wild guess, but here's a theory: the problem happens because
mainMenu is trying to simultaneously be part NSMenu (Help's spotlight
search field and the context help topics) and part EmacsMenu (Help's
standard Lisp menu items).

When a user clicks on the menu bar, Emacs postpones the event via
menu_will_open_state, creates all the EmacsMenu menu items from Lisp and
regenerates the mouse click event with a call to
ns_check_pending_open_menu in order to actually display the menu.

The trouble is, NSMenu doesn't know anything about this. When the user
clicks it immediately displays what it thinks is the Help menu (sans the
Lisp stuff, which doesn't exist yet). When the EmacsMenu part is ready,
it regenerates the click event to display the menu, but NSMenu
interprets this as an instruction to hide the menu. This repeats for
each dragging mouse event over the menu-bar, hence we have a loop.

If this is the case, it should cause problems even by simply opening and
closing the Help menu. And I think that's what we're seeing. From
Emacs -Q, try opening and closing the Help menu (ignore search), then
click between the visible frame and the desktop a few times. After a
couple of tries, the frame cannot regain proper focus and the menu-bar
doesn't operate at all.

I had a fiddle around with a couple of ideas. The first removes the
NSMenu parts of the Help menu by creating an empty menu object and using
it to override the system's default Help. Unfortunately, this removes
the search field and the context topics, but the EmacsMenu menu items
then work as expected. I don't think NS Emacs has any Apple Help Book
files (the only entries that appear seem to be auto-generated) so this
might not be so bad. The search field is really useful for command
discovery though.

I also tried interrupting the call to ns_check_pending_open_menu in
x_activate_menubar. If you comment the call out, the menu sort of works
as expected, other than having to initially generate two events (click
twice) to get the Lisp menus to appear on each frame (one click works
for the appMenu and Help, but they only contain the NSMenu menu items,
as expected). I tried to make the call conditional on menu_state or
trackingMenu, but I haven't got it working.

Maybe I don't understand why a custom menu class is necessary, but I
think the right solution is to convert Help from EmacsMenu to NSMenu.
And, if we're going to do that, why not convert all of mainMenu and do
everything with standard NSMenu and NSMenuItem methods?=20

All of the delayed events and tracking stuff seems over-complicated and
unnecessary. What am I missing?=20





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31371; Package emacs. Full text available.

Message received at 31371 <at> debbugs.gnu.org:


Received: (at 31371) by debbugs.gnu.org; 6 May 2018 10:14:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 06 06:14:22 2018
Received: from localhost ([127.0.0.1]:51007 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fFGgQ-0006g7-1W
	for submit <at> debbugs.gnu.org; Sun, 06 May 2018 06:14:22 -0400
Received: from mail-wm0-f41.google.com ([74.125.82.41]:34459)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <athird@HIDDEN>) id 1fFGgO-0006fv-2F
 for 31371 <at> debbugs.gnu.org; Sun, 06 May 2018 06:14:20 -0400
Received: by mail-wm0-f41.google.com with SMTP id a137-v6so12139875wme.1
 for <31371 <at> debbugs.gnu.org>; Sun, 06 May 2018 03:14:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=20161025;
 h=sender:date:from:to:cc:subject:message-id:references:mime-version
 :content-disposition:content-transfer-encoding:in-reply-to
 :user-agent; bh=AIFj2pacl8wmk89UsEd0nU8O32Jbj1dXECPmIVsuJ34=;
 b=bCTK/E/EAUZSNEwl8BobDn/FgeOS97WmCa0ycztLmDUJU+3vFPaJ4PxLkkGYCX0I2M
 hZD7H9G4pvIYEaOnqCXCnHpCIWaWD3sm2oznSiCQvhPcfZdUEe5kDgsFhHjz4dSRBdWo
 VFECm9kcNS0wH0kM4OWC+0oXnz8LGj6ZHvu2xVaOC3nGiIesqG0ymIqk5DV0MYuUVLme
 8ZiKf0Kz2pqsdyycW3znai7c9+iS06JQNG+AKD4crVZrn392Ljzmh7N4Q3+PY4ZKYijf
 LQQjv2Ih+3xNQ/L3QTWoZgcOog/dZfeRPp2pzBAn0vyBJVIZMf9Zhl5Kgm9sJpv+chRU
 pepw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:date:from:to:cc:subject:message-id
 :references:mime-version:content-disposition
 :content-transfer-encoding:in-reply-to:user-agent;
 bh=AIFj2pacl8wmk89UsEd0nU8O32Jbj1dXECPmIVsuJ34=;
 b=VT6axK9ZtDSaZSCIB4Z+2mW+2khikUcTJPo7CpIgQHRaQkmFBpPmeCGuh3zS2q9IJj
 csVp1fKORHXgdD2QxuXiSrT4d8kcIwnJPaIFl/BdrM5md/TeajzWbWMErgS3IFvEUX1X
 FBPHmRxmmJ9RP6eiX4aHSRDq0YA6rqbnCCq21YAqHpTz6tNBumbQ/cOAP4rMl+ruIyaA
 LIJ6tgcXS1EOVKLXCGcSi7fD5wJF2b/tCKRDRL/LoM05SOrbld2Re3gt/0uLPMonLj34
 vw5qOE6EJftXSlq+JdDtmbiogVNom+9irBycntYZZsHulgmiya4wJzaqYs85kXJHxImh
 zMEQ==
X-Gm-Message-State: ALQs6tBJhYN4fEJ+xD9VyFeebcdNZro7A9Z36g7v9yOa8ZI3pzW9hc0a
 acr3uytchWaXapubIyYV90caVATx
X-Google-Smtp-Source: AB8JxZo39eEX+aaglZa/IOE5LEr9d/Cj4Sgmo2K6oubjPuBabs0u/9sfvQ0YTg4frtpOsUCIv7a0Eg==
X-Received: by 10.28.143.143 with SMTP id r137mr20100482wmd.103.1525601654185; 
 Sun, 06 May 2018 03:14:14 -0700 (PDT)
Received: from breton.holly.idiocy.org
 (ip6-2001-08b0-03f8-8129-3cf5-1d49-5bd6-bd96.holly.idiocy.org.
 [2001:8b0:3f8:8129:3cf5:1d49:5bd6:bd96])
 by smtp.gmail.com with ESMTPSA id 69-v6sm6732607wmi.29.2018.05.06.03.14.13
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 06 May 2018 03:14:13 -0700 (PDT)
Date: Sun, 6 May 2018 11:14:11 +0100
From: Alan Third <alan@HIDDEN>
To: Nick Helm <nick@HIDDEN>
Subject: Re: bug#31371: 26.1; Menu-bar stops working after search
Message-ID: <20180506101411.GA3327@HIDDEN>
References: <m2a7tep4rm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <m2a7tep4rm.fsf@HIDDEN>
User-Agent: Mutt/1.9.3 (2018-01-21)
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 31371
Cc: 31371 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

On Sun, May 06, 2018 at 02:15:57AM +1200, Nick Helm wrote:
> 
> Emacs menu-bar does not work after a help search on macOS.
> 
>   Emacs -Q
>   Click "Help" in the macOS menu-bar
>   Enter any text in the help search field, e.g. "text"
>   Move the mouse pointer to the right until the help menu disappears
>   Move the mouse pointer back over "Help"
> 
> Note that the Help menu does not reappear and the mouse does not move
> correctly (slows down) while moving over the word "Help". Subsequent
> clicks on the menu-bar do not work as expected either. 

Looks like it goes into some sort of infinite loop calling
ns_update_menubar. If you go to the left so it opens some non‐help
menu, then go back to help it works fine (I think).

The menu code seems pretty horrible to me, so this may take some
time...
-- 
Alan Third




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31371; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 May 2018 14:16:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 05 10:16:26 2018
Received: from localhost ([127.0.0.1]:50761 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fExz8-0000RX-0I
	for submit <at> debbugs.gnu.org; Sat, 05 May 2018 10:16:26 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36102)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nick@HIDDEN>) id 1fExz5-0000RI-58
 for submit <at> debbugs.gnu.org; Sat, 05 May 2018 10:16:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <nick@HIDDEN>) id 1fExyy-0003fo-Fm
 for submit <at> debbugs.gnu.org; Sat, 05 May 2018 10:16:17 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ***
X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,
 RECEIVED_FROM_WINDOWS_HOST,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:41618)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <nick@HIDDEN>) id 1fExyy-0003fi-C1
 for submit <at> debbugs.gnu.org; Sat, 05 May 2018 10:16:16 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55296)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <nick@HIDDEN>) id 1fExyw-0004gG-W0
 for bug-gnu-emacs@HIDDEN; Sat, 05 May 2018 10:16:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <nick@HIDDEN>) id 1fExyr-0003cE-TK
 for bug-gnu-emacs@HIDDEN; Sat, 05 May 2018 10:16:14 -0400
Received: from mail-me1aus01on0119.outbound.protection.outlook.com
 ([104.47.116.119]:58496 helo=AUS01-ME1-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <nick@HIDDEN>) id 1fExyr-0003aF-36
 for bug-gnu-emacs@HIDDEN; Sat, 05 May 2018 10:16:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tenpointcomms.onmicrosoft.com; s=selector1-tenpoint-co-nz;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
 bh=P4hP1GY5JGLOFGEir9HwTGL/Vb7PoBG2TjBKbr4SdkQ=;
 b=EhYux9kHU3eELpYOtJnGYCvPpdzwRonMm/rcLaeszJfTuLFPB+nzqLobD+xAwX8onMPKhdvwwumiv1K1Y5IIRu/E0lfcS1c5/macnLJgOoRYSx3GBfMiFnF6vwhMdHe+urRl8ejnhoFJbAZYbXuwe19/3qyJMbsk8Benxd+Vgv4=
Authentication-Results: spf=none (sender IP is )
 smtp.mailfrom=nick@HIDDEN; 
Received: from jupiter.local (125.239.171.29) by
 ME2PR01MB2897.ausprd01.prod.outlook.com (2603:10c6:201:22::14) with Microsoft
 SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.735.16; Sat, 5 May 2018 14:16:01 +0000
From: Nick Helm <nick@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 26.1; Menu-bar stops working after search
Date: Sun, 06 May 2018 02:15:57 +1200
Message-ID: <m2a7tep4rm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: [125.239.171.29]
X-ClientProxiedBy: SY2PR01CA0011.ausprd01.prod.outlook.com
 (2603:10c6:1:14::23) To ME2PR01MB2897.ausprd01.prod.outlook.com
 (2603:10c6:201:22::14)
X-MS-PublicTrafficType: Email
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0;
 RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020);
 SRVR:ME2PR01MB2897; 
X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2897;
 3:AtdCf/PE9DReqnPgRqGZGzW+rpW5G5/o+3KmsrelaE+tOakJGltXlSSna8dy+7Ecnfx29JbJxhggKdcwvtKyePWkX99A8gHVHy2eXf25jj/s6a4mZPRtumaxTst7nzJQlaaWXAJQE15LMMVoZL9x0FYLFVmJt6AGDx/xWmfJWyCi0j6JxOUwhN24FfJsJoHvJEFeGG+Kw8dLicmgLdd81zQ+1RujAHPUGrLvudV2GK4t49GVRgX6pQs9lJSKEreH;
 25:89p7dxWZ+OrC8bEqpaM7diXfZTlYed81MCCPKTS4xU6P12twRhAf8vk0NkC+EMY8xhBbk6e2tHRBfPolEtO5eZ0koRQtEzhkO3smHUnN8TTe1qGr4Mtil0PBgUXouWJ7t2cufIsQbi68mU2NZj9hIoTI7lLNkMWHjiJUDjaTzJcoV+vsNNnBc8DL2SPqM/JvkwfnUSBaLNU8jxji+mixbZiUfKjUscbdPMWAj9coizCna5Wt7Nzbxn2YOdy/Wkw4KhmcU7QJz9JWOIipcRvDrfRBMDsXA617AQ8DeRTPFAWp4TBr9DpjOTWH1IndQrWVk7Gz+ap+HwY65A5zxHd3zA==;
 31:qzINp4vhsTeka44AKYKxPdqTcnpdI5CMaQOBZsLU0SQxgCANUawbebPFVJVoHn503x/FEIi5vdjEe+EiY+IXrK3a494LwxcbNHlKOohiivfQAw02iJJrcu5sTIpM7UH/FZPx5idcg1kp0Ds+ChYyGNBKSorL7hvxn43oY9GEA1rwXowDEwhETN90+GOR18GIGOL0A+ycfbdbdlho35quLHnuH3uHWEa/qcyhSkYiCEU=
X-MS-TrafficTypeDiagnostic: ME2PR01MB2897:
X-Microsoft-Antispam-PRVS: <ME2PR01MB289775834CCE8006E4343103FE850@HIDDEN>
X-Exchange-Antispam-Report-Test: UriScan:(158342451672863)(265634631926514)(788757137089); 
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
 RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(6041310)(20161123560045)(20161123564045)(20161123562045)(2016111802025)(20161123558120)(6072148)(6043046)(201708071742011);
 SRVR:ME2PR01MB2897; BCL:0; PCL:0; RULEID:; SRVR:ME2PR01MB2897; 
X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2897;
 4:XyyYsUjWtXfpon5clPm6fuep9HOl6baKh7HftKk5foRRf7ARLxZaHOBCfDiDBm1S+byA+ttc+wvw62z8l2slSzmDxAcz3WO99drpGSM+DdrmOJAxmBG9l4VhKMe5sf3hZZP7ARVpTl34Keb8wQP9Vkq6oj0VkHVTyJ5sreuLwABBKidJMrpRyO+PpukAb4XKQESCUr2YdJMLKcOLhWrMlNgx1PEmqhIgpINhyDfeHeC/NcBPHQUXVIv5CBqe5rg6SzbrwjHa5kKi+qSxb/C3mvM3evYZiVBYUQ8s3j9Zaq04sik06cbh4JY+eX+q7UThIblmE4yhVhAtNFswpRzfEpW27bMG7U0EAYRAGtki2ciZl05SJYI17OKtz+6Q0qBx
X-Forefront-PRVS: 0663390E1B
X-Forefront-Antispam-Report: SFV:NSPM;
 SFS:(10019020)(39380400002)(396003)(346002)(376002)(366004)(39830400003)(199004)(189003)(377424004)(7736002)(386003)(6506007)(59450400001)(25786009)(8676002)(2351001)(97736004)(2361001)(86362001)(305945005)(105586002)(956004)(486006)(8746002)(26005)(8936002)(81156014)(81166006)(36756003)(2616005)(476003)(106356001)(5660300001)(6666003)(6916009)(316002)(2486003)(50466002)(58126008)(66066001)(53936002)(45080400002)(186003)(47776003)(74482002)(6512007)(6486002)(52116002)(16526019)(52146003)(478600001)(68736007)(23676004)(551544002)(2906002)(3846002)(6116002);
 DIR:OUT; SFP:1102; SCL:1; SRVR:ME2PR01MB2897; H:jupiter.local; FPR:; SPF:None;
 LANG:en; PTR:InfoNoRecords; A:1; MX:1; 
Received-SPF: None (protection.outlook.com: tenpoint.co.nz does not designate
 permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNRTJQUjAxTUIyODk3OzIzOk9GbS9iL0c2U0E2TndHeWFORnhwL1JUNGNS?=
 =?utf-8?B?bTZKRnFocEFYMmtVT3k1eUsvT1pGMEtub3A3d0M5RXVyRkdteWhtZVZmaDdo?=
 =?utf-8?B?emN5dFl5bEJjaktaOWJlRkh3end1aWtZbG1OckExREZtWjFoQTUrMm1kaFVP?=
 =?utf-8?B?V2kxbWlWN1M1ZUxOdVRRUVgrbjlrWWxaSWtuRjhvck5YTGFJMXMzejk1bk1r?=
 =?utf-8?B?akZ5aklMMlZ6M3I2eVJyaVRiZUFtZ0NhUnZIaEVOQlErVG43U3JTblpWa1Zi?=
 =?utf-8?B?clFZWkpuWUFPaDZnMDFZRHJmUUVVU0Yvcm9IZWc3TnY0c1RkQUxVZEVFWEo1?=
 =?utf-8?B?VkR1elVzcEpseG40WXp1SUtVeDA0YldvWkY0emRPcS9DY1ZtbTlzZjRJVWUy?=
 =?utf-8?B?RTgwd1dGWEU2Skg3UzhGemprS3lScHMwOURuYnhXTThtTnRZcGJXem9KcDRV?=
 =?utf-8?B?alM1bzQ3Q0ZtZnA4aHZwUmt0ajJvR1pWcXR1M3dxbUZkRjFDdUFYdWovbDdO?=
 =?utf-8?B?bFIvOTEySGVXdXJYUUZ2SVZXWE5FV05zcUdjQkhNQW16eGFvQXByOEFKWHRC?=
 =?utf-8?B?blE0dUlWL093Zlh1Q3lYWmNRWVArVWU2MjgzS3o1R2d0VUQ4R2g3VjdCT2RR?=
 =?utf-8?B?N2xsTm11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/NX0q5Sud/iFKyFJoSi4oeQXQ9Mu7ALEY8iJMxHwYcHyhgC947dgTC79Iy7+Y+9MTiN5o21694lGUMJubyNHqPDJIJGw7ICfeAd95URMDqOF2DbWN2mDE+m70=;
 24:W6kJ7v78C0RnHjIAa54dAT3Oi7lThNI8RdvsPP+PW0fajAuf2/2uEsRwpnK/pcRDU0a30SajnaUHsPXVhTWMvMF49Q+2Q/NULsfQRg3+oAI=
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2897;
 7:VOVDXlUKm5khu7XY/CdsDnh4emq+EZd89y9c6WqjukdclAvKTpCVhGW164LvM2rLxocLe4RFURalu6dReBFjWF49T8pQgaENNmgO2vqtfMOl1gVy5fU/VaZI8pH25n0EckjLUT24nP0zwpTcxXk//i2bVTfFEAhLHxUBaqai3NToYiCXUnIsOS4aV8DGt+NNIvSdqz6FpsMbhzJgprJKw292pGX0jT/tnU4gKEAJyuquN/Ei1jfluOqtEJ2YkLgT
X-MS-Office365-Filtering-Correlation-Id: 5075d252-0a72-44ca-7c14-08d5b292bb5b
X-OriginatorOrg: tenpoint.co.nz
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2018 14:16:01.9046 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 5075d252-0a72-44ca-7c14-08d5b292bb5b
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: ed686f26-19e8-407b-91d0-7364c1c6f5cf
X-MS-Exchange-Transport-CrossTenantHeadersStamped: ME2PR01MB2897
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.1 (-----)


Emacs menu-bar does not work after a help search on macOS.

  Emacs -Q
  Click "Help" in the macOS menu-bar
  Enter any text in the help search field, e.g. "text"
  Move the mouse pointer to the right until the help menu disappears
  Move the mouse pointer back over "Help"

Note that the Help menu does not reappear and the mouse does not move
correctly (slows down) while moving over the word "Help". Subsequent
clicks on the menu-bar do not work as expected either.=20

This can also cause frames not receive focus correctly =E2=80=93 e.g. two f=
rames
can simultaneously appear to have focus or all frames can be out of
focus while Emacs is the foreground app. The latter can give the
impression that Emacs has locked up, as no keystrokes reach the frame.

It's possible to avoid the problem by hiding the whole system-provided
help menu in nsterm.m, but this is obviously not a great solution.



In GNU Emacs 26.1 (build 1, x86_64-apple-darwin17.5.0, NS appkit-1561.40 Ve=
rsion 10.13.4 (Build 17E202))
 of 2018-04-28 built on jupiter.local
Windowing system distributor 'Apple', version 10.3.1561
Recent messages:
Opening nnimap server on Office365...
Opening connection to localhost via shell...
Opening connection to localhost...done
Opening nnimap server on Office365...done
Opening nntp server on Gmane...done
1 new newsgroup has arrived
Checking new news...
Reading active file via nnnil...done
Reading active file via nndraft...done
Checking new news...done

Configured using:
 'configure --with-gnutls=3Dno'

Configured features:
JPEG NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS THREADS LCMS2

Important settings:
  value of $LANG: en_NZ.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Group

Minor modes in effect:
  gnus-undo-mode: t
  savehist-mode: t
  global-eldoc-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow gnus-cite sort mail-extr nnir emacsbug sendmail gnus-async
gnus-ml disp-table gnus-demon nndraft nnmh cl-extra help-mode utf-7
network-stream nsm auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs starttls nnfolder nnnil gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime
smime dig mailcap nntp gnus-cache gnus-sum gnus-group gnus-undo
gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc
nnoo parse-time gnus-spec gnus-int gnus-range message rmc puny seq
byte-opt bytecomp byte-compile cconv format-spec rfc822 mml mml-sec
password-cache epa derived epg epg-config mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus
nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums
mail-utils mm-util mail-prsvr wid-edit time dired-x easymenu dired
dired-loaddefs pcase savehist easy-mmode iso-transl edmacro kmacro
cl-loaddefs cl-lib gv plain-theme time-date tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote kqueue cocoa ns lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 292450 17785)
 (symbols 48 29375 1)
 (miscs 40 60 366)
 (strings 32 55165 2991)
 (string-bytes 1 1653924)
 (vectors 16 44144)
 (vector-slots 8 831856 12902)
 (floats 8 221 584)
 (intervals 56 272 60)
 (buffers 992 19))




Acknowledgement sent to Nick Helm <nick@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#31371; Package 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: Fri, 1 Jun 2018 01:30:04 UTC

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