From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#5482: frame-invisible-p reports nil for iconified frames on w32 Date: Tue, 26 Jan 2010 21:37:45 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1264538428 8010 80.91.229.12 (26 Jan 2010 20:40:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Jan 2010 20:40:28 +0000 (UTC) To: 5482@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 26 21:40:20 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NZsCx-00063s-QS for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Jan 2010 21:40:20 +0100 Original-Received: from localhost ([127.0.0.1]:53429 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZsCz-0003SF-5h for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Jan 2010 15:40:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZsCe-0003M1-Ec for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 15:40:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZsCZ-0003Ko-LO for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 15:40:00 -0500 Original-Received: from [199.232.76.173] (port=46420 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZsCZ-0003Kl-En for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 15:39:55 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42475) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NZsCZ-0000Hz-8r for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 15:39:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NZsBi-0004uB-7i; Tue, 26 Jan 2010 15:39:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Jan 2010 20:39:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5482 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: Emacs Bugs Original-Received: via spool by submit@debbugs.gnu.org id=B.126453830218822 (code B ref -1); Tue, 26 Jan 2010 20:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jan 2010 20:38:22 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZsB1-0004tU-HJ for submit@debbugs.gnu.org; Tue, 26 Jan 2010 15:38:22 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZsAz-0004tN-Ui for submit@debbugs.gnu.org; Tue, 26 Jan 2010 15:38:18 -0500 Original-Received: from mail.gnu.org ([199.232.76.166]:44688 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZsAv-0007RY-R9 for submit@debbugs.gnu.org; Tue, 26 Jan 2010 15:38:13 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NZsAv-00007e-DC for submit@debbugs.gnu.org; Tue, 26 Jan 2010 15:38:13 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:49491) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NZsAu-00007Y-Pa for submit@debbugs.gnu.org; Tue, 26 Jan 2010 15:38:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZsAu-0002w3-6H for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 15:38:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZsAp-0002ub-0p for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 15:38:11 -0500 Original-Received: from [199.232.76.173] (port=46089 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZsAo-0002uS-Ly for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 15:38:06 -0500 Original-Received: from mail-fx0-f216.google.com ([209.85.220.216]:50178) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NZsAo-00006t-DW for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 15:38:06 -0500 Original-Received: by fxm8 with SMTP id 8so4176695fxm.26 for ; Tue, 26 Jan 2010 12:38:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=gBm5eppaEeRFtZZV53IMPsfHIrU4bMqmUglrq/1ECAY=; b=TuTIaU/PzoSZ/FWnaz5R9p+2MCzGdBYSZAx0db45zFtnUlaMfeVcHlf00q8K+6CIVR zPMUQTxwIIMFJVfG/xamGCbeBavgbDSvX32yZPkJE0Bxuuk7/IAOisbibPzvJmWT3AFp yguMIQY56blg8HhZ1ILX4IppzElpJWxSk2SnQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=E2oLFItbo/lad9gnEveZiN5ewLIq8+NSBP9ju64R8Po1AUx1T6PeZx3qQb1org24T1 Gj8Wa3Ij6DlcEpzRhDlWVmsOgvuA3pHdlqo/lKRwQhPmo01p7o58SwtHICagxFoP7/Ke Xx40DWZInDcfuWnQ3fTl1nQkiZje4b65vp4Nw= Original-Received: by 10.239.185.69 with SMTP id b5mr442938hbh.27.1264538285135; Tue, 26 Jan 2010 12:38:05 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.5 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -4.5 (----) Resent-Date: Tue, 26 Jan 2010 15:39:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34728 Archived-At: 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?