From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#44333: 27.1; macOS menu bar 2-clicks Date: Sat, 31 Oct 2020 15:01:01 +0000 Message-ID: <20201031150101.GN59267@breton.holly.idiocy.org> References: <2B2932BB-DFD0-409C-9351-FACEC46927BB@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19057"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44333@debbugs.gnu.org, Viktor Kharitonovich To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 31 16:02:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kYsOR-0004qe-G2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 16:02:11 +0100 Original-Received: from localhost ([::1]:60494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYsOQ-0001qd-I8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 11:02:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYsOJ-0001qG-0f for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 11:02:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50963) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYsOI-0005Oz-Mr for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 11:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYsOI-0007vj-BF for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 11:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Oct 2020 15:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44333 X-GNU-PR-Package: emacs Original-Received: via spool by 44333-submit@debbugs.gnu.org id=B44333.160415647730426 (code B ref 44333); Sat, 31 Oct 2020 15:02:02 +0000 Original-Received: (at 44333) by debbugs.gnu.org; 31 Oct 2020 15:01:17 +0000 Original-Received: from localhost ([127.0.0.1]:34276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYsNZ-0007ug-8J for submit@debbugs.gnu.org; Sat, 31 Oct 2020 11:01:17 -0400 Original-Received: from wilbur.contactoffice.com ([212.3.242.68]:37300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYsNW-0007uS-H3 for 44333@debbugs.gnu.org; Sat, 31 Oct 2020 11:01:15 -0400 Original-Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15]) by wilbur.contactoffice.com (Postfix) with ESMTP id E4952248B; Sat, 31 Oct 2020 16:01:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1604156467; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To; l=1022; bh=+FkxSGQ/z0FGZ2KRrv3IK4ultAWQzGW1WdSXTsFSbXU=; b=LbeE/hN1TTJvIlWGG8OS/MNaGst0NcFAZ8piO3xItpWvJvgCzurjA/IBwG4+5IOy WS8rPZ7ul/u8Nbl6Qt2iysOqi8TuPGkzHK8QEh3+vRS0mtH6H93cNHBHUSOsFGsoCLc JAGdaBZXNf0I6vwkl30rP+hKU3reMRKPJzRgDZnrocgIwWoKX8JF/1PYhN4hEqi7HDO k6N2FujJX8a8A8qHGog4wYIV3G41wJKEYT5mEs750LFapEDVIzR9TO4vfUHeElbzhsB 90isafk9zmTEbVfU5Xuy41awEQ0UH0/H0gllTofiZbpirYOPP0DfV/xTEJbxkjfEgud Biu3Jgdvgw== Original-Received: by smtp.mailfence.com with ESMTPA ; Sat, 31 Oct 2020 16:01:02 +0100 (CET) Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id AE15F20264B2A2; Sat, 31 Oct 2020 15:01:01 +0000 (GMT) Mail-Followup-To: Alan Third , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Viktor Kharitonovich , 44333@debbugs.gnu.org Content-Disposition: inline In-Reply-To: <2B2932BB-DFD0-409C-9351-FACEC46927BB@acm.org> X-ContactOffice-Account: com:241649512 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192276 Archived-At: On Sat, Oct 31, 2020 at 03:08:14PM +0100, Mattias Engdegård wrote: > > IIRC you need to add Ruby to the accessibility permissions group in > > the privacy settings. > > What are the privacy/security implications of doing so? I have no idea. > Since the Mac port reportedly doesn't suffer from this problem, > could we learn from it and do the same? IIRC the problem is due to the reposting of the menu click event so the menu can be populated when lisp is running. The Mac port doesn't have this problem most probably because it's a completely different architecture but it has the GUI and lisp parts split into two separate threads which is one way I can see of fixing this. I'm not keen on doing the complete overhaul required because I'll likely introduce more bugs than I'll fix, and I'm pretty sure my next computer isn't going to be a Mac. Introducing lots of bugs then running doesn't seem like a good approach. If anyone else has a simpler solution I'd love to hear it. -- Alan Third