From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 26 18:30:31 2019 Received: (at submit) by debbugs.gnu.org; 26 Jan 2019 23:30:31 +0000 Received: from localhost ([127.0.0.1]:46847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnXPC-0007Co-FK for submit@debbugs.gnu.org; Sat, 26 Jan 2019 18:30:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnWDm-0005D9-0h for submit@debbugs.gnu.org; Sat, 26 Jan 2019 17:14:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:41058) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gnWDd-0005tI-CE for submit@debbugs.gnu.org; Sat, 26 Jan 2019 17:14:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnWDa-0001Zg-Bk for bug-gnu-emacs@gnu.org; Sat, 26 Jan 2019 17:14:29 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnWDX-0005s0-8z for bug-gnu-emacs@gnu.org; Sat, 26 Jan 2019 17:14:26 -0500 Received: from mail-it1-x143.google.com ([2607:f8b0:4864:20::143]:33157) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnWDW-0005r7-V6 for bug-gnu-emacs@gnu.org; Sat, 26 Jan 2019 17:14:23 -0500 Received: by mail-it1-x143.google.com with SMTP id m8so7810252itk.0 for ; Sat, 26 Jan 2019 14:14:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=tX9ZykCUfGvH3UTSFy9b8FAawTH6X/HjEPzhjdO8YPg=; b=l/VDGTLJ1co4A+yqJ4Ty1ytl46X8EHAoUHqXUuJ1spD4IjXtSTO+Rpoa7nztbg/CF4 HHDicxKbQWKhmMLmmLcmUzpGSnca9g4sqMSI54vdPW7IKzSVrVY6AH6fteUx5VVGvBtw 6YUN5c3z//VCjl+Ao2vLoPJ+xaiebkHwCJR7xKrAoJeTCTlxzeH9byxbpCMrRrX7htIH RZHNwWA12iR88EiYaC6VzKuHPbC3aURNIWbWz9GPggwzLrKMyb/krPrVUlpNje9CdcG5 3DTnilpPjJyjingctv9NxPPBNTFIBi25MsePa07eUaEiRmGt3aANnie5mLRcpfh6wdFd J1SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=tX9ZykCUfGvH3UTSFy9b8FAawTH6X/HjEPzhjdO8YPg=; b=EIQ4DSxQKz/Qd2pW5pU5QbDYJKFh4zAzvt37K0tUtFxxko9s+9leBtxI8LgxuB6vAy yg6xJ0SbVPb6rUXBOzeX/IEnYww2tvPElhyJDg248r4EnRwks92atsrTWJYxFJ8bSn/3 cof0c7MHAYe3z7eZKB12wcwAFuGjtRhrUNua/8d1beJVtD4OdeEPNO3Px/WUFfZBMZK5 ynpnrsc321BmLlhbr/BopSUS44qSAKNii027ZRfNH6GzyxMdVOEuj8IWV6yDJi0/NZsv SyaB+BkXDKll6EB5pHOkp6Xoe7PyBc4kBSGASOFuynoYAyZX1NWvJveeVXAZkdx36MiB zI8w== X-Gm-Message-State: AJcUukdyorfXkbuFYi3fmxArHkoglqBBvm3Hq2BBZEa7FgJyisZWW5vL LJH+DukErsElk/sv/iVZTu3TJZ7A X-Google-Smtp-Source: ALg8bN40SLONvsIENRCMWo93kVwwLZ7Vg+hjEtu8lGACl1jny+h4R6ZCSbrR9PTOWa9KRmEnPUf1BQ== X-Received: by 2002:a02:ba01:: with SMTP id z1mr10433065jan.100.1548540860764; Sat, 26 Jan 2019 14:14:20 -0800 (PST) Received: from ?IPv6:2601:8c3:4100:99ea:2d29:ac90:b8c8:df9? ([2601:8c3:4100:99ea:2d29:ac90:b8c8:df9]) by smtp.gmail.com with ESMTPSA id 197sm15351338itx.21.2019.01.26.14.14.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Jan 2019 14:14:20 -0800 (PST) From: Anthony Michael Agelastos Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: 27.0.50; Menu bar requires 2 clicks, is unresponsive, or has delays on macOS Mojave Message-Id: Date: Sat, 26 Jan 2019 15:14:19 -0700 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3445.102.3) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::143 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 26 Jan 2019 18:30:28 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) From: Anthony Agelastos To: bug-gnu-emacs@gnu.org Subject: 27.0.50; Menu bar requires 2 clicks, is unresponsive, or has = delays on macOS Mojave Date: Sat, 26 Jan 2019 15:08:39 -0700 Message-ID: = --text follows this line-- Greetings Emacs Project, I noticed some awkward behavior using Emacs on macOS Mojave. I have tried Emacs through MacPorts and Homebrew and have observed this issue with all builds. Anyways, when I launch Emacs.app, click on the main window, and then click on "Buffers" on the menu bar, it doesn't display. Subsequent clicks will typically display it. During normal work, it seems as if activating the menu items requires 2 clicks for all of the pull-down menus to activate. I also attached a video showing this within the original ticket I created for the MacPorts project (see URL below).=20= https://trac.macports.org/ticket/57931 In GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin18.2.0, NS = appkit-1671.20 Version 10.14.2 (Build 18C54)) of 2019-01-11 built on mojave.internal.macports.net Repository revision: e567ac149518967f992b1286d90d94df6bb589b7 Repository branch: HEAD Windowing system distributor 'Apple', version 10.3.1671 System Description: Mac OS X 10.14.3 Recent messages: Starting new Ispell process ispell with default dictionary... Error enabling Flyspell mode: (Searching for program No such file or directory ispell) Spacemacs is ready. Starting new Ispell process /opt/local/bin/aspell with default = dictionary... Loading /Users/iqgrande/.emacs.d/.cache/recentf...done Open the quickhelp. Skipping check for new version (reason: dotfile) Auto-evilification could not remap these functions in map = =E2=80=98edebug-mode-map=E2=80=99: - =E2=80=98edebug-Go-nonstop-mode=E2=80=99 originally mapped on = =E2=80=98G=E2=80=99 Configured using: 'configure --prefix=3D/opt/local --without-dbus --without-gconf --without-libotf --without-m17n-flt --without-gpm --with-gnutls --with-xml2 --with-modules --infodir /opt/local/share/info/emacs --with-json --with-ns --with-lcms2 'CFLAGS=3D-pipe -Os = -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platf= orm/Developer/SDKs/MacOSX10.14.sdk -arch x86_64' 'CPPFLAGS=3D-I/opt/local/include = -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platf= orm/Developer/SDKs/MacOSX10.14.sdk' 'LDFLAGS=3D-L/opt/local/lib -Wl,-headerpad_max_install_names = -Wl,-no_pie = -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOS= X.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64'' Configured features: NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Spacemacs buffer Minor modes in effect: helm-descbinds-mode: t helm-mode: t projectile-mode: t recentf-mode: t winum-mode: t winner-mode: t volatile-highlights-mode: t global-vi-tilde-fringe-mode: t spaceline-info-mode: t spaceline-helm-mode: t save-place-mode: t savehist-mode: t popwin-mode: t persp-mode: t global-linum-mode: t Info-breadcrumbs-in-mode-line-mode: t flx-ido-mode: t eyebrowse-mode: t global-evil-surround-mode: t evil-surround-mode: t global-evil-search-highlight-persist: t evil-search-highlight-persist: t show-smartparens-global-mode: t show-smartparens-mode: t evil-escape-mode: t global-anzu-mode: t anzu-mode: t eval-sexp-fu-flash-mode: t clean-aindent-mode: t which-key-mode: t override-global-mode: t global-undo-tree-mode: t undo-tree-mode: t shell-dirtrack-mode: t evil-mode: t evil-local-mode: t spacemacs-leader-override-mode: t global-spacemacs-leader-override-mode: t global-hl-line-mode: t xterm-mouse-mode: t global-auto-revert-mode: t ido-vertical-mode: t global-page-break-lines-mode: t page-break-lines-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-stan hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-stan /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-exp hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-exp /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-J hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-J /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-eshell hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-eshell /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-emacs-lisp = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-emacs-lisp= /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-gnus hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-gnus /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-css hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-css /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-lob hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-lob /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-forth hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-forth /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-macs hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-macs /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-version = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-version /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-scheme hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-scheme /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ox hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ox /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-abc hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-abc /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-C hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-C /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-capture = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-capture /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-ref hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-ref /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-clojure hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-clojure /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-mouse hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-mouse /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-ledger hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-ledger /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-ctags hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-ctags /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-entities = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-entities /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-archive = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-archive /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-screen hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-screen /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-haskell hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-haskell /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-asymptote = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-asymptote /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-mhe hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-mhe /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-table hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-table /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-keys hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-keys /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ox-org hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ox-org /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-plot hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-plot /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-awk hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-awk /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-groovy hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-groovy /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-octave hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-octave /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-faces hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-faces /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-colview = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-colview /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-R hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-R /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-timer hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-timer /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-ebnf hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-ebnf /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-mobile hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-mobile /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-fortran hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-fortran /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-shell hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-shell /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-perl hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-perl /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-sqlite hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-sqlite /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-sed hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-sed /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-list hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-list /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-ruby hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-ruby /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-eval hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-eval /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-habit hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-habit /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-clock hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-clock /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ox-html hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ox-html /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-src hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-src /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-lisp hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-lisp /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-ditaa hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-ditaa /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-pcomplete = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-pcomplete= /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-lint hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-lint /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-rmail hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-rmail /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ox-latex hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ox-latex /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-sass hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-sass /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-io hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-io /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-tangle hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-tangle /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-calc hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-calc /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-java hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-java /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ox-icalendar = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ox-icalendar /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-eww hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-eww /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ox-md hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ox-md /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ox-beamer hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ox-beamer /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-element = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-element /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-protocol = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-protocol /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-mscgen hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-mscgen /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-gnuplot hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-gnuplot /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-latex hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-latex /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-id hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-id /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-vala hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-vala /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ox-man hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ox-man /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-feed hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-feed /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-lua hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-lua /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-table hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-table /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-ocaml hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-ocaml /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-coq hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-coq /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-picolisp = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-picolisp /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-indent hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-indent /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-lilypond = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-lilypond /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-matlab hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-matlab /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-datetree = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-datetree /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-python hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-python /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-bbdb hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-bbdb /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-makefile = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-makefile /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-duration = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-duration /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-agenda hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-agenda /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-dot hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-dot /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-js hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-js /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ox-publish hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ox-publish /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-inlinetask = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-inlinetas= k /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-org hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-org /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-core hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-core /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-compat hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-compat /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-docview = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-docview /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ox-odt hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ox-odt /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-plantuml = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-plantuml /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ox-ascii hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ox-ascii /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-loaddefs = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-loaddefs /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-w3m hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-w3m /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-bibtex hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-bibtex /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-info hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-info /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-hledger hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-hledger /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-maxima hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-maxima /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-macro hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-macro /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-sql hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-sql /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-attach hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-attach /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-processing = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-processing= /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ox-texinfo hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ox-texinfo /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-irc hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-irc /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-crypt hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-crypt /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-footnote = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-footnote /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/org-install = hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/org-install /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-comint hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-comint /Users/iqgrande/.emacs.d/elpa/org-plus-contrib-20190122/ob-shen hides = /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/ob-shen Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa epg gnus-util rmail rmail-loaddefs time-date mailabbrev gmm-utils mailheader sendmail mail-utils helm-command helm-elisp helm-eval edebug backtrace find-func helm-info helm-descbinds helm-mode helm-files helm-buffers helm-tags helm-locate helm-grep helm-regexp helm-utils helm-help helm-types helm helm-source helm-multi-match helm-lib async diminish projectile grep compile ibuf-ext ibuffer ibuffer-loaddefs recentf tree-widget hl-todo server ws-butler winum winner etags multifile generator xref project volatile-highlights vi-tilde-fringe spaceline-config spaceline-segments spaceline smartparens-config smartparens-text saveplace savehist popwin persp-mode linum info+ image-mode flx-ido flx eyebrowse format-spec evil-unimpaired f s evil-surround evil-search-highlight-persist highlight evil-numbers evil-lisp-state smartparens dash evil-indent-plus evil-exchange evil-escape evil-args evil-anzu anzu eval-sexp-fu rx noutline outline clean-aindent-mode adaptive-wrap hybrid-mode exec-path-from-shell evil-evilified-state which-key use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key hydra lv cus-edit cus-start cus-load evil evil-keybindings evil-integration undo-tree diff evil-maps evil-commands reveal flyspell ispell evil-jumps evil-command-window evil-types evil-search evil-ex shell pcomplete comint ansi-color evil-macros evil-repeat evil-states evil-core evil-common windmove thingatpt rect evil-digraphs evil-vars ring quelpa help-fns radix-tree package-build mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr lisp-mnt hl-line xt-mouse autorevert filenotify bind-map powerline powerline-separators color powerline-themes use-package-core cl-extra disp-table wid-edit spacemacs-dark-theme spacemacs-common core-configuration-layer eieio-compat ht cl help-mode warnings ido-vertical-mode ido core-spacemacs core-use-package-ext core-transient-state core-micro-state core-toggle core-keybindings core-fonts-support core-spacemacs-buffer core-funcs core-themes-support core-display-init core-jump core-auto-completion core-release-management core-dotspacemacs core-command-line pcase core-debug derived profiler page-break-lines easy-mmode subr-x edmacro kmacro advice info finder-inf package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib 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 threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 569564 521870) (symbols 48 44483 360) (strings 32 96430 56555) (string-bytes 1 3467322) (vectors 16 64834) (vector-slots 8 1090441 436558) (floats 8 360 832) (intervals 56 3008 540) (buffers 992 14)) From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 30 14:57:29 2019 Received: (at 34213) by debbugs.gnu.org; 30 Jan 2019 19:57:29 +0000 Received: from localhost ([127.0.0.1]:51942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1govzE-0004bD-Tp for submit@debbugs.gnu.org; Wed, 30 Jan 2019 14:57:29 -0500 Received: from mail-wr1-f53.google.com ([209.85.221.53]:33311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1govzC-0004ax-EF for 34213@debbugs.gnu.org; Wed, 30 Jan 2019 14:57:26 -0500 Received: by mail-wr1-f53.google.com with SMTP id p7so864679wru.0 for <34213@debbugs.gnu.org>; Wed, 30 Jan 2019 11:57:26 -0800 (PST) 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=iU/RBfMV6Le0hnlBJWGpLEVjt49nhH2CMn/qMVtUhAM=; b=orbW+KXddlR8mXmNPITajDsRIQOFpNOjj2OYQxrYzbtGQ9fGCZhUMReeI4EyAZwfVZ Mm5BfQbEUi+vUO391xwo2sb62uRuXrMQP1iLr4Psotn1phUD1OKQIyAgc+JVX0iUcQD5 WnhWcQ55wfzZcB035aKQL7aJcgCs3SJEHmZF+wmXrC9j/0+/jdOAhgCRMbvU5+fXjDU8 qiHdehYBlHXVttY9Kuw5YYdP02rcYgvaipHUBj7AxJuvf7NjVUGItAysVdFVZ2rVpkmg 9IQKyypZ1YAJjov2UsqqDQCfRCvTLanMFLrSGsCDjFxZBL1FsXq8vSRvH9LzgDyIKcw4 GkVg== 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=iU/RBfMV6Le0hnlBJWGpLEVjt49nhH2CMn/qMVtUhAM=; b=D6TB4M7z+OAFI2K7pY48mjwPf1A+k9Aq8ofh2kz+m5AlT/53seO7IfrbVb7zHmFDhg uZdQ+VPRjcgku5xRntwmYbAmyPGpPL6w3rP02brVdMrKh9OSl6kvIMu45QGvX0IUYLCI SX8EyriOhfbij97CJDphVfV0dLQxpAsiHqQkNnDGN4xGVC3pvvYFS2+/SXh3lESRl+0F zqRcyVHdwdmF989htusw4/Zupv26RBXRB2mvGVgyMh9//FORj/GybiAUivLu9KcwQF4H BMwXo33gY3xdS8A1dhUort9HcSufNcoi6PVFbQ4F4X2m1CQE8P5M8ivwKwYJTLz1SfWg 0I2g== X-Gm-Message-State: AJcUukeRxK2vBigxivXqQswfWI8QqoZ/ypLdkJSv06VgbhxBBYV+pA4p h9eQE3xHFX/b/W/I0/qBhc4= X-Google-Smtp-Source: ALg8bN512EpIQCfZ82aG+Ve9CQirn7Mg5uT9EPtd8vMy7IvFFew4cJWiOA0lVIv9xc7VNtN5jbbjdA== X-Received: by 2002:a5d:568c:: with SMTP id f12mr29670903wrv.101.1548878237261; Wed, 30 Jan 2019 11:57:17 -0800 (PST) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-41b3-5d6b-3238-fe5d.holly.idiocy.org. [2001:8b0:3f8:8129:41b3:5d6b:3238:fe5d]) by smtp.gmail.com with ESMTPSA id k15sm2985673wru.8.2019.01.30.11.57.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Jan 2019 11:57:16 -0800 (PST) Date: Wed, 30 Jan 2019 19:57:14 +0000 From: Alan Third To: Anthony Michael Agelastos Subject: Re: bug#34213: 27.0.50; Menu bar requires 2 clicks, is unresponsive, or has delays on macOS Mojave Message-ID: <20190130195714.GB49662@breton.holly.idiocy.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 34213 Cc: 34213@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) On Sat, Jan 26, 2019 at 03:14:19PM -0700, Anthony Michael Agelastos wrote: > > I noticed some awkward behavior using Emacs on macOS Mojave. I have > tried Emacs through MacPorts and Homebrew and have observed this issue > with all builds. Anyways, when I launch Emacs.app, click on the main > window, and then click on "Buffers" on the menu bar, it doesn't display. > Subsequent clicks will typically display it. During normal work, it > seems as if activating the menu items requires 2 clicks for all of the > pull-down menus to activate. I also attached a video showing this within > the original ticket I created for the MacPorts project (see URL below). > > https://trac.macports.org/ticket/57931 I haven’t got round to looking at this yet. I believe something has changed in Mojave that affects the way Emacs defers the menu click. When the menu bar is first populated Emacs only generates the top level menu bar. When you click on it Emacs then swallows the click and allows lisp to generate the rest of the menu. Once it’s completed, it reruns the click. I think it’s supposed to be an optimisation, but it’s going wrong somewhere. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 06 07:05:40 2020 Received: (at 34213) by debbugs.gnu.org; 6 Apr 2020 11:05:40 +0000 Received: from localhost ([127.0.0.1]:47239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLPZT-0004Mc-OK for submit@debbugs.gnu.org; Mon, 06 Apr 2020 07:05:40 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:37085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLOqz-0001HH-7j for 34213@debbugs.gnu.org; Mon, 06 Apr 2020 06:19:42 -0400 Received: by mail-ot1-f65.google.com with SMTP id g23so14750023otq.4 for <34213@debbugs.gnu.org>; Mon, 06 Apr 2020 03:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iamdavidhart-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=QG+NxktIh0KjGKzAm5zV9lFcxvOwJZ23QQaGLthvcrM=; b=fg9rGtdv/ZJRKumUtKxpWbbB1dgenRd5BTYUxZri+Y6eLfxJob58M5pOHCowkcv80x vSgJG8nd49FDd12KTIY69O8R+3+1D+cc3HdjBrqi5CPZBSeKUBodd/KPOGOcw44d2QxX zf4kFk0ply29Hbj7f7dRBYtt7xyfcQOz10nPRjgjp4Mxf/VE89gJnK+4wxUtFFT5YujN pPmoDBW3WPxXig5Ut5zp1V6BBv6O60o5guiMGMAb3aN21ci6NFFpkWfn11Se9WKhfGd+ HbyZokXt1YU3Lzi3IQlJbPMtD8fB71uftV7bOCBa5m6fLK87K4L2lycmhTKVqlFGz5FW fscA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=QG+NxktIh0KjGKzAm5zV9lFcxvOwJZ23QQaGLthvcrM=; b=FtSp6ba43k3IELAGPBL4Lr8TEY12XUWcGRT9y/4DP84nxTrKYOtr/38EiWiPYzyRvp jYDxz0SIigsmjM5iF7MkfvCoMes0Lt59/to8GA/YmBYvXjToanEJNqRJPRh6zc/FeTY8 hXVM+QSPjA3j5J4an/uKmFvGa6BaQx48yHHaooTkrLrUmqu1GyrYkCIk6w0303svsp0D tF2Jkrp7a1he6BVJlsdSHh5ye3bnA627jwH+acamo2cuMOgwgtzoY7fxBT/DffAggq+y 5GoVKGKTcNvE+sVvmXwVWJm7MY++jv2M8tnngbUqrvibmC4wN6Il8CeTUCb5ZArLDMY4 F/Qg== X-Gm-Message-State: AGi0PuZzJZ4KJQKQZI6qVmTLw824/uQhaLqPXjmVzA0+iQGKHnpreEG2 K7MX3DBYNtBi1LnQyKAFYdscdnga4u+C5Rha6GVaJQ== X-Google-Smtp-Source: APiQypK8+QJbynYeFKrLiG0coEazLgL5Pf82MY2I5xHeK9D8YN2/CSiCxzxLDgJRZP2mQicRiOpHEl0B/1LjNmg7Lx0= X-Received: by 2002:a05:6830:3090:: with SMTP id f16mr16300977ots.211.1586168375613; Mon, 06 Apr 2020 03:19:35 -0700 (PDT) MIME-Version: 1.0 From: David Hart Date: Mon, 6 Apr 2020 03:19:25 -0700 Message-ID: Subject: Re: bug#34213: 27.0.50; Menu bar requires 2 clicks, is unresponsive, or has delays on macOS Mojave To: alan@idiocy.org Content-Type: multipart/alternative; boundary="000000000000952bf505a29c9aac" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34213 X-Mailman-Approved-At: Mon, 06 Apr 2020 07:05:38 -0400 Cc: iqgrande@gmail.com, 34213@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000952bf505a29c9aac Content-Type: text/plain; charset="UTF-8" The mechanism used in the ns port of emacs to cancel menu tracking, and to post a CGEvent to resume it after menus have been updated via lisp no longer works on recent macOS versions. The cause of this bug is due to Apple tightening security in macOS, and no longer allowing apps to post arbitrary CGEvents to the system. You can observe a console message on macOS Catalina when the first click fails: "Sender is prohibited from synthesizing events". A proposed fix is included inline below, using a newer API 'CGEventPostToPid' instead of CGEventPost. The newer API accepts a pid specifying the recipient, and when the recipient is the same pid as the sending process, the event gets posted successfully. Note: the newer API is only available in macOS versions 10.11 and greater. David Fix more menu bar requires 2 clicks (bug#34213) diff --git a/src/nsterm.m b/src/nsterm.m index 3ce2233..4dbe1c2 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -4523,7 +4523,7 @@ in certain situations (rapid incoming events). menu_mouse_point, kCGMouseButtonLeft); CGEventSetType (event, kCGEventLeftMouseDown); - CGEventPost (kCGHIDEventTap, event); + CGEventPostToPid([NSProcessInfo processInfo].processIdentifier, event); CFRelease (event); CFRelease (source); --000000000000952bf505a29c9aac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The mechanism used in the ns port of emacs to cancel menu trac= king, and to post a CGEvent to resume it after menus have been updated via = lisp no longer works on recent macOS versions.

