Subject: 28.0.50; Hang when first NS frame is (fullscreen fullboth) in desktop file
From: Filipp Gunbin <[email-masked]>
To: [email-masked]
Date: Sun, 03 May 2020 20:06:09 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

This may be somehow related with bug#40200.

- cp ~/.emacs ~/.emacs.bak
- echo "(desktop-save-mode 1)" > ~/.emacs
- emacs &
- maximize frame via native window button
- C-x C-c (desktop is saved with maximized frame)
- emacs &
- newly launched emacs's frame maximizes and immediately hangs

Killing with USR2 gives this not very useful backtrace:

Debugger entered--entering a function:
* #f(compiled-function () #<bytecode -0x19af9e136c1bd367>)()
  normal-top-level()

Also, while creating recipe, I tried emacs -q -fs, but it doesn't seem
to work.  Should I file a separate bug report, or is this by design?

Thanks.

In GNU Emacs 28.0.50 (build 10, x86_64-apple-darwin19.2.0, NS appkit-1894.20 Version 10.15.2 (Build 19C57))
 of 2020-05-03 built on fgunbin.local
Repository revision: 2c306146d2a4a12b291ab81ed4ff2968a9ba22e6
Repository branch: master
Windowing system distributor 'Apple', version 10.3.1894
System Description:  Mac OS X 10.15.2

Configured features:
PNG RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS
XIM NS MODULES THREADS PDUMPER LCMS2

Important settings:
  value of $LC_CTYPE: UTF-8
  value of $LANG: ru_RU.UTF-8
  locale-coding-system: utf-8-unix