From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrii Kolomoiets Newsgroups: gmane.emacs.bugs Subject: bug#28872: [PATCH v2] Fix NS frame resizing issues (bug#40200, bug#28872) Date: Fri, 27 Mar 2020 15:22:08 +0200 Message-ID: References: <20200326212125.GA66331@breton.holly.idiocy.org> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="52367"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40200@debbugs.gnu.org, 28872@debbugs.gnu.org, aaronjensen@gmail.com To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 27 14:23:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1jHox6-000DXm-OM for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Mar 2020 14:23:12 +0100 Original-Received: from localhost ([::1]:41698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHox5-0003aJ-SD for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Mar 2020 09:23:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39530) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHowx-0003Zu-MD for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2020 09:23:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHoww-0003rj-NI for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2020 09:23:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54648) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHoww-0003qZ-GQ for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2020 09:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jHoww-0003mq-BZ for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2020 09:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrii Kolomoiets Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Mar 2020 13:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28872 X-GNU-PR-Package: emacs Original-Received: via spool by 28872-submit@debbugs.gnu.org id=B28872.158531534214491 (code B ref 28872); Fri, 27 Mar 2020 13:23:02 +0000 Original-Received: (at 28872) by debbugs.gnu.org; 27 Mar 2020 13:22:22 +0000 Original-Received: from localhost ([127.0.0.1]:60621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHowI-0003lf-Aa for submit@debbugs.gnu.org; Fri, 27 Mar 2020 09:22:22 -0400 Original-Received: from mail-lj1-f196.google.com ([209.85.208.196]:35451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHowD-0003lF-5Q; Fri, 27 Mar 2020 09:22:17 -0400 Original-Received: by mail-lj1-f196.google.com with SMTP id k21so10183368ljh.2; Fri, 27 Mar 2020 06:22:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JNx91Wkb8S4WNQTyDKKN7K0vXm6J+Kj4qlsBkR5/hAw=; b=dzXpJKmwY+G1xmyN2fCWhJL8XlFe7T+optEie3eT6vKCjmRihy5mpDDIoTfFlJeiAQ Il9+jbu0NWVvq368rZh9h1oDOUEBlXjBS/AETTTl9MDAfOUqTSBBd/LLoFVXiwUSTyaA D80LcJu66SO2lMdvwAyd3hLsI86ldsBdM0xZn1R+crhczTScPn2I9YEFNzn45p23T6tn 0O6MGoJjYYuxvC7fIVs+GlE2hqEJ8k/uEBIAAykOluL/TSNCFbydqHRpb3/bCT4rUbHq ZLyPz7RHoOulyZ+S+1G6C2ptCjwKtDReWtpAKRCs4UN3mNafPoTxp21i3Q4ZVVtg0jZv 1UZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JNx91Wkb8S4WNQTyDKKN7K0vXm6J+Kj4qlsBkR5/hAw=; b=bnvSlWz6mGWg73VVysh0ovny+UqTMgwWsgebMDYXviCs5nQv5yZ6/TK15lANG9vZI1 A5bY4xnMm+zG14wfONxp0SQho3q32aONSglgbhQ5Z7eAqXNwVcZLTU8mQfU69nAzFxb3 e83b7oNM2rwH6QlX4y7rhdPD2YNWRXVCY6KlzMbh0OnEI5XR/nC1OjeaxlXKOG6Dsc2d HMkFuINCpjgz+z5nCldumnCCW1V28356vt2lyztYXfn26QVfEF4cRJYfTtxrw4odmYzx qEKZdGidk+Q5qRPJ1mdznLpjXfssDAh7Otezb6VuALoaHF9Ai1k3BNrStTFP4y4PIhOL 9KDQ== X-Gm-Message-State: AGi0PuZW1VkjaZtw3jmr/TK+tcy6hmy+aKMnrahxJ8rtfGqdwAutGOVs oolQzAiFpEp0o38lf7yQoc4= X-Google-Smtp-Source: ADFU+vuxQofva6GdU8RjdNpnYnsnDQf1KuGfD7mfTbhc6Du5V2GlR7BH7k+aJr4FZW3NtgiKu+DCKg== X-Received: by 2002:a2e:9e03:: with SMTP id e3mr8455878ljk.186.1585315331063; Fri, 27 Mar 2020 06:22:11 -0700 (PDT) Original-Received: from [192.168.0.102] ([91.206.110.153]) by smtp.gmail.com with ESMTPSA id i30sm3394107lfp.36.2020.03.27.06.22.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Mar 2020 06:22:10 -0700 (PDT) In-Reply-To: <20200326212125.GA66331@breton.holly.idiocy.org> X-Mailer: Apple Mail (2.3608.60.0.2.5) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177782 Archived-At: On 26 Mar 2020, at 23:21, Alan Third wrote: > Hopefully this works better. Found another changed behavior: 1. emacs -Q 2. (setq test/frame (make-frame `((parent-frame . ,(selected-frame))))) 3. (modify-frame-parameters test/frame '((height . 1) (top . (- 40)))) Old behavior: child frame is at bottom of the parent frame. New behavior: child frame is at top of the parent frame. Child frame moves to bottom after code from step 3 applied one more time. Step 3 can be replaced with these two steps to achieve old behavior: (modify-frame-parameters test/frame '((height . 1))) (modify-frame-parameters test/frame '((top . (- 40))))