From: martin rudalics <rudalics@gmx.at>
To: Aaron Jensen <aaronjensen@gmail.com>, 30019@debbugs.gnu.org
Subject: bug#30019: 26.0.90; Invalid specification of parent-frame with desktop-read
Date: Mon, 08 Jan 2018 10:53:17 +0100 [thread overview]
Message-ID: <5A533F8D.3080307@gmx.at> (raw)
In-Reply-To: <CAHyO48xt=r7eO8p2z6QvfP4-aLDRdj_8i1nP9hm=GJTozHOGmQ@mail.gmail.com>
> I'm not sure of the exact repro, but hopefully the below stack trace
> will help. After playing around with child frames on macOS while running
> desktop-mode, if I restart emacs, I end up with this error during
> "desktop-read"
>
> Debugger entered--Lisp error: (error "Invalid specification of ‘parent-frame’")
> modify-frame-parameters(#<frame Emacs 0x11571e7d0> ((parent-frame .
> #<frame *Warnings* 0x10982e5b0>)))
> set-frame-parameter(#<frame Emacs 0x11571e7d0> parent-frame #<frame
> *Warnings* 0x10982e5b0>)
> frameset--restore-frame(((minibuffer . #<window 4 on *Minibuf-0*>)
[...]
> (frameset--parent-frame .
> "8810-6104-369C-7DEE") (frameset--mini nil . "8810-6104-369C-7DEE")
`frameset--restore-frame' has this
(let* ((frame-id (frame-parameter frame 'frameset--parent-frame))
(parent-frame
(and frame-id (frameset-frame-with-id frame-id))))
(when (frame-live-p parent-frame)
(set-frame-parameter frame 'parent-frame parent-frame)))
and x_set_parent_frame has
if (!NILP (new_value)
&& (!FRAMEP (new_value)
|| !FRAME_LIVE_P (p = XFRAME (new_value))
|| !FRAME_X_P (p)))
{
store_frame_param (f, Qparent_frame, old_value);
error ("Invalid specification of `parent-frame'");
When you put a breakpoint at the last line I suppose it's the
FRAME_X_P (p) call that failed. Can you confirm that?
If so, we would not have a window system window for the parent frame
yet and we might have to wait "somehow" until it has been created.
Too bad.
It might be interesting to find out whether `frameset--mini' has the
same problem and, if not, why. After all the minibuffer frame is the
same as the parent frame.
martin
next prev parent reply other threads:[~2018-01-08 9:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-08 2:48 bug#30019: 26.0.90; Invalid specification of parent-frame with desktop-read Aaron Jensen
2018-01-08 9:53 ` martin rudalics [this message]
2018-01-09 10:24 ` martin rudalics
2018-01-09 16:21 ` Aaron Jensen
2018-01-09 18:40 ` Eli Zaretskii
2018-01-10 10:20 ` martin rudalics
2018-01-10 15:53 ` Eli Zaretskii
2018-01-11 10:54 ` martin rudalics
2018-01-11 16:07 ` Eli Zaretskii
2018-01-11 17:06 ` martin rudalics
2018-01-11 17:56 ` Eli Zaretskii
2018-01-11 18:20 ` martin rudalics
2018-01-11 20:49 ` Eli Zaretskii
2018-01-12 8:47 ` martin rudalics
2018-01-12 9:43 ` Eli Zaretskii
2018-01-13 2:42 ` Aaron Jensen
2018-01-13 8:50 ` martin rudalics
2020-08-26 13:26 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5A533F8D.3080307@gmx.at \
--to=rudalics@gmx.at \
--cc=30019@debbugs.gnu.org \
--cc=aaronjensen@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.