From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#30019: 26.0.90; Invalid specification of parent-frame with desktop-read Date: Thu, 11 Jan 2018 11:54:57 +0100 Message-ID: <5A574281.6080909@gmx.at> References: <5A533F8D.3080307@gmx.at> <5A55E900.3050503@gmx.at> <83a7xl678e.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1515668103 17613 195.159.176.226 (11 Jan 2018 10:55:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Jan 2018 10:55:03 +0000 (UTC) Cc: aaronjensen@gmail.com, 30019@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 11 11:54:59 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 1eZaVa-0003yA-S9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jan 2018 11:54:54 +0100 Original-Received: from localhost ([::1]:34126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZaXa-00020H-Jo for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jan 2018 05:56:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZaWh-0001KL-5i for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 05:56:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZaWg-0000LK-Bq for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 05:56:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43811) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZaWg-0000L8-8B for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 05:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eZaWg-0000gD-15 for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 05:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jan 2018 10:56: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.15156681152555 (code B ref 30019); Thu, 11 Jan 2018 10:56:01 +0000 Original-Received: (at 30019) by debbugs.gnu.org; 11 Jan 2018 10:55:15 +0000 Original-Received: from localhost ([127.0.0.1]:51708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZaVv-0000f8-IQ for submit@debbugs.gnu.org; Thu, 11 Jan 2018 05:55:15 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:61852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZaVu-0000ev-FE for 30019@debbugs.gnu.org; Thu, 11 Jan 2018 05:55:14 -0500 Original-Received: from [192.168.1.100] ([213.162.73.239]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MJngW-1eYUaF1iDs-001AcP; Thu, 11 Jan 2018 11:55:07 +0100 In-Reply-To: <83a7xl678e.fsf@gnu.org> X-Provags-ID: V03:K0:MbJJXTJ3CoAgW/p211uVqa51fSUnAl3oWQbkyuriUSFZI/By01n f54NQHndH2rTAKFE2uo2rtqcZCu7UGxoDAibKPQZ2mq9egFGnkudasxhjG+jQsJZQWRoO9T 9TczdtD+8o4lkOCGNdxV1vs5xQ9P1bNDudgM3Z1xFT18Eq93LcGJgqKKGnNXSMYIaw4D/zg MgpJ9FjLko/azjrXcyBUw== X-UI-Out-Filterresults: notjunk:1;V01:K0:L5D4YjTSocM=:rjfIXv9t4Ug2ukYldzRiZD dQql4jXEIR8p/mq7B0gQjSyAsOQFu0HXphI8HnnTORLd80odSxUL1c0O6h3AnkcHGKU1MbNNL AcuSZn3sdmJgozXpmnY6/aWDNxmYma9+nuEwafzkFNbzS8hz8UD3kZhhhkhgQrJk2WA/+lpXT qUXMnP9jqjNCxQLU7z/2UKpvbuUfiG2cbrGHx0VOuTB0oj3NKsjd4dmeVpMTRMjr1o+a8ciKj G/ygsIhIkVWTrwmMjUM+Cr32TcQq/ATiwoRnAA+iZgdRFTDbfOTwYeiQBXayl/fgEKgdrI6K9 i1ZvG/gNHTYBLv8DlgoDZ737aypQLxSmSNcv9KMM1apLlmrjxPf8A+wyI7eH7s3wAi5+Y2eKi /jlaDjdm/8meuy+9ZMEMFmQo1HMQTNhOXqyusu0oaq/s2D+Uo7X98b4Oj/XtN0/f4bmz8lSxa W4OMTUDUemNbhLpOVPLyGmJvKckOul/Ub+0Prg2/OFzyh+btimQlUhbaUxUGx19AecTzXZ0le VEyr/nOexagk0TT3RUARfDXTP5Sc9oW1xGhbtptQJyMewPXhNH/wHEzWsA8/3VGzDccRqVkY2 lSBdVc6NdO38ozBPiRrw7a6Z7z46wwUboKZDYzxfCNtHT7grrrvyojdzWFl5okmDOSxvU2uh1 iKfUfu5Ieuok11penGbscQSAJ9oWSnbQlqZEHlu70UjixOLQkraDQwncEe2QTtiCIgpG/3iz2 78b7G8GpaxiBE+iK28aNCXUIRjluGGDwJTyOFdnV9RHEgXNrdmIp2BJ+2sXgM7lL4in4qW6y 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:142024 Archived-At: >> 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? Normal minibuffer frames are top-level frames, they have no parent. So we have no problems with minibuffer frames because the window system will have created and made them visible some time before the first user interaction occurs. The problem here is with child frames whose window system parent window can be assigned only after that parent window has been made by the window system and whose identity has been reported to us. martin