From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: macOS child frame lower behavior Date: Thu, 28 May 2020 09:04:02 +0200 Message-ID: <51315ef4-9528-c0bd-51c8-4484dd44a8da@gmx.at> 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="ciao.gmane.io:159.69.161.202"; logging-data="129945"; mail-complaints-to="usenet@ciao.gmane.io" To: Aaron Jensen , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 28 09:07:03 2020 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 1jeCd4-000XhN-IZ for ged-emacs-devel@m.gmane-mx.org; Thu, 28 May 2020 09:07:02 +0200 Original-Received: from localhost ([::1]:35356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeCd3-0005Mq-Ec for ged-emacs-devel@m.gmane-mx.org; Thu, 28 May 2020 03:07:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeCaG-0004cM-D7 for emacs-devel@gnu.org; Thu, 28 May 2020 03:04:08 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:45237) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeCaF-00008p-3i for emacs-devel@gnu.org; Thu, 28 May 2020 03:04:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1590649444; bh=T/XgAI6ij4MbhYxRaq7LGBXK+0gWoagydYWnP3nLEYM=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=BY9G77/I+/AYhTJF5Xb2v4zIFMa5Urj8HJCvXX2z3eTs2D+nS97E4SKUUJ1kN8Ra0 PGLtFqQaUyQ4LPi9eKYrCoDos63zoEhqaXNz2xPR20n4bvaU/0cysw5PjHGmBwInZu BPdNzuoYNK8ISd3flV2DKpA59xmDHnnsp3Ytec+8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.7.239]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MK3W0-1jIh9m0Xuw-00LV6O; Thu, 28 May 2020 09:04:04 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:yCTdv7cbqU0v3esvln8WhR0aiZOSo9h9klyS62cb5KwYw/heryq MXepp41oxe4HBSNUVdGS1qKhnHgiUwf1wqtzjPmpSdmp4tHfEv+aNw/gMgu5a3fujmPRS0B PmYpiBBXQb6YYDBQSG58eesni6h9oklwJs69tNZydHo2VDYFgG8089zayJ4F55RrdrHpotC MBkifBHpiqrloOr6e/RkA== X-UI-Out-Filterresults: notjunk:1;V03:K0:xV42Aqm6CCM=:ctDTNS+3RU2LtedwPspmu+ jwl/+LXCiYf5nO9CerT16IvMeUxUQCkq3gu2UfXdWc1rP4sXQUUFXXVSf3LGBFjzxlhWdpnD7 10FPwa9KG+LgSypL72WRuIoJGuCbW35Vx+xdv1QXOXJWxLcXoghJGtdyWUlUoi8uJCgeJU1Dh mcJLTlXEBGSury+t5XVF8f0NoyhZ6v3nQ6pVVudyFW49HEW73bgd6kJ6qdCFmlLMjmGox4J5+ VxFntvX7ur1h5jredHZ/TlbuOmWpeZaOjf/LOhu5MLbaenYyY0HieWJub3rgGWBFGKtNMLONB h00dnewU3zdIxguMt4H+0OOVQ1mxGpawWfedXzlt/CTnWr2nKnKIjNEWxwnCpq11R+0cTyEAJ WQGe8YzSIg7W4S/iLxYz1SIe0PXpuGRjGm5iZ97kB4OjArV1UTCTC8M2tno9SL652TgcLY7FM p1BmdJzzyXbNZhhvYI3aeBkZjDjwGOnQvSroWVihLwsiNA+Ds6q+QyAVocBmyHUnSQEZRl7G7 mkMyCwVUutkA32CwFt+ninL4/sqoaUOeCoP1WVN/li55YM+llqEIfmfJyv+Bq4Co+1aQtf7uL 9qlKqn0YzxE8GzlZWEDFpeVeHLUe7v4stqNJWZmQ4319IWMtz1UqYXLKX/8+A0bU06rOSvB6q C771NPIfS/RrQDCw1wSmCRmgUdM0EVBI/+9iBHXinIDl1oelHbl6c8p0XW8AlI05wi41jcK6U i4+NZwMqPQXAiTDJrmT3gVb+qPX0TBHzKlm59VJswMAUHNu/3zla+jrxU1jZhkj7zPmecl73 Received-SPF: pass client-ip=212.227.15.15; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/28 03:04:05 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] 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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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:251539 Archived-At: > I recently filed this: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=41422 > > I was curious if this behavior is expected and/or known. It doesn't > fit the docs, but it could be a limitation of macOS. I know child > frames have differences from OS to OS. It is not the expected behavior and AFAICT it behaves on GNU/Linux and Windows as described in our docs. Note that, for example, the description of the XLib manual says about XLowerWindow (which we call from x_lower_frame) The XLowerWindow() function lowers the specified window to the bottom of the stack so that it does not obscure any sibling windows. and that of gdk_window_lower (which we do not call currently but would have to call in a "pure" GTK build for non-X systems) says Lowers window to the bottom of the Z-order (stacking order), so that other windows with the same parent window appear above window. I cited these because I expect the corresponding method called by ns_lower_frame (orderBack) do the same. According to its doc Moves the window to the back of its level in the screen list, without changing either the key window or the main window. it should but that depends on what "level on the screen list" precisely means. If it doesn't do the same, we likely have a bug but I cannot check that here. Maybe you can try to find out what ns_lower_frame does on your system. And maybe you can tell us whether 'ns-frame-restack' behaves as documented too. Thanks, martin