From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30019: 26.0.90; Invalid specification of parent-frame with desktop-read Date: Wed, 10 Jan 2018 17:53:05 +0200 Message-ID: <83a7xl678e.fsf@gnu.org> References: <5A533F8D.3080307@gmx.at> <5A55E900.3050503@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1515599542 23947 195.159.176.226 (10 Jan 2018 15:52:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Jan 2018 15:52:22 +0000 (UTC) Cc: aaronjensen@gmail.com, 30019@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 10 16:52:18 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZIfj-0005Oj-Kd for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jan 2018 16:52:11 +0100 Original-Received: from localhost ([::1]:50147 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZIhh-0000Fv-I0 for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jan 2018 10:54:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZIhZ-0000FU-CM for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 10:54:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZIhW-0001Va-A5 for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 10:54:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43285) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZIhW-0001VQ-5i for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 10:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eZIhW-0003fB-09 for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 10:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jan 2018 15:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30019-submit@debbugs.gnu.org id=B30019.151559960214035 (code B ref 30019); Wed, 10 Jan 2018 15:54:01 +0000 Original-Received: (at 30019) by debbugs.gnu.org; 10 Jan 2018 15:53:22 +0000 Original-Received: from localhost ([127.0.0.1]:51182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZIgs-0003eJ-Er for submit@debbugs.gnu.org; Wed, 10 Jan 2018 10:53:22 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZIgr-0003e8-DT for 30019@debbugs.gnu.org; Wed, 10 Jan 2018 10:53:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZIgj-000162-0L for 30019@debbugs.gnu.org; Wed, 10 Jan 2018 10:53:16 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZIgi-00015y-Sr; Wed, 10 Jan 2018 10:53:12 -0500 Original-Received: from [176.228.60.248] (port=2182 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eZIgh-0005X3-JE; Wed, 10 Jan 2018 10:53:12 -0500 In-reply-to: <5A55E900.3050503@gmx.at> (message from martin rudalics on Wed, 10 Jan 2018 11:20:48 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:141985 Archived-At: > Date: Wed, 10 Jan 2018 11:20:48 +0100 > From: martin rudalics > > >> 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? > > > > Confirmed, it was FRAME_X_P (p) that came back false. > > In practice this means that with desktop in use I have to install some > sort of hook or timer that triggers when the parent frame has been > mapped and reparent the (until then probably hidden and not yet > parented) child frame. I don't think I understand why you need this. I thought you said that we only need an X window when the minibuffer becomes active, or did I misunderstand? If I did understand correctly, then this problem sounds like something that should be worked around by avoiding the error, not something that needs to be fixed. The parent frame will be eventually mapped, most probably much sooner than the user uses the minibuffer for the first time. Right?