GNU logs - #67528, boring messages


Message sent to help-debbugs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#67528: tool-bar
Resent-From: Konrad Podczeck <konrad.podczeck@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: help-debbugs@HIDDEN
Resent-Date: Wed, 29 Nov 2023 16:11:02 +0000
Resent-Message-ID: <handler.67528.B.17012742311153 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 67528
X-GNU-PR-Package: debbugs.gnu.org
X-GNU-PR-Keywords: 
To: 67528 <at> debbugs.gnu.org
X-Debbugs-Original-To: submit <at> debbugs.gnu.org
Received: via spool by submit <at> debbugs.gnu.org id=B.17012742311153
          (code B ref -1); Wed, 29 Nov 2023 16:11:02 +0000
Received: (at submit) by debbugs.gnu.org; 29 Nov 2023 16:10:31 +0000
Received: from localhost ([127.0.0.1]:50799 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8N8r-0000IQ-5k
	for submit <at> debbugs.gnu.org; Wed, 29 Nov 2023 11:10:31 -0500
Received: from grace.univie.ac.at ([2001:62a:4:25::25:115]:59562)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <konrad.podczeck@HIDDEN>) id 1r8N8o-0000I7-Js
 for submit <at> debbugs.gnu.org; Wed, 29 Nov 2023 11:10:23 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=univie.ac.at; s=rev3; h=To:Date:Message-Id:Subject:Mime-Version:
 Content-Transfer-Encoding:Content-Type:From:Sender:Reply-To:Cc:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References;
 bh=lVCpkQHsXVLLTMak9hQ5E+B+EKLSqrpM76Oxba+CRbY=; b=WbZmlA4tQTKj3Xqt94eNYPcgrg
 ttppGDVFKKX7lK4dToy9JXCceBdoSNzvxQNEuJ7SIHQ4sFryOhr1BTrcMILLPwrTRoAq6SpiMRz/9
 Xvt2iEbHKGvva3z4loS0dEuEwM8z6tYs/Is79w+2mxWvHUV4q4wTwgIkK2pm9bMyUMfDRe64U3LxC
 pDNRZCcxQxGFavlhUjMnqHttuxdRm087fW5qHhw06VlMMzq+hSmOy7EivpZqVgXmcBggdG0Z7T91N
 qPe44M7aDOwtd5W8iUCyifEdiTBUSrC/wfDRQxISiBWlqqiocC7ytK4jhk6coTDcyGFBuDEmorZ9i
 ISERuXOg==;
Received: from joan.univie.ac.at ([131.130.3.110] helo=joan.univie.ac.at)
 by grace.univie.ac.at with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256)
 (Exim 4.97) (envelope-from <konrad.podczeck@HIDDEN>)
 id 1r8N8Z-0000000DdJi-3rre for submit <at> debbugs.gnu.org;
 Wed, 29 Nov 2023 17:10:07 +0100
Received: from 80-109-8-38.cable.dynamic.surfer.at ([80.109.8.38]
 helo=smtpclient.apple)
 by joan.univie.ac.at with esmtpsa (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
 (Exim 4.97) (envelope-from <konrad.podczeck@HIDDEN>)
 id 1r8N8Z-00000002NeP-2eXm for submit <at> debbugs.gnu.org;
 Wed, 29 Nov 2023 17:10:07 +0100
From: Konrad Podczeck <konrad.podczeck@HIDDEN>
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\))
Message-Id: <25643CF2-C078-488F-B433-3D8EE293C4B5@HIDDEN>
Date: Wed, 29 Nov 2023 17:10:07 +0100
X-Mailer: Apple Mail (2.3696.120.41.1.4)
X-Univie-Virus-Scan: scanned by ClamAV on joan.univie.ac.at
X-Spam-Score: -2.3 (--)
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: -3.3 (---)

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:NSEventMaskApplicationDefined
                                          untilDate:[NSDate distantPast]
                                             inMode:NSDefaultRunLoopMode
                                            dequeue:NO];
      if (! appev) send_appdefined =3D YES;
    }
#endif
=20
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.

