unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: 5482@debbugs.gnu.org
Subject: bug#5482: frame-invisible-p reports nil for iconified frames on w32
Date: Tue, 26 Jan 2010 21:37:45 +0100	[thread overview]
Message-ID: <e01d8a51001261237qe5d3590sd4673864f0f03499@mail.gmail.com> (raw)

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?







             reply	other threads:[~2010-01-26 20:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-26 20:37 Lennart Borgman [this message]
2016-06-26  3:56 ` bug#5482: frame-invisible-p reports nil for iconified frames on w32 Andrew Hyatt
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=e01d8a51001261237qe5d3590sd4673864f0f03499@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=5482@debbugs.gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).