From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Vivek Dasmohapatra Newsgroups: gmane.emacs.bugs Subject: bug#22000: Patch addressing the menu-bar frame-resize interaction Date: Tue, 17 Jul 2018 14:45:04 +0100 (BST) Message-ID: References: <87k2p8h1vn.fsf@isaac.fritz.box> <5B4C4911.8040900@gmx.at> <5B4D9F5F.20506@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: blaine.gmane.org 1531835052 9776 195.159.176.226 (17 Jul 2018 13:44:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Jul 2018 13:44:12 +0000 (UTC) User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) Cc: 22000@debbugs.gnu.org, David Engster To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 17 15:44:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffQGt-0002OY-NJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Jul 2018 15:44:07 +0200 Original-Received: from localhost ([::1]:59409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffQIz-0006n9-1w for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Jul 2018 09:46:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffQIp-0006ml-32 for bug-gnu-emacs@gnu.org; Tue, 17 Jul 2018 09:46:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffQIl-0001AB-5m for bug-gnu-emacs@gnu.org; Tue, 17 Jul 2018 09:46:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39603) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffQIl-0001A1-1O for bug-gnu-emacs@gnu.org; Tue, 17 Jul 2018 09:46:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ffQIk-0004ui-J6 for bug-gnu-emacs@gnu.org; Tue, 17 Jul 2018 09:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vivek Dasmohapatra Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Jul 2018 13:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22000 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22000-submit@debbugs.gnu.org id=B22000.153183511118821 (code B ref 22000); Tue, 17 Jul 2018 13:46:02 +0000 Original-Received: (at 22000) by debbugs.gnu.org; 17 Jul 2018 13:45:11 +0000 Original-Received: from localhost ([127.0.0.1]:44621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffQHt-0004tT-7E for submit@debbugs.gnu.org; Tue, 17 Jul 2018 09:45:11 -0400 Original-Received: from ceres.etla.org ([85.119.82.193]:40631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffQHr-0004tJ-MA for 22000@debbugs.gnu.org; Tue, 17 Jul 2018 09:45:08 -0400 Original-Received: from yaffle.pepperfish.net ([88.99.213.221] helo=[10.112.101.20]) by ceres.etla.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffQHp-0002Lz-QQ; Tue, 17 Jul 2018 14:45:06 +0100 X-X-Sender: vivek@platypus.pepperfish.net In-Reply-To: <5B4D9F5F.20506@gmx.at> X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam_report: Spam detection software, running on the system "ceres.etla.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > The major problem with your patch is that it completely breaks the > initial frame geometry at least here: The nominal (outer) height of > the initial frame (with emacs -Q) goes down from 749 to 731 pixels. > The height of the initial window goes down from 35 lines (630 pixels) > to 33 lines (595 pixels). [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_ 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: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:148609 Archived-At: > The major problem with your patch is that it completely breaks the > initial frame geometry at least here: The nominal (outer) height of > the initial frame (with emacs -Q) goes down from 749 to 731 pixels. > The height of the initial window goes down from 35 lines (630 pixels) > to 33 lines (595 pixels). Working on it - should be a case of using the container instead of the menu bar for calculations. > There should be some. I have no idea who is responsible for the tool > bar behavior but IIUC that should be the way to go for the menu bar > (with different clipping behavior, I suppose). I could be wrong but it seems to be an intrinsic difference between the toolbar and the menubar. I'll see if I can figure it out.