Konrad Podczeck=




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Konrad Podczeck <konrad.podczeck@HIDDEN>
Subject: bug#67528: Acknowledgement (tool-bar)
Message-ID: <handler.67528.B.17012742311153.ack <at> debbugs.gnu.org>
References: <25643CF2-C078-488F-B433-3D8EE293C4B5@HIDDEN>
X-Gnu-PR-Message: ack 67528
X-Gnu-PR-Package: debbugs.gnu.org
Reply-To: 67528 <at> debbugs.gnu.org
Date: Wed, 29 Nov 2023 16:11:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 help-debbugs@HIDDEN

If you wish to submit further information on this problem, please
send it to 67528 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
67528: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67528
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


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


Received: (at control) by debbugs.gnu.org; 29 Nov 2023 17:23:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 29 12:23:56 2023
Received: from localhost ([127.0.0.1]:51006 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8OI0-0002PY-AG
	for submit <at> debbugs.gnu.org; Wed, 29 Nov 2023 12:23:56 -0500
Received: from mout.gmx.net ([212.227.15.15]:34847)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1r8OHy-0002PK-EA
 for control <at> debbugs.gnu.org; Wed, 29 Nov 2023 12:23:54 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417;
 t=1701278620; x=1701883420; i=michael.albinus@HIDDEN;
 bh=0ce3r3xuQSRdDGAT71kMjKg2/wHuJSg/QDSl69wahXo=;
 h=X-UI-Sender-Class:Date:To:From:Subject;
 b=orTKhZD/ev9yfZXDwFzAjOV530LwQDHKR9n3mrW8hmi6B8fEcVDI9nkc9Nyu3YC7
 XmNUTCn4TS+o1MdG+nyyswjxscptbArWKZtLweHHHqi/omQW3kMJdnue10tHCocax
 DNOqNWjw7kAXsrAv4n11PBTXBm/HxxhttHXmpNvizhDtxIVPecJOKpjXbg2/Pl59B
 P24JiEawmjIi7MnDjGCYb8JtzVYuCKPlizXk+ZNO+RvRxXY/7dqPL13L2TO9auYX8
 pSPVbnxggADSN4nr8p61XE8jgvQ0x1Hhv1ZwZL+QzcdZfmCUhAyDJFey3n620wbu/
 UgNg8yonBQtp0mxTMQ==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from gandalf.gmx.de ([185.89.39.30]) by mail.gmx.net (mrgmx005
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mn2W5-1rWy4Z3AIx-00kALl for
 <control <at> debbugs.gnu.org>; Wed, 29 Nov 2023 18:23:40 +0100
Date: Wed, 29 Nov 2023 18:23:40 +0100
Message-Id: <87r0k8ean7.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Michael Albinus <michael.albinus@HIDDEN>
Subject: control message for bug #67528
X-Provags-ID: V03:K1:Rv3ekIFilQBkBkluccuq/nXutKF+zidr/DX664AK1vMYyoCAai/
 e2fTfiIRVW8kc+wqlYK5BldY6P0if774IomX78zd8pki5VEHj4wEGhfi/I1Z5Mq3UzabuuY
 uJVyuMfUQngSBlIvfEYXRV+QVIvGhtZuFl2hGKwOvJdxznXYlAr+uQRtBMpJfSDcmcW1Khj
 gSBi75+reTY55nXBpSGUA==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:2HlyrafNTxs=;Zt7fMicsK/ahGJ57eeiywt65L3V
 mVSmReUrF1mBW3USzqBWkdVwRzNZ98rFdHi5+M0BtdAElJp/mub7rLaH5vgUSQooKs6Kv8nnL
 dL4t7TuCLyue29bypoQATH7InlpQHvrKuoFiO9BEtoNRRhQMZYkakUsYjU0mz7qw7AvQFVdUu
 /Wd/6hRLgMnYstbCRNHEydee+luxqqZhUWFqbXpw+UOyUNKw0oRDW1BYR1QnnwAyf+HIMI+7A
 wXVlM4xnf9NyUoFqzI7npQzWQD/sGbatDZYI58BlkrwY9xi/6RFok8D9T6XSRWa2LQt9zICco
 SW5gm2mCbFqWE5THC9Cfxmm2gw5QkmzfwB1t6s8DCyn9UeOc+4g0EwRtLQtIcCr/eZg6OzDYL
 AIENFnFBdPnGG2PFsyeGj7rOXhg2AP+FKKQGZgPOMWtsJWXjzTAtDrVu6BvZkiRmYJJKUNRVp
 lZrfoeLcPUqURna3+EU3Vrbp4nxPav6/aC+Y7qQLf/INNlDuMr7voy9vB3aK/7qReyFthlZJO
 A2aP5nlP1qGlrf/nq/SsooGp4Ae+mudTvhuVqSKa3pFlqdABrAYwkuhGt3cdkzSxMrd6sCt8N
 d9GhNhbawcXu2xxNcgTT0donMMNSZZw9kIpDo++TN42cSkZCQSdbCzXlhWglWF+vS5bscN9J/
 F5em0DlbmMwtfVI9Jolejtpl5CZQA3zk6Y5udg9fmGYX++FJWBtlx+GdJuxGaKDzN97MYPOoB
 lENrWTTxhsG+2xY+/GVNPZShKJcRC5X7SFzJZwO9gq+5s2Qdj91DG5ktCJFdW89Umj8KDjh8u
 hdA4c0kxDrYAy1w7Z0PabMpaZSYmDv9hqFRPkVXr71pjcQH915a746sgjCCxuyI3hKhNDLnB3
 6vNxVlhSD74EW8eu6qJ3XTKxYF0Ox4KTq0KDbdZQDCmHQNz0+0E25zqmOrPr8WHkziWBBPID2
 EQCYOQ==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: control
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.7 (-)

reassign 67528 emacs
quit





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#67528: tool-bar
Resent-From: Stefan Kangas <stefankangas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 10 Jan 2024 17:41:02 +0000
Resent-Message-ID: <handler.67528.B67528.170490840231219 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67528
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Konrad Podczeck <konrad.podczeck@HIDDEN>
Cc: Alan Third <alan@HIDDEN>, 67528 <at> debbugs.gnu.org
Received: via spool by 67528-submit <at> debbugs.gnu.org id=B67528.170490840231219
          (code B ref 67528); Wed, 10 Jan 2024 17:41:02 +0000
Received: (at 67528) by debbugs.gnu.org; 10 Jan 2024 17:40:02 +0000
Received: from localhost ([127.0.0.1]:42827 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rNcYb-00087T-Rn
	for submit <at> debbugs.gnu.org; Wed, 10 Jan 2024 12:40:02 -0500
Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:41987)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1rNcYZ-00086r-Hw
 for 67528 <at> debbugs.gnu.org; Wed, 10 Jan 2024 12:40:00 -0500
Received: by mail-ed1-x529.google.com with SMTP id
 4fb4d7f45d1cf-5534dcfdd61so7835426a12.0
 for <67528 <at> debbugs.gnu.org>; Wed, 10 Jan 2024 09:40:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1704908395; x=1705513195; darn=debbugs.gnu.org;
 h=content-transfer-encoding:cc:to:subject:message-id:date
 :mime-version:references:in-reply-to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=t/4SRdz31RJW22524SKb3ct9cvddqOnbqDC26d0/wR4=;
 b=EUqlphev6exFpVF1i3JyhjsABOdvAtUnXjejRxDSXvC3yDeAtKuOZs1ZS2P2jYcmrd
 euLu1XXoJ4VfbxVfufkjuGxOyxftYwvbQDFCZZFtvvR5S7nZvraOKTv+kJZiccTDGiGy
 iBgnwiROfe6+XfGTLE/DKQWnqI+5WI0Ike8Vu6NWERhw3nViOuQ/vQCBW4XOkUWhXkk8
 r7enlP8l6h5E6zeX84A+zC6CdGopFxfQE5I2kBRxGxk3RU6I/tSRZUqsiMfMY8p+z6FU
 0vioZr8OKwn4f4AOm1jbH6uBnoWTrFKDKnQUlfoRwJwMfVxN19jGxwU5x+9saakivjqT
 PKoQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1704908395; x=1705513195;
 h=content-transfer-encoding:cc:to:subject:message-id:date
 :mime-version:references:in-reply-to:from:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=t/4SRdz31RJW22524SKb3ct9cvddqOnbqDC26d0/wR4=;
 b=mh+4bvTmZN3/LCA2Z7FMUtkMgASyO2yHoymzgBQ7KBAFUz/BfnZwU2LiqAD6ktnWEq
 mlTU3GOKGNgNg3RFgTWXTh3GJtgcMs5r7GvTPSuJAfi0cqO6ngGBNRALiDFKVrt86WTn
 9BsWWpxf0AnAm4Y5cOAOzqpdUjTflxjOjvgvyWploYGHRoZInDnotQyh+8goCKFY+D0U
 ePDxNsnEpqHjcRumMiR4cI3Ufw3yhOXew7Mf5X75VSrfmwyqOBE2mY4ySArO9D2TZb4P
 r9Eh+hZtc/1lbn49B+G3+B16by4DDVPj0ujDpu8pYaH9IuXG3vESSaJ/1XWg4fq/MNFc
 jBaQ==
X-Gm-Message-State: AOJu0Yx/TgW7CsPPbaPf1wiBLbe/Q/ip7m/5ElO+p5NYme8MqWGwErcw
 divqUgnC1xaQ+SoVldIOsEAOGqy3UPd2lPvG9Eo=
X-Google-Smtp-Source: AGHT+IE5JpjD4AYuW9eTW9je84BOQdKGA4S6p1X9+RAXeTvDefxQbf4B9kegxn+GXqWliqYUzTqbqD7mcyr2jcQ/Pdg=
X-Received: by 2002:a05:6402:1209:b0:557:14da:db43 with SMTP id
 c9-20020a056402120900b0055714dadb43mr450890edw.6.1704908394869; Wed, 10 Jan
 2024 09:39:54 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 10 Jan 2024 09:39:54 -0800
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <25643CF2-C078-488F-B433-3D8EE293C4B5@HIDDEN> (Konrad
 Podczeck's message of "Wed, 29 Nov 2023 17:10:07 +0100")
References: <25643CF2-C078-488F-B433-3D8EE293C4B5@HIDDEN>
MIME-Version: 1.0
Date: Wed, 10 Jan 2024 09:39:54 -0800
Message-ID: <CADwFkmmx2zYa932CKpZbmjy_i2RoiE_8jzPVC9QKr7ncDwqGQw@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
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 (-)

Konrad Podczeck <konrad.podczeck@HIDDEN> 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 ourselve=
s
>          in certain situations (rapid incoming events).
>          So check if we have one, if not add one.  */
>       NSEvent *appev =3D [NSApp nextEventMatchingMask:NSEventMaskApplicat=
ionDefined
>                                           untilDate:[NSDate distantPast]
>                                              inMode:NSDefaultRunLoopMode
>                                             dequeue:NO];
>       if (! appev) send_appdefined =3D YES;
>     }
> #endif
>
> as done in commit 6acb3c5b05a7b9fb32a5336e1bb740f527571ae9 on 23-09-11, s=
eems to be incompatible with macos Sonoma or Monterey. In both versions, an=
d 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 c=
ode 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 th=
e 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, the=
n, 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.
>
> Konrad Podczeck

Alan, what do you think?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#67528: tool-bar
Resent-From: Alan Third <alan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 10 Jan 2024 19:31:02 +0000
Resent-Message-ID: <handler.67528.B67528.170491503923953 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67528
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Kangas <stefankangas@HIDDEN>
Cc: 67528 <at> debbugs.gnu.org, Konrad Podczeck <konrad.podczeck@HIDDEN>
Received: via spool by 67528-submit <at> debbugs.gnu.org id=B67528.170491503923953
          (code B ref 67528); Wed, 10 Jan 2024 19:31:02 +0000
Received: (at 67528) by debbugs.gnu.org; 10 Jan 2024 19:30:39 +0000
Received: from localhost ([127.0.0.1]:43250 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rNeHf-0006Dk-3q
	for submit <at> debbugs.gnu.org; Wed, 10 Jan 2024 14:30:39 -0500
Received: from dane.soverin.net ([185.233.34.158]:59219)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alan@HIDDEN>)
 id 1rNeHb-0005ye-Uc; Wed, 10 Jan 2024 14:30:37 -0500
Received: from smtp.soverin.net (unknown [10.10.4.74])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by dane.soverin.net (Postfix) with ESMTPS id 4T9HvV4xHXz10Hq;
 Wed, 10 Jan 2024 19:30:30 +0000 (UTC)
Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by
 soverin.net (Postfix) with ESMTPSA id 4T9HvV1qdLzDh; 
 Wed, 10 Jan 2024 19:30:30 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin;
 t=1704915030; bh=Gvdfphva0031s5UlxVAzj1nQJoPXfMFS+1VgKgYZ/Zs=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
 b=h4FWQ85MzufFiig640TusBR/bFBBo8ByekFO8ipxm/AaDsYvQXQVCIX/uumNtlixj
 hJNEFJW9qZDhczChA6G7HOSKPVZfPP7JO6N7iRZvg6Jk54kGPyOwljanSpSYz4rMhi
 Nn1QBKUwQ97z8N2C9FFrr3u6Zlrb20UPnAz2bh5PasCk49grVb66cgZv3MztOnL3AD
 EvTo+I62Pl5Hy6rJ5SY5p6/VS197XETTfo6+dZCJuFoDdGw01l57t2imIe9nsIFETg
 dp0iq32xrRDTFHjJb4ouPfSoKd1LletSbcr0SC1OLrR1B3muctTHMPI/GZgYPbbA2U
 9sM2QqaVW2GVg==
Received: from alan by faroe.holly.idiocy.org with local (Exim 4.96)
 (envelope-from <alan@HIDDEN>) id 1rNeHV-00160a-2d;
 Wed, 10 Jan 2024 19:30:29 +0000
Date: Wed, 10 Jan 2024 19:30:29 +0000
From: Alan Third <alan@HIDDEN>
Message-ID: <ZZ7wVecURFPZDC9H@HIDDEN>
Mail-Followup-To: Alan Third <alan@HIDDEN>,
 Stefan Kangas <stefankangas@HIDDEN>,
 Konrad Podczeck <konrad.podczeck@HIDDEN>,
 67528 <at> debbugs.gnu.org
References: <25643CF2-C078-488F-B433-3D8EE293C4B5@HIDDEN>
 <CADwFkmmx2zYa932CKpZbmjy_i2RoiE_8jzPVC9QKr7ncDwqGQw@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CADwFkmmx2zYa932CKpZbmjy_i2RoiE_8jzPVC9QKr7ncDwqGQw@HIDDEN>
X-Spam-Score: -0.7 (/)
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.7 (-)

package emacs
merge 67528 67694
thankyou

On Wed, Jan 10, 2024 at 09:39:54AM -0800, Stefan Kangas wrote:
> Konrad Podczeck <konrad.podczeck@HIDDEN> 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 = [NSApp nextEventMatchingMask:NSEventMaskApplicationDefined
> >                                           untilDate:[NSDate distantPast]
> >                                              inMode:NSDefaultRunLoopMode
> >                                             dequeue:NO];
> >       if (! appev) send_appdefined = 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.
> >
> > Konrad Podczeck
> 
> Alan, what do you think?

We had a look at this in bug#67694, and I don't know. The code was
removed because it appeared to be causing a crash on startup, so if we
reinstate it we'll need to reopen that bug report (bug#65843).

I find it hard to believe the comment is right and this is a bug that
hasn't ever been fixed. I think it's more likely the actual culprit is
some timing issue in our own code, but that doesn't help as I don't
understand it. As for how this code causes the crash in 65843, I don't
understand that either.
-- 
Alan Third




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


Received: (at control) by debbugs.gnu.org; 10 Jan 2024 19:30:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 10 14:30:40 2024
Received: from localhost ([127.0.0.1]:43252 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rNeHf-0006EH-Lp
	for submit <at> debbugs.gnu.org; Wed, 10 Jan 2024 14:30:40 -0500
Received: from dane.soverin.net ([185.233.34.158]:59219)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alan@HIDDEN>)
 id 1rNeHb-0005ye-Uc; Wed, 10 Jan 2024 14:30:37 -0500
Received: from smtp.soverin.net (unknown [10.10.4.74])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by dane.soverin.net (Postfix) with ESMTPS id 4T9HvV4xHXz10Hq;
 Wed, 10 Jan 2024 19:30:30 +0000 (UTC)
Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by
 soverin.net (Postfix) with ESMTPSA id 4T9HvV1qdLzDh; 
 Wed, 10 Jan 2024 19:30:30 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin;
 t=1704915030; bh=Gvdfphva0031s5UlxVAzj1nQJoPXfMFS+1VgKgYZ/Zs=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
 b=h4FWQ85MzufFiig640TusBR/bFBBo8ByekFO8ipxm/AaDsYvQXQVCIX/uumNtlixj
 hJNEFJW9qZDhczChA6G7HOSKPVZfPP7JO6N7iRZvg6Jk54kGPyOwljanSpSYz4rMhi
 Nn1QBKUwQ97z8N2C9FFrr3u6Zlrb20UPnAz2bh5PasCk49grVb66cgZv3MztOnL3AD
 EvTo+I62Pl5Hy6rJ5SY5p6/VS197XETTfo6+dZCJuFoDdGw01l57t2imIe9nsIFETg
 dp0iq32xrRDTFHjJb4ouPfSoKd1LletSbcr0SC1OLrR1B3muctTHMPI/GZgYPbbA2U
 9sM2QqaVW2GVg==
Received: from alan by faroe.holly.idiocy.org with local (Exim 4.96)
 (envelope-from <alan@HIDDEN>) id 1rNeHV-00160a-2d;
 Wed, 10 Jan 2024 19:30:29 +0000
Date: Wed, 10 Jan 2024 19:30:29 +0000
From: Alan Third <alan@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>
Subject: Re: bug#67528: tool-bar
Message-ID: <ZZ7wVecURFPZDC9H@HIDDEN>
Mail-Followup-To: Alan Third <alan@HIDDEN>,
 Stefan Kangas <stefankangas@HIDDEN>,
 Konrad Podczeck <konrad.podczeck@HIDDEN>,
 67528 <at> debbugs.gnu.org
References: <25643CF2-C078-488F-B433-3D8EE293C4B5@HIDDEN>
 <CADwFkmmx2zYa932CKpZbmjy_i2RoiE_8jzPVC9QKr7ncDwqGQw@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CADwFkmmx2zYa932CKpZbmjy_i2RoiE_8jzPVC9QKr7ncDwqGQw@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: control
Cc: 67528 <at> debbugs.gnu.org, Konrad Podczeck <konrad.podczeck@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.7 (-)

package emacs
merge 67528 67694
thankyou

On Wed, Jan 10, 2024 at 09:39:54AM -0800, Stefan Kangas wrote:
> Konrad Podczeck <konrad.podczeck@HIDDEN> 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 = [NSApp nextEventMatchingMask:NSEventMaskApplicationDefined
> >                                           untilDate:[NSDate distantPast]
> >                                              inMode:NSDefaultRunLoopMode
> >                                             dequeue:NO];
> >       if (! appev) send_appdefined = 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.
> >
> > Konrad Podczeck
> 
> Alan, what do you think?

We had a look at this in bug#67694, and I don't know. The code was
removed because it appeared to be causing a crash on startup, so if we
reinstate it we'll need to reopen that bug report (bug#65843).

I find it hard to believe the comment is right and this is a bug that
hasn't ever been fixed. I think it's more likely the actual culprit is
some timing issue in our own code, but that doesn't help as I don't
understand it. As for how this code causes the crash in 65843, I don't
understand that either.
-- 
Alan Third




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


Received: (at control) by debbugs.gnu.org; 12 Jan 2024 17:23:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 12 12:23:04 2024
Received: from localhost ([127.0.0.1]:37608 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rOLFI-00020O-1H
	for submit <at> debbugs.gnu.org; Fri, 12 Jan 2024 12:23:04 -0500
Received: from dane.soverin.net ([185.233.34.157]:48149)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alan@HIDDEN>)
 id 1rOLFE-0001zW-BA; Fri, 12 Jan 2024 12:23:02 -0500
Received: from smtp.soverin.net (unknown [10.10.4.74])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by dane.soverin.net (Postfix) with ESMTPS id 4TBSzN4WhhzyV6;
 Fri, 12 Jan 2024 17:22:56 +0000 (UTC)
Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net
 (Postfix) with ESMTPSA id 4TBSzN0Qpzz5K; 
 Fri, 12 Jan 2024 17:22:56 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin;
 t=1705080176; bh=S2L4QMMst2nvSbmHoVYSuI8LoIk2yQkvwLvxXl+BYvI=;
 h=Date:From:To:Cc:Subject:References:From;
 b=QhKmE5I0+jLNBf+cKrKgZ37krH2x8Ypm4sscm6l4gGoaBDLPOFscS1vITFrXlx8oh
 YT+69bAkSBJM4ThDeCtbN0V6y4CKROKQQk7ZyOhQnwDQHsGOGUkxH5k0DSNLLTybOH
 IMBd32lYZ7nc7qprm8y+IvJW40z6SLtM0U4ZdYu/0ozqveLn0Y5QAWKYJGXIPP0r0y
 dBrF/B77UcR2EzK0JALGzSqMTYkmdSTyMPEXIp5P5RugY36bH9+s6EIcFwfqkoybNN
 K9pEP9lZUiEUDHRgQqNCho7W3pTzDoSLPmF2Y8n6MjWVG3MaLGVo3rk/rchQAn7y6t
 VgIMh4e7+zsuA==
Received: from alan by faroe.holly.idiocy.org with local (Exim 4.96)
 (envelope-from <alan@HIDDEN>) id 1rOLF8-0017iX-3D;
 Fri, 12 Jan 2024 17:22:54 +0000
Date: Fri, 12 Jan 2024 17:22:54 +0000
From: Alan Third <alan@HIDDEN>
To: Kirill Korinsky <kirill@HIDDEN>
Subject: Re: bug#51336: 29.0.50; Application not responding
Message-ID: <ZaF1brnFr6PjPTml@HIDDEN>
Mail-Followup-To: Alan Third <alan@HIDDEN>,
 Kirill Korinsky <kirill@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>,
 stefankangas@HIDDEN, 51336 <at> debbugs.gnu.org
References: <YXZ2jdqBDAmgTnsJ@HIDDEN> <87czbzz5z6.fsf@HIDDEN>
 <67CF5E61-EE5A-4B24-9697-B61D75E67B4C@HIDDEN>
 <87sfkvxqp4.fsf@HIDDEN>
 <9F6E5B01-F80E-46AE-8A86-ED7080D09725@HIDDEN>
 <CADwFkmmVVLfJzHXAP+Qsbi7gFJ+ZLWdLybBSqzeRaAG0Me--LQ@HIDDEN>
 <1B89E5CF-789E-4DDE-8051-D7F22FA9D97B@HIDDEN>
 <835y4r8w8a.fsf@HIDDEN>
 <C13E5205-4431-411F-B565-2F86E9AA3A48@HIDDEN>
 <83cyuq6re1.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: control
Cc: 51336 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, stefankangas@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.7 (-)

package emacs
merge 51336 67694
thankyou

On Fri, Jan 12, 2024 at 05:31:49PM +0100, Kirill Korinsky wrote:
> Emacs was frozen (UI) and hasn't response to any command. Before that it had
> happened I'd resized a window.
> 
> I attach and de-attach external screen quite often and it triggers the resize.
> 
> So, when it was frozen I've attached via lldb and get stack traces bellow.
> 
> It is reproducable, not each resize but often enough.
> 
> When it frozen, I need to kill it, otherwise it absolutle useless.
> 
> And this stack trace was obtained from local root d9462e24a967e32d550ee886b5150f0cc78358f6
> 
> (lldb) bt all
> * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
>   * frame #0: 0x00007ff80d07596a libsystem_kernel.dylib`mach_msg_trap + 10
>     frame #1: 0x00007ff80d075cd8 libsystem_kernel.dylib`mach_msg + 56
>     frame #2: 0x00007ff80d17929d CoreFoundation`__CFRunLoopServiceMachPort + 319
>     frame #3: 0x00007ff80d177928 CoreFoundation`__CFRunLoopRun + 1276
>     frame #4: 0x00007ff80d176d6c CoreFoundation`CFRunLoopRunSpecific + 562
>     frame #5: 0x00007ff815e245e6 HIToolbox`RunCurrentEventLoopInMode + 292
>     frame #6: 0x00007ff815e2434a HIToolbox`ReceiveNextEventCommon + 594
>     frame #7: 0x00007ff815e240e5 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 70
>     frame #8: 0x00007ff80fbb1f6d AppKit`_DPSNextEvent + 927
>     frame #9: 0x00007ff80fbb062a AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
>     frame #10: 0x00007ff80fba2cd9 AppKit`-[NSApplication run] + 586
>     frame #11: 0x0000000104b2449c Emacs`-[EmacsApp run] + 317

OK, I think this is the same as bug#67694, so I'll merge them.

I think we need to revert 6acb3c5b05a7b9fb32a5336e1bb740f527571ae9 as
discussed in that other bug report and re-open bug#65843, if we can.

Unless anyone else has a better idea.
-- 
Alan Third





Last modified: Sat, 20 Jan 2024 12:30:02 UTC

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