bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48406: 28.0.50; Emacs stuck in infinite loop in wait_reading_process


From: Andrii Kolomoiets
Subject: bug#48406: 28.0.50; Emacs stuck in infinite loop in wait_reading_process_output when opening in fullscreen (NS)
Date: Sat, 15 May 2021 22:44:28 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)

Alan Third <alan@idiocy.org> writes:

> Now I've dug out my Mac I can confirm I see this hang as well.
>
> The problem is that we never reach the NS run loop and therefore
> windowDidEnterFullScreen is never called.
>
> This fixes it for me, but whether it's a good idea or not I don't know:
>
> -      wait_reading_process_output (0, 300000000, 0, 1, Qnil, NULL, 0);
> +      [NSApp run];

I really like this change.  Using `wait_reading_process_output` to wait
for NS event was a bad idea.

Though I don't understand why my setup isn't affected by this bug.

Alan, please install your patch.

Thanks!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]