From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#69525: 30.0.50; MacOS: New warnings on stderr Date: Mon, 04 Mar 2024 14:48:52 +0100 Message-ID: References: <86a5nfnuxl.fsf@gnu.org> 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="36227"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 69525@debbugs.gnu.org, Eli Zaretskii To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 04 14:50:45 2024 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 1rh8iL-0009AA-Ac for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Mar 2024 14:50:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rh8iA-0005ev-N4; Mon, 04 Mar 2024 08:50:34 -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 1rh8i8-0005d3-Nz for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2024 08:50:32 -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 1rh8i8-00029c-EV for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2024 08:50:32 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rh8ib-0003aL-W8 for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2024 08:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Mar 2024 13:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69525 X-GNU-PR-Package: emacs Original-Received: via spool by 69525-submit@debbugs.gnu.org id=B69525.170956023413744 (code B ref 69525); Mon, 04 Mar 2024 13:51:01 +0000 Original-Received: (at 69525) by debbugs.gnu.org; 4 Mar 2024 13:50:34 +0000 Original-Received: from localhost ([127.0.0.1]:42587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rh8i9-0003Zb-KB for submit@debbugs.gnu.org; Mon, 04 Mar 2024 08:50:33 -0500 Original-Received: from mail-ej1-f48.google.com ([209.85.218.48]:47555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rh8i7-0003ZJ-8L for 69525@debbugs.gnu.org; Mon, 04 Mar 2024 08:50:32 -0500 Original-Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a450bedffdfso173142066b.3 for <69525@debbugs.gnu.org>; Mon, 04 Mar 2024 05:50:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709560136; x=1710164936; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7nChCg55lisAzk8eLPIE9QX756qWue1ncYrqO1AKJOo=; b=WpAI4zxKR6VtZA1xugx0nd6rYrA0HaBQXFmKkGDLOkMFNABdJBV5gSyMyJ+t3ZngJa dkiwVHR39aZcGugA68EYgYrAuQQqEr7mv7IbvmoB38lP2jZq3mLlWBUFAw7VQpi7c9q2 AYJJxZeuICowPNmMgF08m6u93pCstdC8EBNqTmEvPYkoKjP0Us0Wm63GweWkwXkV02Di tfW4f0bUiu6hynOwQz2bnw0XnEVCJpXvjlka4OyWjOuycQYB6OE3J8xD1qjWJu78KaGr GVH5j0UCMDxL/WEmaVg/5iKQqCYRub6l0fX+1pqVhiUI8suyPvHWTlZtZqiC/TJ5CYvv aumA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709560136; x=1710164936; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=7nChCg55lisAzk8eLPIE9QX756qWue1ncYrqO1AKJOo=; b=w7dD5V6Jhuh4piuMZhEvthH2LqlCZhvb1N1z/QPGvX7/VPGEE6D2GBhtbpjPZWyHgb cxGPM9cISWssYLE9H/YkZjakAbERR69PEm9vyOW1qH2QIioe5+kT2WK1G3+tIeDU/hfp 2pbXwg2UsNuSI1ai0vRKrRrD1F7B2VwXXx7Sw6TrovEXiWLNryuwZbHFXEbRXbs+K3ke 19sfjE2pGVcPaK6a0PN4a2beNuoFiGSuMoQ6HMYB3ptgyQzDRb+EMW77iFpQdZe7KjzK iG9L35kVp0y9FEjVk+OFJ8bA0qMpW6/32iz+7E2/m5/cRIlqpuah0TDf09UQ05Swtbhz N3jA== X-Forwarded-Encrypted: i=1; AJvYcCVH628uYBKm1I1pC69ZNs4SxmRF8mayNpKPc8JlBqqVPrhFXD5pxQnUXDRgMmF+DvGLzgDdNG82MR68YUfhhtqwJx3YDcg= X-Gm-Message-State: AOJu0YyjvjqBJBjJcTAO/AspZQVY2Ilm2cs6J+TDvnGrbYjwKyWA+f1a 7z6Y/pU/gDH4KgqwK1ruRiIwICuygP2piSb7AVFJwZcaOcJ6JwzGshe3HSev X-Google-Smtp-Source: AGHT+IHIfTCIgbmsl9TKXVRlL49tXWlAhX17+DSVDnDpIU2mQPekvn6Dv4eW/STtM6o9LdaamKXlMg== X-Received: by 2002:a17:906:6b91:b0:a45:607c:7bc5 with SMTP id l17-20020a1709066b9100b00a45607c7bc5mr1212615ejr.12.1709560134130; Mon, 04 Mar 2024 05:48:54 -0800 (PST) Original-Received: from Pro.fritz.box (pd9e368a9.dip0.t-ipconnect.de. [217.227.104.169]) by smtp.gmail.com with ESMTPSA id v9-20020a1709064e8900b00a4584e852e5sm262895eju.217.2024.03.04.05.48.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 05:48:53 -0800 (PST) In-Reply-To: (Alan Third's message of "Sun, 3 Mar 2024 18:06:34 +0000") 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:281008 Archived-At: Alan Third writes: > On Sun, Mar 03, 2024 at 06:36:29PM +0100, Gerd M=C3=B6llmann wrote: >> Gerd M=C3=B6llmann writes: >>=20 >> > Eli Zaretskii writes: >> > >> >>> From: Gerd M=C3=B6llmann >> >>> Date: Sun, 03 Mar 2024 17:18:42 +0100 >> >>> >> >>> The following warnings are printed to stderr, which I haven't seen >> >>> previously. Maybe canBecomeKeyWindow should be implemented? >> >>> >> >>> 2024-03-03 17:10:16.334906+0100 emacs[12805:61381] [Window] Warning:= -[NSWindow makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which retur= ned NO from -[NSWindow canBecomeKeyWindow]. > > Odd, Apple's documentation says: > > The value of this property is YES if the window can become the key > window, otherwise, NO. >=20=20=20=20=20 > Attempts to make the window the key window are abandoned if the > value of this property is NO. The value of this property is YES if > the window has a title bar or a resize bar, or NO otherwise. > > Is there anything unusual about your frames? Found out how to reproduce this with emacs -Q. In scratch, eval (make-frame (list (cons 'parent-frame (selected-frame)) (cons 'no-accept-focus t))) This looks to me like some function in ELPA package consult uses no-accept-focus t, so that nsterm.m returns NO from canBecomeKeyWindow. Consult with posframe seems to work anyway, so... >> >>> 2024-03-03 17:10:35.434255+0100 emacs[12805:61381] [CursorUI] -[TUIN= SCursorUIController activate:]: EmacsView doesn't conform to NSTextInputCli= ent protocol. > > I don't have the first clue about this one. NSTextInputClient has > apparently been around since macOS 10.5, and I haven't heard of this > problem before... EmacsView *should* conform to NSTextInputClient > because it's a subclass of NSView. This doesn't seem to be related to the other warning. To reproduce, start emacs -Q from a terminal and switch focus between Emacs and Terminal. Of course, I have no idea either what it means either. > >> >> >> >> Alan, any ideas or suggestions? >> > >> > I think this could be related to tab-bar-mode (C-x t 2, ...), which I >> > started using today. I'm also observing frequest beach balls (freezes) >> > with tabs. >>=20 >> Beach balls of death, i.e. Emacs doesn't seem to recover. > > Please try reverting 6acb3c5b05a7b9fb32a5336e1bb740f527571ae9. I > expect that'll fix the freezing, but I don't know about the others. The commit didn't make a difference, as far as the 2 warnings are concerned. With the freezes I'm no step further, BTW, but that's a different subject, I guess.