From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56259: 29.0.50; Illegal -layoutSubtreeIfNeeded on NS Date: Mon, 27 Jun 2022 18:55:33 +0300 Message-ID: <834k0685je.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22309"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 56259@debbugs.gnu.org To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 27 17:57:28 2022 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 1o5r7A-0005h7-DW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 17:57:28 +0200 Original-Received: from localhost ([::1]:50650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5r79-0002B8-2U for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 11:57:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5r5m-0008W4-FH for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 11:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59167) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5r5m-0006mt-71 for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 11:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o5r5m-0007Fi-6J for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 11:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Jun 2022 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56259 X-GNU-PR-Package: emacs Original-Received: via spool by 56259-submit@debbugs.gnu.org id=B56259.165634533927847 (code B ref 56259); Mon, 27 Jun 2022 15:56:02 +0000 Original-Received: (at 56259) by debbugs.gnu.org; 27 Jun 2022 15:55:39 +0000 Original-Received: from localhost ([127.0.0.1]:53064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5r5O-0007F5-O5 for submit@debbugs.gnu.org; Mon, 27 Jun 2022 11:55:38 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5r5N-0007Et-PK for 56259@debbugs.gnu.org; Mon, 27 Jun 2022 11:55:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39308) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5r5H-0006jr-UQ; Mon, 27 Jun 2022 11:55:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=PFrQJFO557pIP5kuflOej9Ua2OyYAEcPUzN2iVUeDE4=; b=RNlV2FqQQ4hFk0e6+IpB NkU79JRBCYxkxWzCLfu08qfR1giCb4jEnzJz6+enQFTRlNMqs4sNcJhBgRBh9/XG0VKfXD5fXZSVn aWecvP2W4b/byqVbOwzWfYwXNZVnqp9K41yJBVu7nVCJBWCeCnYSSG5XK98ZFRxBev2+J3vVE5a9H qO+s0BpyH6xS21oEibjb69IfTv7jxc5e7hsILTDrEOloAVy/KUnlU/jR+3AnUoSRINP8HtJexLU+7 uMX4YHw6fi7TXCqa3bESO3K0BYmU1yJzKyAT8A1KNj1iJAw1O/I7gaJ7T/w+Uk6hTwVYihWl/676g /YXQNJAkRz9T6Q==; Original-Received: from [87.69.77.57] (port=4466 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5r5G-00080E-8H; Mon, 27 Jun 2022 11:55:30 -0400 In-Reply-To: (bug-gnu-emacs@gnu.org) 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" Xref: news.gmane.io gmane.emacs.bugs:235478 Archived-At: > Cc: 56259@debbugs.gnu.org > Date: Mon, 27 Jun 2022 17:05:16 +0200 > From: Daniel Martín via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Gerd Möllmann writes: > > > On macOS 12.4, selecting Options -> Set Default Font from the menu bar > > reproducibly prints a message to the terminal: > > > > emacs[76309:7042282] It's not legal to call -layoutSubtreeIfNeeded on > > a view which is already being laid out. If you are implementing the > > view's -layout method, you can call -[super layout] instead. Break on > > void _NSDetectedLayoutRecursion(void) to debug. This will be logged > > only once. This may break in the future. > > > > I wonder if this is a bug in macOS 12.4 (concretely, in NSFontManager's > orderFrontFontPanel) and not in Emacs. For example, I can reproduce the > same warning if I try to open the Fonts panel in the standard TextEdit > app created by Apple. Then let's sue Apple for its illegal calls.