From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: What are invisible frames for? Date: Thu, 22 Apr 2021 14:15:03 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10384"; mail-complaints-to="usenet@ciao.gmane.io" To: Alan Mackenzie , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 22 14:22:59 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lZYME-0002N7-Ky for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Apr 2021 14:22:58 +0200 Original-Received: from localhost ([::1]:39384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZYMD-0003ow-Nb for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Apr 2021 08:22:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZYEi-0007tF-BT for emacs-devel@gnu.org; Thu, 22 Apr 2021 08:15:12 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:56829) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZYEf-0004dr-8V for emacs-devel@gnu.org; Thu, 22 Apr 2021 08:15:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1619093704; bh=AY3bprvsqSgauO3/tfBz5+sh4+bi7WHhVmCvxEv0VG4=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=ISIYwGvxmvZCQ2yPDi2GRoUD7fa2mRW0zpHXDb1A6bDwE66h0VwJARiR9xNJkhpfi EnO9ZPGdGhITpXNYHOAPBsqsd/22n4JpTufL7bSBvSIZOJB3XxCCL1M14XOkx4kdG2 N0IhFMTb0xZypSe8dUyw2pPb8gDNQaf9eXvdbdK8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([46.125.249.47]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MAwbp-1lkEYD1Quv-00BNKT; Thu, 22 Apr 2021 14:15:04 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:559OMsRXnJZTVWeP7XrQnBRcyG/jjhgdvL3i2kWmnd1UNBN9xv1 SVgqjUkChDCQuvK4yqTBHHIzU6nQ1lifuxHw/TJm9djI5oTU4Ve0Q/tnxf/Qi74MH93rp4d pxuUKhR5MJDBu0FI/O341GUhZQ5l58fHQDjG1VVkXVkZRE7tmZtrRi94xsz92HQ6dC0OgJx gd/YAeG06jgzVfVJIaaDg== X-UI-Out-Filterresults: notjunk:1;V03:K0:IC9n6gzjypM=:xQnEnKaRfkvj8ExnMlzrEz 9voiI9Gk0NLwYT/t3rd5VJfy1RbHAYharj+wU5NYCsfIFjVq/jeo/0FaXx1qDqYLfGQ4KyfzH UEp6xOWtDHfQ2k4/3zAW9vijyEG6fTnpfrwle1jzckWNxq85SHWo0pr/MfhciA2OCu91osgdH TOACO3KDkn/Im3OJDILvZyIrPhYHWWXY1kRjTlXx8Fb0yQmAizxOQt3oo8ZDa+Bw6QwXFn4pZ eAuQMxMn/qFRQvEUlNqGKu5+VTvVjid2AWsGpaxnRHsbXjbDw0WtN1hzrmbFH83KzwF03P2Be 2IbE90/kP8E/ePSNhwcUQrydWFhUgcoxbcowip0QKyb76vjhE0mHsAQtIlI8Lb5+6y7hyZcRG yYXJc437FM2C9aZ1Bt44zdTl9PAHcY+kN+ue+hGM4gGoOXiesEMQHDv1nXCVEHl12qOwxLihQ jEwnA307D3lXzgVJ2OxB7Z4KwSIV6UqXhPhTszTvNDNkoPYE7U/OgOGET6crm1RWzmA3Z/5p7 MQnAkiOzxtpxh3VxO+t/IM5FjgY9NTyrIsBDFIX8CSkDy7KaHWa8PAuM5s/dr1lC93jVdsOYe uc9B9yVKz0b56KrjtcYlb2nmSsPZvs1RIO6SaYGx1V6RoJuQdKIzMXhqEC/76/PxWYxytkDIh 9Jy/9WSm3hqD9k+lLPMnKUn5zBmxh5RdlLCzs4vLvJ9i6hxdoSeAjfkKljEcNW68QzNSq3ggk I2n+zTHqopI9cBxyeK/SiubDHhaDj5INLy+BHtn+Ewu4gZOK3VL9Ye4zHnRwdwS1bGu+6TWC Received-SPF: pass client-ip=212.227.17.20; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:268274 Archived-At: > So, to determine how these MBs should be handled, it would be very > useful to understand what invisible frames are used for. I'm using a minibuffer child frame which is invisible most of the time. It becomes visible and reparented to the selected frame whenever I want to talk to it. Also, I have `tooltip-reuse-hidden-frame' non-nil which means that my tooltip frame is invisible whenever it's not used. In general, creating a new frame is expensive when you have many faces defined (it takes up to two GC cycles here) so temporarily hiding and reusing an existing frame is very useful for people on slower systems like mine. Finally note that during frame creation a frame is invisible until most of its parameters have been processed to avoid that users have to watch the various resizing steps and other visible changes participating in that process. martin