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: Thu, 28 May 2020 09:00:53 -0700 Message-ID: References: <51315ef4-9528-c0bd-51c8-4484dd44a8da@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="27958"; 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 Thu May 28 18:03:20 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 1jeL04-00078h-DX for ged-emacs-devel@m.gmane-mx.org; Thu, 28 May 2020 18:03:20 +0200 Original-Received: from localhost ([::1]:48830 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeL03-0002By-EW for ged-emacs-devel@m.gmane-mx.org; Thu, 28 May 2020 12:03:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeKxy-0007Gr-4M for emacs-devel@gnu.org; Thu, 28 May 2020 12:01:10 -0400 Original-Received: from mail-yb1-xb33.google.com ([2607:f8b0:4864:20::b33]:34298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jeKxw-0001Au-Qx for emacs-devel@gnu.org; Thu, 28 May 2020 12:01:09 -0400 Original-Received: by mail-yb1-xb33.google.com with SMTP id l17so298790ybk.1 for ; Thu, 28 May 2020 09:01:08 -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=0xRMCDuQ1De3qFutxnab6rYgHFzr1uNggxfUxzcc+iE=; b=XyEO8GkNSfQDSqjSPqykb2xeW8dOk9bpQkSYKKWmP0k9dgBQk04QtsfhuVg3/7KsfB WRVUROiHOEFXPuv4V33uOpi4I085rQDvCFtx/IQ5jlX0Laz2DL/b9eQtqjLqGET2/ZPk 0v+X2PkksEek65VYdj7epgMADmLI1jD3vtLdib2cf2V+DR/TWn9ZDjwHXp87Y/S5NbfB 5NQ63VlWfsfGtzZ54b6z2eh6XtVKt8jiqZjBA1JDcjR9ZQCTdmqmOn+6fIWoCA8vYfkC ojXr9Tmta/ASzwTEJnDWqihZ2g1FlmamHMSEDxoiqO3wqMJNK3sr52hpISwx5cBdzOe1 Rnpw== 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=0xRMCDuQ1De3qFutxnab6rYgHFzr1uNggxfUxzcc+iE=; b=s3/0DDYtSVCWUIZsVb5SfoOfWUC3Nq5qFPksZE5V44hAn8pkA5P+BPDBJH9jaapqKB GXmvHStDH+J+N6PJ+7vb4I1eA2P5gcnyqo7Pqrmmie//XdYpO9XNUDSOGC/7eERJJ8RP Cn0GoAgYEo65SSgCorY2A1WNBlixdc6bCBGj0HDbKvCl8zWFlUl+Yw5fw/uepV+kBpmm uD/ytW7X2WATGzMfQE9krdI++zkvUKyhRoFH6UiBW5/SgEggpQjnW6JUaCRnlozFs8XA AecCDvTkGbEeEoeSt1ExI5QqdRz4P1NdcXSH4NSFvH4s3H/wO2bNQNVL3IbOey8NoB7B DgDQ== X-Gm-Message-State: AOAM530nSwuvVnVg15+Ne7udKePjG7g5x6ZmiWSHGKVrQYZxEMNBFCcr 0RuBh4TiykVkE5nPhkovTdNUexTRGmj4nhbV2YCHFzgv X-Google-Smtp-Source: ABdhPJz6/ih2bX1HnpmdrXrf4ipPLiPZloh9Kz6xdIy4kjtYpWIsxzhbLWmETJ04RaRGmhDH5vK7sNyccaSDyFjEX8E= X-Received: by 2002:a25:d042:: with SMTP id h63mr6073517ybg.275.1590681664546; Thu, 28 May 2020 09:01:04 -0700 (PDT) In-Reply-To: <51315ef4-9528-c0bd-51c8-4484dd44a8da@gmx.at> Received-SPF: pass client-ip=2607:f8b0:4864:20::b33; envelope-from=aaronjensen@gmail.com; helo=mail-yb1-xb33.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:251552 Archived-At: On Thu, May 28, 2020 at 12:04 AM martin rudalics wrote: > 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. It apparently means the entire screen list on the desktop. If you lower a child frame, the only way to actually lower it (because it's attached to the stacking context of the parent) is to lower the parent, or so macOS thinks. > 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. It appears to do what Emacs is doing, which is the incorrect behavior--it hides the parent window. Here's a minimal repro without Emacs: https://github.com/aaronjensen/child-frame-order-back-repro > And maybe you can tell us whether 'ns-frame-restack' behaves as > documented too. 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. Aaron