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: Fri, 29 May 2020 08:45:41 +0200 Message-ID: References: <51315ef4-9528-c0bd-51c8-4484dd44a8da@gmx.at> <4c0e3e63-5328-5447-ee02-762685092a5f@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="108795"; 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 Fri May 29 08:48:29 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 1jeYoe-000SBO-TQ for ged-emacs-devel@m.gmane-mx.org; Fri, 29 May 2020 08:48:28 +0200 Original-Received: from localhost ([::1]:46114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeYod-00033P-MU for ged-emacs-devel@m.gmane-mx.org; Fri, 29 May 2020 02:48:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeYm3-0001ux-Ph for emacs-devel@gnu.org; Fri, 29 May 2020 02:45:47 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:48719) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeYm1-00043S-OV for emacs-devel@gnu.org; Fri, 29 May 2020 02:45:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1590734742; bh=CWl6mNspIXzjMM2g5ug1TFFZpzd5a+zz8rHHG/gmzWw=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=bnJzQvORnecjYz8TlK90ZPN9cWK/2oBZPYeLakrbPG8eOCzkJFzGh7wz+rXtCHPK5 /o0SAG+LBE3F4oAlkwEg4LsvJYug5ymj2Q3+pRJmEDFIVNdr0byRwG9R6+Lj7KsACR WVEcf37h87zUb9vAM/IL5Lej73owbh25U4FhXQuQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([46.125.249.49]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1McpJq-1j5lv22zly-00Zxl3; Fri, 29 May 2020 08:45:42 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:1g+caHaAG2zqUZXjmMZ7PcZCpHOsBczJ3JF0vhj3lOHdMTaISYI 6tCfs7SubdkaUAkomCuEEQeyp6ptZUkYlvB0NXDSfbDtZ9RxO2Blf/d2AN2NX7aJHCCfTJZ NDSP+bj32JM80wGWRRchVAybF45TEUUW5wAXK4ovPRdHrmvEq/7mKOWI+bN6jo+UA3nfOmD g25I/0lcc7/gjVEL3Mufw== X-UI-Out-Filterresults: notjunk:1;V03:K0:96l+sAr4grs=:ZpcHFXScs8h24KpC+QH9yx heFrtxVIBZkLtmR4ydCcvJK3fYiSoftyymf0M/7114G1U6XlT8pUSxkV2kbTD2sQ8/yH8toJG sABqP72qfD5QBRMyqTRuUsyjrc0xiMDyMoEHJY7rOSbYkGFwg/w7Lu2URIi2ek0SwFlFoTe1T ucZAHizs2P9xJ8sZnSLS9mha0n5ruYaSTGdhPQK1j4iPabAu3gFZiP0YxBQPm+WIAx+gysDbh KMEEU+fIDI/YHJ1F+mjlJRWoKWYdTyblUPt36LuIviaBC7gldgaADsty+H4K+12WKOv+9lU1V y8AC4fYfNKwc3E6Dq2wyGk6onyue56Tv0ihdDsRPU602Q7/f62dAvLGWKNzkMX5Zor7+cX7AS o7C6ocWxTIUG3AugHyvcSLaNBh4wGQSo6QYZC4fq0Ry45v9MoErnyIjbWyJvlxrZWjYHqJmv3 DJKdn0juIzaP4CMNaZgyvUu333FCm9W6PYvuQzeDm48W/tRjhQmEmLLmfTiccJl6WxTVpD++V BYdpqpJFbX9P6oufs8ylrN3vXbqMrqIvwvhGSoylYziomXCNJNmpm9/Y5lVtOywF0pGNpQ4/5 WgbyRP5hL1oLWwNWVKsyulUCJV1aq9CmfstAMHCM0pQ+9NMmmzdJ+qTWZQtQ2ri/TbEcgabxF 5Xuyu3CXcBZCQSGqOQPP9j4XyYu30MGOv7+vJxgxkyOxgZw1XH3caVBmD+xKQt3gR7t6xHEpz PcqiueSUn1exhRfnk3rnTuEbRrl2VqRQv5/f0+7OW68n5lnHs+30TeJI6nauB4sLlmYbPFj/ Received-SPF: pass client-ip=212.227.17.20; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/29 02:45:43 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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:251605 Archived-At: >> 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? > > No, it focuses the frame raised, but does not change its layering. > >> What happens when >> you have two overlapping child frames and you click into the lower one? >> Does it raise to the top? > > No, it does not. Both of these sound pretty grave. Would changing the visibility of child frames help to work around these? >> 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? > > Yes, whatever is done to a child actually impacts the parent. So in this scenario D would _not_ appear on top of C while B appears on top of A? > If you remove a child and re-add it, you can change the order, which > works for raise_frame, because when you add the child frame back it > gets added as the top-most. I don't know how to emulate a lower_frame > short of removing all of the children and then re-adding them in the > proper order (with the one being lowered first). Is such redrawing a chain of child frames visually noticeable? Would it work to make them all invisible first and then make them visible in the proper order or do you have to unparent them first and then reparent them in the proper order? martin