unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 14841@debbugs.gnu.org
Subject: bug#14841: Frames created invisible have their visibility parameter set to t
Date: Thu, 11 Jul 2013 17:39:26 +0200	[thread overview]
Message-ID: <CAAeL0SRb9CpH3tY3jQeRFzYMu_WeNSGt_tFTbCGbT2Z1LuNWRg@mail.gmail.com> (raw)
In-Reply-To: <83a9ltun54.fsf@gnu.org>

On Thu, Jul 11, 2013 at 5:33 PM, Eli Zaretskii <eliz@gnu.org> wrote:

>> 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?

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).

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.

But I could be wrong, of course. It's known to happen every now and then ;-)





  reply	other threads:[~2013-07-11 15:39 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-11 15:14 bug#14841: Frames created invisible have their visibility parameter set to t Juanma Barranquero
2013-07-11 15:33 ` Eli Zaretskii
2013-07-11 15:39   ` Juanma Barranquero [this message]
2013-07-11 16:29     ` Eli Zaretskii
2013-07-11 16:54       ` Juanma Barranquero
2013-07-14 16:52         ` Eli Zaretskii
2013-07-14 17:02           ` Juanma Barranquero
2013-07-19 13:04             ` Juanma Barranquero
2013-07-20 12:56               ` Eli Zaretskii
2013-07-20 13:01                 ` Juanma Barranquero
2013-07-20 13:39                   ` Eli Zaretskii
2013-07-20 14:54                     ` Juanma Barranquero
2013-07-20 15:48                       ` Eli Zaretskii
2013-07-20 16:09                         ` Eli Zaretskii
2013-07-20 16:57                           ` Juanma Barranquero
2013-07-20 17:37                             ` Eli Zaretskii
2013-07-23 23:36                               ` Juanma Barranquero
2013-07-20 16:35                         ` Juanma Barranquero
2013-07-20 12:53             ` Eli Zaretskii
2013-07-20 12:55               ` Juanma Barranquero
2013-07-24 16:50               ` Juanma Barranquero
2013-07-25 19:17                 ` Eli Zaretskii
2013-07-25 19:35                 ` Eli Zaretskii
2013-07-25 20:17                   ` Juanma Barranquero
2013-07-26  0:11                     ` Juanma Barranquero
2013-07-26  6:32                       ` Eli Zaretskii
2013-07-26  9:37                         ` Juanma Barranquero
2013-07-26 10:01                           ` Eli Zaretskii
2013-07-26 10:01                           ` Eli Zaretskii
2013-07-27 12:43                             ` martin rudalics
2013-07-27 13:03                               ` Eli Zaretskii
2013-07-27 13:30                                 ` martin rudalics
2013-07-27 15:31                                   ` Eli Zaretskii
2013-07-28  8:40                                     ` martin rudalics
2013-07-28 14:59                                       ` Eli Zaretskii
2013-07-29  7:54                                         ` martin rudalics
2013-07-29 15:26                                           ` Eli Zaretskii
2013-07-29 16:58                                             ` martin rudalics
2013-07-29 18:37                                               ` Eli Zaretskii
2013-07-30  9:12                                                 ` martin rudalics
2013-07-30 15:31                                                   ` Eli Zaretskii
2013-07-30 16:16                                                     ` martin rudalics
2013-07-30 14:11                                                 ` martin rudalics
2013-07-30 15:52                                                   ` Eli Zaretskii
2013-07-31  8:33                                                     ` martin rudalics
2013-08-06  8:56                                                       ` martin rudalics
2013-07-28 22:08                             ` Juanma Barranquero
2013-07-29 16:36                               ` Eli Zaretskii
2013-07-26  6:31                     ` Eli Zaretskii
2013-07-26  9:37                       ` Juanma Barranquero
2013-07-11 16:54 ` Glenn Morris
2013-07-11 16:55   ` Juanma Barranquero

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=CAAeL0SRb9CpH3tY3jQeRFzYMu_WeNSGt_tFTbCGbT2Z1LuNWRg@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=14841@debbugs.gnu.org \
    --cc=eliz@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).