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 18:54:11 +0200 Message-ID: <4c0e3e63-5328-5447-ee02-762685092a5f@gmx.at> References: <51315ef4-9528-c0bd-51c8-4484dd44a8da@gmx.at> 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="11036"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Aaron Jensen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 28 18:57:30 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 1jeLqT-0002m1-Lw for ged-emacs-devel@m.gmane-mx.org; Thu, 28 May 2020 18:57:29 +0200 Original-Received: from localhost ([::1]:54982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeLqS-0004j0-IA for ged-emacs-devel@m.gmane-mx.org; Thu, 28 May 2020 12:57:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeLnQ-0002yx-Q9 for emacs-devel@gnu.org; Thu, 28 May 2020 12:54:20 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:58447) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeLnL-0005Os-Oz for emacs-devel@gnu.org; Thu, 28 May 2020 12:54:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1590684852; bh=tZ2EMlAfapYIU45O1t6eCBTU/igetZEU+L29tbYVGcE=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=lGH5sg6Nf2jSyYg70bzU/c/r2Kl3hmA2/ZpoGn88fDxbg1zs0h6HWyEVaHGddaSxo FwxuaRHWao2KxlyP7SVlIC2mz52XxLXJlW1SFEEBtX/+lgcEb14QEMYHtZ6/CDcy0v QnVA3je4axhaYSQU0Awm1oaOwpYV3CJFIoYrd9aQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.5.1]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MbAgq-1j2o3Q0Zvk-00bdFr; Thu, 28 May 2020 18:54:12 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:Qdi7GUH2zbsDyZmoI/9rbHIYBdwwVOr1u5yJwSYmcVRtfTSSDw6 9r+BXyh1TkzJulDZbJWZEMB65frWvxClVz4aW05DOD0SaiaIHrW95HKM0qqQJwZd94Ks8Fk xzOQtQl4eMl+TSzhktF/oCnXmx99fihj2K3LdGEcDX0polCgKjIkzDULydamwxeikxCNW6I i3gw+CtdbFN5f2eHx6NDw== X-UI-Out-Filterresults: notjunk:1;V03:K0:qMCvWWsH73g=:hUmOCFDAiiByAkWMbw+Nu4 /uOPZ+xB3fceUOxU4m3ot3OwHokTUtm77f0OAzWmKVfz4iTEF1t6/o25Y/KM5STRNJNQZRAC0 sYzSbUzNaRx1tHj9duPdMo8dSvYn8mTA9x2DnNcsZ8AcWt8BorAXmJE82hrmqMxOehHHJzSdg c0cg0XHNSOUiWpHynZyott0xhaEAbXyqCKiszixYiK9Cr+j826Qy9rXuZWuNQ5gGxRUE+fkjl BTdIzjiHX4l0K6wCC4qP1utu9pURlLwhEnTM1KTH0owDxTJAs2R/rtGVUa7r+E88BjyARp8S3 Y+WQmDkZhXaCmFG1GJ76WZ0lPsmHoOJ/rVq1YHB7AIO8jIhb7V+jRrPNnODbqFsw75dccc0V8 ScXYr8T+2VmJ2zlyBa3o92vWxtp88Qz0r3+Dh4Qpt+QEO4nu8ZA4xLJhG9zNBf9M+8rhA5BFj LnudLCVN57iHWz7ckVhP5hfcGoq41EFTpVFH6waWaYAMT5sLZzuauY5snYcb8vMsuTiJY9EKt GqNH6CcfMgzIvQ1BimsL8X9hhKfHJUjyHXVnN37MUrVgrybEM7rs9F2O1VU3/OcOQWSOlSZum afdCAd4fqenNBl2pg7s4RpnuO6zl+eT67x0iY+gKM3NuTpepayJGYCm1sjXlXCMX3fEFFyLrw fUz+o91eRQtuiftd+w2oFE7NPCual8xZgsZMCXeyx/YxhcMp1UBXxr969+XZ1SBeEvkCu/pLC qbFGfe317ggPG3aIzsVJVJCvV/Daik8axYOk36HVQPSP+ffp0Xr5y5kXigSTxfiT/cu+1KYL Received-SPF: pass client-ip=212.227.17.22; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/28 12:54:12 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 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:251561 Archived-At: > It apparently means the entire screen list on the desktop. Sounds bad (though I have no idea what "screen list" stands for). > AFAICT, at least in Emacs, it does not do what is described. I created > two child frames and attempted to restack them so that the second > created one was above the first. This seemed to have no effect. I see. The code works here as intended with a GNUStep build (under Debian's xfwm) so the problem is not on the Emacs side. Does 'raise-frame' with two child frames work as intended? What happens when you have two overlapping child frames and you click into the lower one? Does it raise to the top? IIUC the following setup (which works here) would fail: Make two normal frames A and B with A overlapping B and on B make two child frames C and D where C overlaps D. If you now in frame A evaluate (raise-frame D), does as a side-effect B overlap A? If we cannot fix that in some other way, we should probably make lowering a child frame a NOOP on MacOS when it is the sole child frame of its parent. If there are two child frames, we could try to raise the other one, if that works somehow. For more complicated situations, we'd have to look whether there exists a z-order for child frames and use that. martin