bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14841: Frames created invisible have their visibility parameter set


From: Eli Zaretskii
Subject: bug#14841: Frames created invisible have their visibility parameter set to t
Date: Sat, 20 Jul 2013 15:56:06 +0300

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Fri, 19 Jul 2013 15:04:22 +0200
> Cc: 14841@debbugs.gnu.org
> 
> On Sun, Jul 14, 2013 at 7:02 PM, Juanma Barranquero <lekktu@gmail.com> wrote:
> 
> >  3) If you do this instead:  M-: (progn (make-frame '((visibility)))
> > (mapcar #'frame-visible-p (frame-list))) <RET>, you get (nil t)
> 
> Curiously, this seem like two different bugs:
> 
> 1) A frame created via (make-frame '((visibility . nil))) is
> invisible, but elisp thinks it is visible.

How do you see that?  The example below clearly says "nil", not "t".

> 2) frame-visible-p cannot be trusted until the frame has been
> displayed, as shown by this different example:
> 
> ELISP> (progn (setq *f* (make-frame '((visibility . icon))))
> (frame-visible-p *f*))
> nil
> ELISP> (frame-visible-p *f*)
> icon

I think this is to be expected (and unrelated to this bug).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]