The= cause of this bug is due to Apple tightening security in macOS, and no lon= ger allowing apps to post arbitrary CGEvents to the system.

<= /div>
You can observe a console message on macOS Catalina when the firs= t click fails: "Sender is prohibited from synthesizing events".= =C2=A0

A proposed fix is included inline below, us= ing a newer API 'CGEventPostToPid' instead of CGEventPost. The newe= r API accepts a pid specifying the recipient, and when the recipient is the= same pid as the sending process, the event gets posted successfully.
=

Note: the newer API is only available in macOS versions= 10.11 and greater.

David


Fix more menu bar requires 2 clicks (bug#34213)
<= div>
diff --git a/src/nsterm.m b/src/nsterm.m
index= 3ce2233..4dbe1c2 100644
--- a/src/nsterm.m
+++ b/src/n= sterm.m
@@ -4523,7 +4523,7 @@ in certain situations (rapid incomi= ng events).
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0menu_mouse_point,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0kCGMouseButtonLeft);
=C2= =A0 =C2=A0 =C2=A0 =C2=A0CGEventSetType (event, kCGEventLeftMouseDown);
- =C2=A0 =C2=A0 =C2=A0CGEventPost (kCGHIDEventTap, event);
= + =C2=A0 =C2=A0 =C2=A0CGEventPostToPid([NSProcessInfo processInfo].processI= dentifier, event);
=C2=A0 =C2=A0 =C2=A0 =C2=A0CFRelease (event);<= /div>
=C2=A0 =C2=A0 =C2=A0 =C2=A0CFRelease (source);
=C2=A0

