From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.devel Subject: Re: macOS child frame lower behavior Date: Sat, 30 May 2020 13:39:53 -0700 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" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="100788"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 30 22:40:41 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 1jf8HY-000Q7L-Vy for ged-emacs-devel@m.gmane-mx.org; Sat, 30 May 2020 22:40:40 +0200 Original-Received: from localhost ([::1]:47684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jf8HY-0005No-00 for ged-emacs-devel@m.gmane-mx.org; Sat, 30 May 2020 16:40:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jf8H1-0004vt-Ur for emacs-devel@gnu.org; Sat, 30 May 2020 16:40:08 -0400 Original-Received: from mail-yb1-xb2b.google.com ([2607:f8b0:4864:20::b2b]:42934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jf8H1-0003Ue-3k for emacs-devel@gnu.org; Sat, 30 May 2020 16:40:07 -0400 Original-Received: by mail-yb1-xb2b.google.com with SMTP id t9so75808ybk.9 for ; Sat, 30 May 2020 13:40:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PhndYmLQUyt31Nn8ScCxDNYzCBQ28JDQZs0L7YM3HQ8=; b=UxkHwVRRMs0IIViCJeQqGCPGzyvvXxa63TiG6Apjwy9mf2QBiTKJoOoo7Patde7Vok h85hPypxPhS0NW02EncSqzuBs6Y7e1LMDNS0NyFlJVQ2Jlal0dEHmGL2ubdsLcyIuO/l bRG1Ae7lePdGzCiNbahnkzDPgUaG7QHfG34/zCunVe4eEDuefBpTM64C2zHWGOO80wDU NtHp1oFFWROYFTzZ7Lj9b2JzCcP3805XfHvHeqCYYmzsTEyUJJoBWb0XwMjEcmssMNsM qmZ4Apz4wjGqWRwHVV3V/HiPbQ4s0MD0ales+9EPyP5GcHkwaObE4YSSNUsMw8BV4wPj kJPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PhndYmLQUyt31Nn8ScCxDNYzCBQ28JDQZs0L7YM3HQ8=; b=ltwk70MPiV+7xrkfjDHvvBiTY2NbhzwF3j7qBB1HWyxLdyrpjMMO+UfwQW1tETNMOB m3uY1y9CkipV6ExxD+pm6IHG++GHX2GBLkLW0twVy8dmg9wbo7vO+bQdFF38rj/JlaxG yxsDL3CMxkBfO2vQELkVJ0d7wnaekQuCDBTPtDiiO/Z/+wzmqzSdFYVjVvJ/yA2vl35q AE8lbB0Wu8Cs7vst82/BIwdjNUr8usd9BP+eIbK0zB/7BUk1IJdSbBB6UcGKdlXNhBLV bwtR9YNddqmikxQi8OMGFtVqNBDUYpcFez+zCQgVr4em/IS5gNiYkcArHM9VvKMKslEO bNkA== X-Gm-Message-State: AOAM5327Hp6O4EoSIyN8EEEbsuxtQYsP6bylXyzdXft8+WUp53KYyyVU G/nSHEOr469UMhlKZbNK+vAPqjBKPgAAY6BhE7o= X-Google-Smtp-Source: ABdhPJyayy2k0qYus1SfkXKO+THzdCemvkvRKWhvY7noNW5j40QWJVLd2Ubr1++2TMzPbfQbWDF6dODbzF5jqQpVe3Y= X-Received: by 2002:a5b:390:: with SMTP id k16mr24100924ybp.175.1590871204734; Sat, 30 May 2020 13:40:04 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::b2b; envelope-from=aaronjensen@gmail.com; helo=mail-yb1-xb2b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:251659 Archived-At: On Thu, May 28, 2020 at 11:45 PM martin rudalics wrote: > Both of these sound pretty grave. Would changing the visibility of > child frames help to work around these? AFAICT, orderOut is how you hide windows, which appears to remove parentage anyway. > >> 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? Right, it appears to be impossible to reorder child frames while using raise-frame or lower-frame. > > 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? It is visually noticeable only in that the layering changes, which is the desired effect. Making them invisible and then reparenting them (since you can't just make them visible again as far as I can tell) appears to be strictly worse in that it causes focus to change since any window that is orderOut'd loses focus. Aaron