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

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

bug#14841: Frames created invisible have their visibility parameter set


From: Juanma Barranquero
Subject: bug#14841: Frames created invisible have their visibility parameter set to t
Date: Thu, 25 Jul 2013 22:17:19 +0200

On Thu, Jul 25, 2013 at 9:35 PM, Eli Zaretskii <eliz@gnu.org> wrote:


> Btw, this trivial modification will avoid the problem:
>
>     (let ((f (selected-frame))
>           (f1 (make-frame)))
>       (make-frame-visible f1)
>       (delete-frame f))

When desktop restores frames, it first creates the frames being
restored, and only then deletes the existing ones. And yet I see the
error.

> as will this:
>
>     (let ((f (selected-frame))
>           (f1 (make-frame)))
>       (sit-for 0)
>       (delete-frame f))

I can add a (sit-for 0). But then, we have exchanged one problem with
frames not being entirely up-to-date before redisplay with another
similar case.

> IOW, it first creates a frame that is invisible, and only then applies
> the visibility spec.  So you must wait for the frame to come up before
> you can delete the initial frame.

Yes, but this does not happen without your patch...

    J





reply via email to

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