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

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

bug#5482: frame-invisible-p reports nil for iconified frames on w32


From: Andrew Hyatt
Subject: bug#5482: frame-invisible-p reports nil for iconified frames on w32
Date: Sat, 25 Jun 2016 23:56:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin)

Lennart Borgman <lennart.borgman@gmail.com> writes:

> This problem happens for example under these circumstances:
>
> Create a frame
>
>   (setq my-frame (make-frame))
>
> Iconify it. Then make it first invisible and then visible again:
>
>   (make-frame-invisible my-frame)
>   (make-frame-visible my-frame)
>
> The result of checking if it is visible is now nil (should be `iconified'):
>
>   (frame-visible-p my-frame)
>
> This is with a fresh checkout from yesterday.
>
>
> BTW the implementation of frame-visible-p seems a bit strange to me on
> w32. It is easy to check visibility using GetWindowPlacement, but is
> this used?

Sorry for the late reply here.  In Emacs 25, the behavior is different,
at least for me in Mac OS X.  Now, when I do (make-frame-visible
my-frame), the frame uniconifies and becomes a normal window again.

Can you (or anyone else) still reproduce this on Windows? 







reply via email to

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