From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#14841: Frames created invisible have their visibility parameter set to t Date: Thu, 11 Jul 2013 18:33:43 +0300 Message-ID: <83a9ltun54.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1373556858 4009 80.91.229.3 (11 Jul 2013 15:34:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Jul 2013 15:34:18 +0000 (UTC) Cc: 14841@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 11 17:34:19 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UxIsn-00050t-1j for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2013 17:34:13 +0200 Original-Received: from localhost ([::1]:47326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxIsm-0002O0-Lv for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2013 11:34:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxIsi-0002Nh-AO for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 11:34:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxIsd-0003Qm-Av for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 11:34:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxIsd-0003Qd-8v for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 11:34:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UxIsd-00017m-0W for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 11:34:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jul 2013 15:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14841 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14841-submit@debbugs.gnu.org id=B14841.13735568414312 (code B ref 14841); Thu, 11 Jul 2013 15:34:02 +0000 Original-Received: (at 14841) by debbugs.gnu.org; 11 Jul 2013 15:34:01 +0000 Original-Received: from localhost ([127.0.0.1]:48008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxIsb-00017O-9F for submit@debbugs.gnu.org; Thu, 11 Jul 2013 11:34:01 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:46509) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxIsX-00016s-NY for 14841@debbugs.gnu.org; Thu, 11 Jul 2013 11:33:59 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MPS00J003795400@a-mtaout22.012.net.il> for 14841@debbugs.gnu.org; Thu, 11 Jul 2013 18:33:50 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MPS00IBO38EV370@a-mtaout22.012.net.il>; Thu, 11 Jul 2013 18:33:50 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:76219 Archived-At: > Cc: eliz@gnu.org > From: Juanma Barranquero > Date: Thu, 11 Jul 2013 17:14:19 +0200 > > Anyway, the bug: frames made invisible with set-frame-parameter, > modify-frame-parameters or make-frame-invisible have their visibility > parameter really set to nil. However, frames created already invisible > with (make-frame '((visibility . nil)), which *are* invisible, have > their visibility parameter set to t as soon as there's some redisplay. > [...] > This could be related to this comment in frame.h > > On ttys and on Windows NT/9X, to avoid wasting effort updating > visible frames that are actually completely obscured by other > windows on the display, we bend the meaning of visible slightly: > if equal to 2, then the frame is obscured - we still consider > it to be "visible" as seen from lisp, but we don't bother > updating it. We must take care to garbage the frame when it > ceases to be obscured though. See SET_FRAME_VISIBLE below. */ > unsigned visible : 2; I don't see how this is related to the bug you describe. Can you elaborate why you think it is?