Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Alan Third <alan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Alan Third <alan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 67528) by debbugs.gnu.org; 10 Jan 2024 19:30:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 10 14:30:39 2024 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> 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: 67528 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
bug-gnu-emacs@HIDDEN
:bug#67528
; Package emacs
.
Full text available.Received: (at 67528) by debbugs.gnu.org; 10 Jan 2024 17:40:02 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 10 12:40:02 2024 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> Subject: Re: bug#67528: tool-bar To: Konrad Podczeck <konrad.podczeck@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67528 Cc: Alan Third <alan@HIDDEN>, 67528 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) 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?
bug-gnu-emacs@HIDDEN
:bug#67528
; Package emacs
.
Full text available.Michael Albinus <michael.albinus@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 29 Nov 2023 16:10:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 29 11:10:31 2023 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\)) Subject: tool-bar Message-Id: <25643CF2-C078-488F-B433-3D8EE293C4B5@HIDDEN> Date: Wed, 29 Nov 2023 17:10:07 +0100 To: submit <at> debbugs.gnu.org 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-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -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=
Konrad Podczeck <konrad.podczeck@HIDDEN>
:help-debbugs@HIDDEN
.
Full text available.help-debbugs@HIDDEN
:bug#67528
; Package debbugs.gnu.org
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.