Subject: bug#17046: 24.3.50; On startup emacs frame has no minibuffer or windows decorations

From: Juanma Barranquero <[email-masked]>
Date: Sat, 22 Mar 2014 22:42:10 +0100

On Sat, Mar 22, 2014 at 10:35 PM, martin rudalics <[email-masked]> wrote:

> BTW, you
> did check all four of Juanma's scenarios, that is also the ones without
> the (sit-for 0)?

Instead of (sit-for 0), I'd suggest trying with (read-event nil nil 1).

> This is indeed a strange thing.  Juanma, do we usually ignore this?

Definitely not. Try evaling this in emacs -Q:

(let* ((frame (make-frame '((visibility . icon))))
       (set (frameset-save (list frame))))
  (delete-frame frame)
  (read-event nil nil 1)
  (frameset-restore set :reuse-frames t))

   J