[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56259: 29.0.50; Illegal -layoutSubtreeIfNeeded on NS
From: |
Eli Zaretskii |
Subject: |
bug#56259: 29.0.50; Illegal -layoutSubtreeIfNeeded on NS |
Date: |
Mon, 27 Jun 2022 18:55:33 +0300 |
> 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" <bug-gnu-emacs@gnu.org>
>
> Gerd Möllmann <gerd.moellmann@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.
bug#56259: 29.0.50; Illegal -layoutSubtreeIfNeeded on NS, Po Lu, 2022/06/27