From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#10120: 24.0.91; frame-visible-p returns t, but frame not visible/iconified Date: Wed, 23 Nov 2011 09:43:55 -0800 Message-ID: <350FA36A6D354CD19E1119F1EF3E74C4@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322070286 5361 80.91.229.12 (23 Nov 2011 17:44:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Nov 2011 17:44:46 +0000 (UTC) To: 10120@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 23 18:44:40 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RTGsC-0002eS-AT for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Nov 2011 18:44:40 +0100 Original-Received: from localhost ([::1]:46204 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTGsB-00081o-NO for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Nov 2011 12:44:39 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:38279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTGs8-00081X-Sh for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2011 12:44:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTGs7-0004EJ-Sd for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2011 12:44:36 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTGs7-0004EF-PX for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2011 12:44:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RTGtV-000204-Vt for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2011 12:46:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Nov 2011 17:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10120 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.13220703377652 (code B ref -1); Wed, 23 Nov 2011 17:46:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Nov 2011 17:45:37 +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 1RTGt6-0001zM-GU for submit@debbugs.gnu.org; Wed, 23 Nov 2011 12:45:36 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RTGt4-0001zF-Kp for submit@debbugs.gnu.org; Wed, 23 Nov 2011 12:45:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTGrf-0004AZ-6X for submit@debbugs.gnu.org; Wed, 23 Nov 2011 12:44:08 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:45447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTGrf-0004AV-54 for submit@debbugs.gnu.org; Wed, 23 Nov 2011 12:44:07 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTGre-0007zv-6G for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2011 12:44:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTGrc-0004A6-Su for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2011 12:44:06 -0500 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:22960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTGrc-00049l-Bo for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2011 12:44:04 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pANHi1WA032525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 23 Nov 2011 17:44:02 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id pANHi0Kx026778 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 23 Nov 2011 17:44:01 GMT Original-Received: from abhmt104.oracle.com (abhmt104.oracle.com [141.146.116.56]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id pANHhtQO002309 for ; Wed, 23 Nov 2011 11:43:55 -0600 Original-Received: from dradamslap1 (/10.159.44.3) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 23 Nov 2011 09:43:55 -0800 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcyqB3hz4r1NwWULQjqku4bVFXJRTw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090204.4ECD30E2.00E4,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 23 Nov 2011 12:46:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54220 Archived-At: Probably not very useful as is - sorry about that. Take this as an FYI, in case you get further, related reports. With my setup (not with emacs -Q), at some point I got into a state where there was a buffer associated with a window in a frame, and that frame was neither visible anywhere nor iconified. It was not listed in the Windows task bar, which lists each frame. Yet Emacs thought that that the frame was visible (e.g. frame-visible-p returned t). The buffer existed and was live, but it was displayed in no visible or iconified window/frame anywhere. Emacs functions such as raise-frame and select-frame-set-input-focus returned normally, as if they worked, and the latter even deselected the current frame (unhighlighted the title bar and borders) as if it had selected another frame. But the target frame was not visible anywhere (and not just off-screen, as determined by the Windows task-bar apps list). Here are some things I noted when in the debugger, in case it helps: * display-buffer(# t) * pop-to-buffer(# t nil) * switch-to-buffer-other-frame(#) Then: * display-buffer--maybe-same-window(# ((inhibit-same-window . t))) returned nil. Then: * get-buffer-window-list(# nomini 0) returned (#) Then: * display-buffer-record-window(reuse # #) returned nil. Then: * window-parameter(# quit-restore) returned nil. Note that this window was visible nowhere. Then: * frame-visible-p(#) returned t, even though the frame is not visible anywhere and is not in the list of frames in the Windows task bar. * window-frame(#) returned #. * window--display-buffer-1(#) Then: * raise-frame(#) returned nil. Then: * select-window(#) returned #. So display-buffer-reuse-window, and hence display-buffer, returned #. And pop-to-buffer, and hence switch-to-buffer-other-frame, returned buffer #. HTH in some way (ring a bell?). Sorry I don't have more info. In GNU Emacs 24.0.91.1 (i386-mingw-nt5.1.2600) of 2011-11-21 on MARVIN Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.6) --no-opt --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-2.10.1/include --ldflags -LD:/devel/emacs/libs/gnutls-2.10.1/lib'