--000000000000952bf505a29c9aac-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 06 14:54:16 2020 Received: (at 34213) by debbugs.gnu.org; 6 Apr 2020 18:54:16 +0000 Received: from localhost ([127.0.0.1]:49238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLWsy-0006t7-HQ for submit@debbugs.gnu.org; Mon, 06 Apr 2020 14:54:16 -0400 Received: from idiocy.org ([217.169.17.33]:55235 helo=breton.holly.idiocy.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLWsw-0006sb-QU for 34213@debbugs.gnu.org; Mon, 06 Apr 2020 14:54:15 -0400 Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 42B802021A36B6; Mon, 6 Apr 2020 19:54:08 +0100 (BST) Date: Mon, 6 Apr 2020 19:54:08 +0100 From: Alan Third To: David Hart Subject: Re: bug#34213: 27.0.50; Menu bar requires 2 clicks, is unresponsive, or has delays on macOS Mojave Message-ID: <20200406185408.GA44546@breton.holly.idiocy.org> Mail-Followup-To: Alan Third , David Hart , iqgrande@gmail.com, 34213@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34213 Cc: iqgrande@gmail.com, 34213@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Mon, Apr 06, 2020 at 03:19:25AM -0700, David Hart wrote: > The mechanism used in the ns port of emacs to cancel menu tracking, and to > post a CGEvent to resume it after menus have been updated via lisp no > longer works on recent macOS versions. > > The cause of this bug is due to Apple tightening security in macOS, and no > longer allowing apps to post arbitrary CGEvents to the system. > > You can observe a console message on macOS Catalina when the first click > fails: "Sender is prohibited from synthesizing events". > > A proposed fix is included inline below, using a newer API > 'CGEventPostToPid' instead of CGEventPost. The newer API accepts a pid > specifying the recipient, and when the recipient is the same pid as the > sending process, the event gets posted successfully. Hi, thanks for looking into this. Unfortunately your fix doesn’t work for me here on macOS 10.14. Which version of macOS did you test it on? -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 30 11:42:52 2020 Received: (at 34213) by debbugs.gnu.org; 30 Sep 2020 15:42:52 +0000 Received: from localhost ([127.0.0.1]:60864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNeFh-0001bo-M9 for submit@debbugs.gnu.org; Wed, 30 Sep 2020 11:42:52 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNeFe-0001bY-EK for 34213@debbugs.gnu.org; Wed, 30 Sep 2020 11:42:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=HYdt5RdSnOBg+wjVRbmOvNq5WNqiNR/Bm34cahSNeME=; b=qE0itsp1ZDUxcw4lyD/LIlPnSo u42zeGc47p3j+EvBPlg0FbjLsQT0RXissKtISFEjE6WLxK4Vty6jWWsUa0HC01fth7yzpYzLqZaHg ZOxmu/WxpxU4ZZHCHAUgNwPTWGNBa0ZAJBXCB/aGyo/h8/v1VTnJ0bAG6mCnO/h/x+tE=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNeFU-00034i-DG; Wed, 30 Sep 2020 17:42:35 +0200 From: Lars Ingebrigtsen To: Alan Third Subject: Re: bug#34213: 27.0.50; Menu bar requires 2 clicks, is unresponsive, or has delays on macOS Mojave References: <20200406185408.GA44546@breton.holly.idiocy.org> X-Now-Playing: Psapp's _Tiger, My Friend_: "Calm Down" Date: Wed, 30 Sep 2020 17:42:30 +0200 In-Reply-To: <20200406185408.GA44546@breton.holly.idiocy.org> (Alan Third's message of "Mon, 6 Apr 2020 19:54:08 +0100") Message-ID: <87tuvf2rvd.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Alan Third writes: > Hi, thanks for looking into this. Unfortunately your fix doesn’t work > for me here on macOS 10.14. > > Which version of macOS did you test it on? David? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34213 Cc: iqgrande@gmail.com, David Hart , 34213@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Alan Third writes: > Hi, thanks for looking into this. Unfortunately your fix doesn=E2=80=99t = work > for me here on macOS 10.14. > > Which version of macOS did you test it on? David? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 28 09:06:24 2020 Received: (at control) by debbugs.gnu.org; 28 Dec 2020 14:06:24 +0000 Received: from localhost ([127.0.0.1]:34661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kttAG-0005sr-9p for submit@debbugs.gnu.org; Mon, 28 Dec 2020 09:06:24 -0500 Received: from mail1442c50.megamailservers.eu ([91.136.14.42]:48494 helo=mail264c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kttAD-0005sc-Jk for control@debbugs.gnu.org; Mon, 28 Dec 2020 09:06:22 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1609164375; bh=XCin06XDyrmpHl+snVqwa0MerfT9XPs0ULwel6J8SR8=; h=From:Subject:Date:To:From; b=knPoNq2dTNLqvfvZLdwIQCGBPdmZO92OQw+tP6NC7b7cA2kZTH3pjJVn0/WI7b8L+ Th9fqX3ZGaLYdRuox8CmtQNnDRfvqNzjoQ2mD0xsyn4eIWPj+xla0rTJvYvuqRMJmL J/3BDa3FarXp9iVK8ypuKjDCmGSK5KKEg0ifUkro= Feedback-ID: mattiase@acm.or Received: from [192.168.0.4] (c188-150-171-71.bredband.comhem.se [188.150.171.71]) (authenticated bits=0) by mail264c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 0BSE6DY3003119 for ; Mon, 28 Dec 2020 14:06:14 +0000 From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Message-Id: <45D94A83-7C57-4351-A929-4D20EECAF823@acm.org> Date: Mon, 28 Dec 2020 15:06:12 +0100 To: control@debbugs.gnu.org X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A742F1C.5FE9E657.000E, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=bPlo382Z c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=ABZmHiKDvtnWcPEwfZ8A:9 a=CjuIK1q_8ugA:10 a=xo5jKAKm-U-Zyk2_beg_:22 X-Origin-Country: SE X-Spam-Score: 3.4 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: forcemerge 44333 32864 34213 stop Content analysis details: (3.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 BLANK_SUBJECT Subject is present but empty 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: forcemerge 44333 32864 34213 stop Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 BLANK_SUBJECT Subject is present but empty -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager forcemerge 44333 32864 34213 stop From unknown Tue Jun 17 01:50:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 26 Jan 2021 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator