all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrew Hyatt <ahyatt@gmail.com>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: 5482@debbugs.gnu.org
Subject: bug#5482: frame-invisible-p reports nil for iconified frames on w32
Date: Sat, 25 Jun 2016 23:56:32 -0400	[thread overview]
Message-ID: <m2k2hceh73.fsf@Andrews-MacBook-Pro.local> (raw)
In-Reply-To: <e01d8a51001261237qe5d3590sd4673864f0f03499@mail.gmail.com> (Lennart Borgman's message of "Tue, 26 Jan 2010 21:37:45 +0100")


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	other threads:[~2016-06-26  3:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-26 20:37 bug#5482: frame-invisible-p reports nil for iconified frames on w32 Lennart Borgman
2016-06-26  3:56 ` Andrew Hyatt [this message]
2016-06-26 10:18   ` martin rudalics
2016-06-26 15:58     ` Eli Zaretskii
2016-06-27  6:22       ` martin rudalics
2016-06-27 15:40         ` Eli Zaretskii
2016-06-27 16:56           ` martin rudalics
2016-06-28 16:00             ` Eli Zaretskii
2018-06-14  0:48         ` Noam Postavsky

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2k2hceh73.fsf@Andrews-MacBook-Pro.local \
    --to=ahyatt@gmail.com \
    --cc=5482@debbugs.gnu.org \
    --cc=lennart.borgman@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.