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 19:29:42 +0300 Message-ID: <837ggxukjt.fsf@gnu.org> References: <83a9ltun54.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1373560272 14014 80.91.229.3 (11 Jul 2013 16:31:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Jul 2013 16:31:12 +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 18:31:12 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 1UxJlw-0007zO-CT for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2013 18:31:12 +0200 Original-Received: from localhost ([::1]:38217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxJlv-0005kS-Vx for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2013 12:31:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxJln-0005kM-Sb for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 12:31:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxJlm-0007O3-Mz for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 12:31:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxJlm-0007Nz-E4 for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 12:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UxJll-0003Fi-Pe for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 12:31:01 -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 16:31:01 +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.137356020312373 (code B ref 14841); Thu, 11 Jul 2013 16:31:01 +0000 Original-Received: (at 14841) by debbugs.gnu.org; 11 Jul 2013 16:30:03 +0000 Original-Received: from localhost ([127.0.0.1]:48199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxJkn-0003D2-Pp for submit@debbugs.gnu.org; Thu, 11 Jul 2013 12:30:02 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:33031) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxJkj-0003CT-Im for 14841@debbugs.gnu.org; Thu, 11 Jul 2013 12:29:59 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MPS008005QLDS00@a-mtaout20.012.net.il> for 14841@debbugs.gnu.org; Thu, 11 Jul 2013 19:29:49 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MPS0085K5TP5A70@a-mtaout20.012.net.il>; Thu, 11 Jul 2013 19:29:49 +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:76231 Archived-At: > From: Juanma Barranquero > Date: Thu, 11 Jul 2013 17:39:26 +0200 > Cc: 14841@debbugs.gnu.org > > >> 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? > > That's a trick question. I don't know, that's why I said "could be > related". Why did I think so? Because the comment clearly describes a > case where a frame is not "visible" (on the screen) and yet "visible" > (to lisp). But it doesn't say anything about frames created invisible. It talks about frames that are visible, but obscured. > Also, because it does not seem a bug in make-frame (after make-frame, > the frame has visibility = nil as expected); it is only noticeable > after redisplay; or at least, after the command is finished, which > suggests that redisplay was likely triggered. Can you provide a recipe to reproduce this, starting with "emacs -Q"?