GNU bug report logs - #56259
29.0.50; Illegal -layoutSubtreeIfNeeded on NS

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Mon, 27 Jun 2022 14:23:01 UTC

Severity: normal

Tags: notabug

Merged with 58540

Found in version 29.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 56259 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Daniel Martín <mardani29 <at> yahoo.es>
Cc: gerd.moellmann <at> gmail.com, 56259 <at> debbugs.gnu.org
Subject: Re: bug#56259: 29.0.50; Illegal -layoutSubtreeIfNeeded on NS
Date: Mon, 27 Jun 2022 18:55:33 +0300
> Cc: 56259 <at> 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" <bug-gnu-emacs <at> gnu.org>
> 
> Gerd Möllmann <gerd.moellmann <at> gmail.com> 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.




This bug report was last modified 2 years and 197 days ago.

Previous Next


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