From: Andrii Kolomoiets <andreyk.mad@gmail.com>
To: Alan Third <alan@idiocy.org>
Cc: Illia Ostapyshyn <ilya.ostapyshyn@gmail.com>, 48406@debbugs.gnu.org
Subject: bug#48406: 28.0.50; Emacs stuck in infinite loop in wait_reading_process_output when opening in fullscreen (NS)
Date: Fri, 14 May 2021 09:07:43 +0300 [thread overview]
Message-ID: <m2czttlufk.fsf@gmail.com> (raw)
In-Reply-To: <YJ2XDIJHjZWqEYbi@idiocy.org> (Alan Third's message of "Thu, 13 May 2021 22:15:56 +0100")
Alan Third <alan@idiocy.org> writes:
> On Thu, May 13, 2021 at 10:39:55PM +0200, Illia Ostapyshyn wrote:
>> When starting with
>>
>> (push '(fullscreen . fullboth) default-frame-alist)
>>
>> in early-init.el, apparently Emacs get stuck in an infinite loop
>> after calling [EmacsView waitFullScreenTransition]. Please see the
>> attached backtrace. I also tried moving that command around: in
>> init.el, in emacs-startup-hook, all yield the same result.
>>
>> Toggling fullscreen after successful startup (by not trying to start
>> in fullscreen) works ok. Also creating new frames with '(fullscreen
>> . fullboth) in default-frame-alist works well.
>>
>> Looks like this bug was introduced by bbc48b263485c26c6823eabdbbd7e9af62178e34
>
> Hmm, I don't know what's going on. I guess it's waiting on the
> fullscreen transition before Emacs has started up fully and that's
> causing a problem?
>
> Andrii, any ideas?
I can't reproduce this. Modifying the early-init.el file or executing
Emacs like this works fine for me:
emacs -Q --execute "(push '(fullscreen . fullboth) default-frame-alist)"
But my OS and Emacs configuration is different:
System Description: macOS 11.2.3
Configured using: 'configure --with-ns --with-rsvg'
Illia, please check if this small fix will help:
diff --git a/src/nsterm.m b/src/nsterm.m
index bb20886ab1..ef517098bf 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -1640,8 +1640,6 @@ -(void)remove
fullscreen also. So skip handleFS as this will print an error. */
if ([view fsIsNative] && [view isFullscreen])
{
- // maybe it is not necessary to wait
- [view waitFullScreenTransition];
return;
}
next prev parent reply other threads:[~2021-05-14 6:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-13 20:39 bug#48406: 28.0.50; Emacs stuck in infinite loop in wait_reading_process_output when opening in fullscreen (NS) Illia Ostapyshyn
2021-05-13 21:15 ` Alan Third
2021-05-14 6:07 ` Andrii Kolomoiets [this message]
2021-05-14 9:13 ` Illia Ostapyshyn
2021-05-14 19:32 ` Andrii Kolomoiets
2021-05-14 20:34 ` Alan Third
2021-05-15 19:44 ` Andrii Kolomoiets
2021-05-15 22:47 ` Alan Third
2021-05-16 20:09 ` Andrii Kolomoiets
2021-05-26 20:26 ` Alan Third
2021-05-26 20:28 ` Alan Third
2021-06-05 13:45 ` Alan Third
2021-06-05 16:21 ` Illia Ostapyshyn
2021-06-05 16:33 ` Alan Third
2021-06-09 21:01 ` Alan Third
2021-05-14 22:53 ` Filipp Gunbin
2021-05-15 8:34 ` Illia Ostapyshyn
2021-05-14 6:22 ` Eli Zaretskii
2021-05-14 9:22 ` Illia Ostapyshyn
2021-05-14 10:55 ` Eli Zaretskii
2021-05-14 11:09 ` Illia Ostapyshyn
2021-05-14 11:13 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2czttlufk.fsf@gmail.com \
--to=andreyk.mad@gmail.com \
--cc=48406@debbugs.gnu.org \
--cc=alan@idiocy.org \
--cc=ilya.ostapyshyn@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).