From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel =?UTF-8?Q?Mart=C3=ADn?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#67694: 30.0.50; tool-bar Date: Sat, 16 Dec 2023 14:15:05 +0100 Message-ID: References: Reply-To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18874"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 67694@debbugs.gnu.org To: Konrad Podczeck Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 16 14:16:11 2023 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 1rEUWY-0004jK-Q8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Dec 2023 14:16:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEUWU-0002OS-Uq; Sat, 16 Dec 2023 08:16:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEUWR-0002OE-GM for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2023 08:16:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rEUWP-0002Xf-H2 for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2023 08:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rEUWQ-0004Hr-2e for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2023 08:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Dec 2023 13:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67694 X-GNU-PR-Package: emacs Original-Received: via spool by 67694-submit@debbugs.gnu.org id=B67694.170273252311638 (code B ref 67694); Sat, 16 Dec 2023 13:16:02 +0000 Original-Received: (at 67694) by debbugs.gnu.org; 16 Dec 2023 13:15:23 +0000 Original-Received: from localhost ([127.0.0.1]:54217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEUVn-00030P-8b for submit@debbugs.gnu.org; Sat, 16 Dec 2023 08:15:23 -0500 Original-Received: from sonic302-20.consmr.mail.ir2.yahoo.com ([87.248.110.83]:46714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEUVj-0002Td-Qv for 67694@debbugs.gnu.org; Sat, 16 Dec 2023 08:15:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1702732510; bh=2zVXIZA1fJVv28wD41ody9Pa5F1BW+ZEisKlnUDT5dk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=kVa2FDDisG+unZ2nN/qZszTCK9J6S/8AbCzfFzqRekjbyoq/fxW9hTqfML46U7VhZm8eB1rIwoIP32QHdnnj8qD4gHsBGNMKRTE2HhCQsHAofdir7CxBOPxRWg1l+C7EvvD80v6d9IAg8xdCWw8h9c9aDT6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Pi.SSqlJCyY449veCyJP85fkkhrXbaw3YbZY1DqQlPn6GffPptATgEZADnNGFYuDQ6QZ08 zXLGlKZy1wF1jwZtUKNPnFkIp9NiX9yEER3XQbPI_AFz4z8C6TC1gXjZ1Z3Adv0biyxF0tglBcpH fy2Y5mVuyzd1VRcF_FnerBZi3SQ1KdYB58LWoM34QVitZLL9vUCgSuxv7bEziJr.pi4CJJfaUsB9 oo7IE44aH5uop90hX49vtTaBkzL2F4p8Td.zflpUn.p21M4MYOGMVADIcHtXEmsf8zMlKvfyz9In CgW8bcEQqc_WkXuglSQn6bCdJ_WGwxcKWLAif5XbKV3LQ.I63._pnWbyDPGEv781Z3GfZSBeyRlT V5a7LruC3mfiVcnykNvfCLsYszzS_XwnZZ2L1EBlFYtphQNBdm44yTLrAuJRDXtDkMLx4U6i4Xz9 wNb4SIcuKJpvZbnNpxSbBPzjTh5azotOL.z6GVG1G2 X-Sonic-MF: X-Sonic-ID: 2debb3c0-2edc-4672-9607-efd3e60f65d9 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Sat, 16 Dec 2023 13:15:10 +0000 Original-Received: by hermes--production-ir2-6488884f6f-xbxn8 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 67f9bd366a9dd038e5025c4f2c84f68d; Sat, 16 Dec 2023 13:15:06 +0000 (UTC) In-Reply-To: (Konrad Podczeck's message of "Thu, 7 Dec 2023 16:44:15 +0100") X-Mailer: WebService/1.1.21952 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:276335 Archived-At: Konrad Podczeck writes: > In nsterm.m, deleting the lines of code > > > #ifdef NS_IMPL_COCOA > if (! send_appdefined) > { > /* OS X 10.10.1 swallows the AppDefined event we are sending ourselves > in certain situations (rapid incoming events). > So check if we have one, if not add one. */ > NSEvent *appev =3D [NSApp nextEventMatchingMask:NSEventMaskApplicatio= nDefined > untilDate:[NSDate distantPast] > inMode:NSDefaultRunLoopMode > dequeue:NO]; > if (! appev) send_appdefined =3D YES; > } > #endif > > as done in commit 6acb3c5b05a7b9fb32a5336e1bb740f527571ae9 on > 23-09-11, seems to be incompatible with macos Sonoma or Monterey. In > both versions, and with both an M1 processor and an Intel one, I got > the following problem, with these lines of code removed. I have > pdf-tools installed, and via the code in windows.el, I have both the > pdf output and some latex source code to appear in their own frames. I > also have a managed to have a tool-bar in the frame showing the > pdf-outout, with an icon for going from one page to the next. Now if I > repeatedly click with the mouse on this icon very fast, then, after 3 > to 5 clicks, the whole emacs.app begins to hang. This is not so with > the above lines of code still present in nsterm.m. Could you describe the steps to reproduce this bug in more detail? Does it happen only when using the pdf-tools package? Starting from emacs -Q, I=E2=80=99ve installed the pdf-tools package (M-x package-install RET pdf-tools RET), but, after visiting a PDF file, I don=E2=80=99t see any tool-bar icons to go to the previous and next page in= the PDF.