From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72986: Disabling menu-bar-mode changes size of new frames Date: Mon, 9 Sep 2024 18:52:27 +0200 Message-ID: References: <44e0648e-b374-4816-8f3b-6948af471ab1@gmx.at> <4c2fe23a-be76-4cdc-8f97-16197e1834b0@gmx.at> <300cb820-d6b7-44c6-8609-fa7804babf99@gmx.at> <56840844-930e-45b0-ae48-97b5875c51b9@gmx.at> Reply-To: martin rudalics Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------txP45CU9xUBZ5o744yHG3pxE" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35620"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Po Lu , Eli Zaretskii , 72986@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 09 18:53:26 2024 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 1snhdm-00093d-5p for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Sep 2024 18:53:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snhdQ-00060T-T3; Mon, 09 Sep 2024 12:53:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snhdN-0005hA-An for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2024 12:53:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1snhdK-0002X8-4u for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2024 12:52:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=penQK5Flw/Uilc8H23KEjJetMZVNi6S9yfGl92zQOGw=; b=eRIhZMwGTCjd5ZtGP43RbRGO+C63pU1aZyn4COK3I9WrNIs8Z6dGziru9ZdYXEgbPC/obmlUo/N6d6lVE+1HdiWgDc2xYdxKz2Wj8PDK5ZI0Ljt6SPE9nZpHFD3wAEEfYf9K+HxG+T0VN/HY3YKCClkAinnfdgiD7G5sx8rXmUzMaTvDxRp+5JPXcj5iLf43iAruXE3j1jHqSEldL6+JJPRgiv7bGXbiH9qEokI+1xCY8h5spw2G2PHXjqd5S4C6Fmgn1tJe9CPLeN59e9V8nF4fdk014xYaCYlB4tz+8SxeOLngMAHGvPNhSuSDvuPmnhRKCO1K3dI5r3DYtsNtcw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snhdN-0000Bd-Ox for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2024 12:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Sep 2024 16:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72986 X-GNU-PR-Package: emacs Original-Received: via spool by 72986-submit@debbugs.gnu.org id=B72986.1725900767697 (code B ref 72986); Mon, 09 Sep 2024 16:53:01 +0000 Original-Received: (at 72986) by debbugs.gnu.org; 9 Sep 2024 16:52:47 +0000 Original-Received: from localhost ([127.0.0.1]:33949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snhd7-0000BA-UA for submit@debbugs.gnu.org; Mon, 09 Sep 2024 12:52:46 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:53173) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snhd5-0000Au-0d for 72986@debbugs.gnu.org; Mon, 09 Sep 2024 12:52:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1725900748; x=1726505548; i=rudalics@gmx.at; bh=penQK5Flw/Uilc8H23KEjJetMZVNi6S9yfGl92zQOGw=; h=X-UI-Sender-Class:Content-Type:Message-ID:Date:MIME-Version: Subject:To:Cc:References:From:In-Reply-To:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=XL91q1wH4qAzGIbLxg/MyBLnohyYDiXCISVVON9Je8z4agcO4PBDomk6Eq9rCY59 uhfMdTdE/XPeS6SJ7ouUCp2vWh0XbBb5GXpzVp89onQPkdlijlUqzSNB9B+UQpGR9 r8J2DT/vKPoM6mvbGViXncxr2mMZmizWOWXsZOdZocY3U9ZFZp6xgq74rVfU3Q/wF N1k9BeymMz+Apj616RrmREmxf3rN9qlP9drbmdrx+u/qGbqBSJBrmQ87NDQiXkSLx aJExMimZADxp6xQV3HDVijVvNiFeTb6+WL8sYDw9Hsww/JChhdV0m04ECT7Rg01zm 1VH/Qe6eMDHc6RCTOw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([213.142.96.255]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mv31c-1rx6yK1MtU-013H8U; Mon, 09 Sep 2024 18:52:28 +0200 Content-Language: en-US In-Reply-To: X-Provags-ID: V03:K1:8DKDsR/WxaSsFz5e9sGm50hUBM0msRPq4u8UX+KgfgsErjn4j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mailman-Version: 2.1.18 Precedence: list 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291515 Archived-At: This is a multi-part message in MIME format. --------------txP45CU9xUBZ5o744yHG3pxE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > This makes an obviously visible difference: C-x 5 2 opens a small frame > which immediately becomes large. > > Here's the *frame-size-history* buffer: ... > ConfigureNotify, PS=1328x1260, XS=400x374, DS=1328x1260 > xg_frame_resized, rejected, PS=1328x1260, XS=400x374, DS=664x630 > tool-bar-lines (2), MS=160x175 > xg_frame_set_char_size, visible, PS=1328x1260, XS=1328x1260, DS=1328x1260 > ConfigureNotify, PS=1328x1260, XS=1328x1258, DS=1328x1260 > xg_frame_resized, rejected, PS=1328x1260, XS=1328x1258, DS=664x671 > set_window_configuration (4), MS=160x175 IH IV > > Note that once more I retained the simple patch to frame.c to set > frame-size-history to (100). Setting 'frame-size-history' to '(100), doing C-x 5 2 and evaluating 'frame--size-history' should be enough. The frame.c change is needed only for the initial frame because at that time no Lisp was evaluated. The result is not yet what I hoped for. We reject two ConfigureNotify events but the ensuing xg_frame_set_char_size calls do not get us a ConfigureNotify we'd accept. IIUC the final height may be off by two pixels. What does (frame-text-height) return for the first and the second frame? Also I hope you didn't get the GTK assertion failure. And how does removing the menubar behave? Now something completely different. A couple of years ago I noticed that our size hints calculations are fundamentally wrong. I tried to fix them and I attach some parts of that fix together with the previous changes I proposed. Attached as size_hints.diff. If the patch does not apply, complain. I edited it by hand to exclude other changes I made and I might have made mistakes. Again I'm interested in the history of the second frame. martin --------------txP45CU9xUBZ5o744yHG3pxE Content-Type: text/x-patch; charset=UTF-8; name="size_hints.diff" Content-Disposition: attachment; filename="size_hints.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL3NyYy9ndGt1dGlsLmMgYi9zcmMvZ3RrdXRpbC5jCmluZGV4IGQ1NzYy N2YxNTJmLi43YTVjZjhlMzJlMSAxMDA2NDQKLS0tIGEvc3JjL2d0a3V0aWwuYworKysgYi9z cmMvZ3RrdXRpbC5jCkBAIC0xMTI5LDExICsxMTI5LDQ1IEBAIHhnX3NldF9nZW9tZXRyeSAo c3RydWN0IGZyYW1lICpmKQogICAgIH0KIH0KIAorc3RhdGljIHN0cnVjdCBmcmFtZSAqbGFz dF9yZXNpemVfZnJhbWUgPSBOVUxMOworc3RhdGljIGludCBsYXN0X3Jlc2l6ZV9oZWlnaHQg PSAtMTsKK3N0YXRpYyBpbnQgbGFzdF9yZXNpemVfd2lkdGggPSAtMTsKK3N0YXRpYyBpbnQg bGFzdF9yZXNpemVfY291bnQgPSAwOworCiAvKiogRnVuY3Rpb24gdG8gaGFuZGxlIHJlc2l6 ZSBvZiBuYXRpdmUgZnJhbWUgRiB0byBXSURUSCBhbmQgSEVJR0hUCiAgICAgcGl4ZWxzIGFm dGVyIHdlIGdvdCBhIENvbmZpZ3VyZU5vdGlmeSBldmVudC4gICovCiB2b2lkCiB4Z19mcmFt ZV9yZXNpemVkIChzdHJ1Y3QgZnJhbWUgKmYsIGludCB3aWR0aCwgaW50IGhlaWdodCkKIHsK KyNpZm5kZWYgSEFWRV9QR1RLCisgIGlmIChmID09IGxhc3RfcmVzaXplX2ZyYW1lCisgICAg ICAmJiAod2lkdGggIT0gbGFzdF9yZXNpemVfd2lkdGgKKwkgIHx8IGhlaWdodCAhPSBsYXN0 X3Jlc2l6ZV9oZWlnaHQpCisgICAgICAmJiBsYXN0X3Jlc2l6ZV9jb3VudCA8PSAzKQorICAg IC8qIFdlIGRpZCBub3QgZ2V0IHdoYXQgd2Ugd2FudGVkLCByZXRyeS4gICovCisgICAg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