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 10:58:05 +0200 Message-ID: <300cb820-d6b7-44c6-8609-fa7804babf99@gmx.at> References: <7be33291-1828-41a6-bd56-759db2f533ee@gmx.at> <44e0648e-b374-4816-8f3b-6948af471ab1@gmx.at> <4c2fe23a-be76-4cdc-8f97-16197e1834b0@gmx.at> Reply-To: martin rudalics Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------Xi4uijGuHBMW0QnSSRWOENYa" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33590"; 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 10:59:17 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 1snaEt-0008ad-Mi for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Sep 2024 10:59:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snaEg-0003qk-8u; Mon, 09 Sep 2024 04:59:02 -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 1snaEd-0003q3-OF for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2024 04:58:59 -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 1snaEd-0002HY-En for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2024 04:58: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=Zf2yMNB9eH3VmOFjEavdu1XbEpMsKiag/qKEGluRNDE=; b=kVf24zJrX1qsk/v5sEan6/YGIMeeY8Kb0MA7MUm9P7mb40UOL2Ri7gN9w3T2oJG0KDGn8tLgeOJoPbXc/FRYpEcwhEfiwqXyroe5cVk5e6EBcicPYQEDaFgUSSqliEwyao7LwkQOh2gjG2nDCvvSe2PWW2u8dEAlkM3DIJF/IeJA3YfFAB7AifJhFtC0yX3e5KHQCC1hz9p0rJ43GC1HS7456imd7VA5Np32YwMMfglnGW7IeKM37wQ2e36I3BB0ift1I60Je+jzrpZ0r7nv+Wolq9gVd1f+KyjvJ5VLCaW6U3mq521OkhiGrS37JkoDWarB72Yv5+RKXMWcjktYhg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snaEg-0008AG-NA for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2024 04:59:02 -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 08:59:02 +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.172587231231323 (code B ref 72986); Mon, 09 Sep 2024 08:59:02 +0000 Original-Received: (at 72986) by debbugs.gnu.org; 9 Sep 2024 08:58:32 +0000 Original-Received: from localhost ([127.0.0.1]:60633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snaEB-000898-8q for submit@debbugs.gnu.org; Mon, 09 Sep 2024 04:58:31 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:41885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snaE8-00088s-4r for 72986@debbugs.gnu.org; Mon, 09 Sep 2024 04:58:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1725872289; x=1726477089; i=rudalics@gmx.at; bh=Zf2yMNB9eH3VmOFjEavdu1XbEpMsKiag/qKEGluRNDE=; 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=I0txVU2KXd1cJ2Z9iabh3zEupqGd6Rji3X/lHRT7QfqIbCwlJNYAlq5irjx5r1Ir ad20gf+CJ4TdtMN6BxYpK2KSNQV3IZ3Z0HvA3n0GRz7Yw0lf2q4Uz9Qx/7aJea1Gn /fkxalVuN/ZMclsUmF+EPZqmfiTaHYSi3jR7lzOA33yWI1NH09D6jJcL2PERF+Cor ca83lnHMWVvBH72cmCV/tTSe2qCICmi4dsV2EmcO3DNPAmRIKsWuhqw2FTsh7Px21 UMX35rguW1I6rOQqczUhHP/0SKFtME77Blmfm4jA5fEMY0zmE4ogTK1gcNwsQ7Wz4 uaQsJJkwJYrnt1WsdQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([213.142.96.255]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MS3mt-1scL1e1k79-00TTHZ; Mon, 09 Sep 2024 10:58:09 +0200 Content-Language: en-US In-Reply-To: X-Provags-ID: V03:K1:IBrhEjW34L0NqEdU+ZU416haaUI3191XNGB1zVT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s.gnu.org X-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:291492 Archived-At: This is a multi-part message in MIME format. --------------Xi4uijGuHBMW0QnSSRWOENYa Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit The important fact is that in the entire sequence of the initial frame's setup you never experience one of those strange ConfigureNotify events asking to shrink the frame. Why they happen only for subsequent frame creations will probably remain a mystery. A new mystery is that your creation of the initial frame has one xg_frame_set_char_size call followed by two ConfigureNotify events where the first event asks for 1328x1260 and the second one for 1328x1258 pixels. The same happens again after setting up the tool bar only that there the first event has 1328x1258 (which matches the previous) and the second one asks for 1280x1354 pixels. In the first event xg_frame_resized concludes that nothing changed, in the second event it notices a change. When I do the same thing on my system I get Frame size history of # x_create_frame_1 (5), TS=80x25~>720x550, NS=80x25~>736x550, IS=80x25~>736x550, MS=18x44 IH IV gui_figure_window_size (5), TS=720x550~>720x792, TC=80x25~>80x36, NS=736x550~>736x792, IS=736x550~>736x792, MS=18x44 IH IV scroll-bar-width (3), NS=736x792~>752x792, IS=736x792~>752x792, MS=90x110 scroll-bar-height (3), MS=90x110 x_create_frame_2 (0), MS=90x110 xg_frame_set_char_size, invisible, PS=752x792, XS=752x792, DS=752x792 xg_frame_set_char_size (5), MS=18x44 IH IV MapNotify, not hidden & not iconified, PS=752x792, DS=752x792 ConfigureNotify, PS=752x792, XS=752x792, DS=752x792 xg_frame_resized, unchanged, PS=752x792, XS=752x792 menu-bar-lines (2), MS=90x110 xg_frame_set_char_size, visible, PS=752x792, XS=752x792, DS=752x792 ConfigureNotify, PS=752x792, XS=752x792, DS=752x792 xg_frame_resized, unchanged, PS=752x792, XS=752x792 tool-bar-lines (2), MS=90x110 xg_frame_set_char_size, visible, PS=752x792, XS=752x792, DS=752x792 ConfigureNotify, PS=752x792, XS=752x792, DS=752x792 xg_frame_resized, unchanged, PS=752x792, XS=752x792 and the sizes requested by xg_frame_set_char_size and the ones received by ConfigureNotify remain the same throughout - 752x792. I have no hope that anyone will tell us what's going on here. Hence this new mystery will remain unsolved too, I presume. But maybe I'm missing an important detail here. I forgot whether creating an initial frame without menubar works reasonably on your system. So please do the same once more but this time with --eval "(setq default-frame-alist '((menu-bar-lines . 0)))" appended to your emacs call. This will conclude our experiments with the history of the initial frame. Next let's try the following: Upon receiving a ConfigureNotify event we don't call change_frame_size when _we_ conclude that nothing has changed. This conclusion might be wrong so let's _always_ process a ConfigureNotify event via change_frame_size with the trivial patch I attached as gtkutil-change.diff. If this doesn't accomplish anything (as I'd expect), let's try to be stubborn. For this purpose apply the less trivial patch attached as gtkutil-reject.diff, do (setq frame-size-history '(100)) C-x 5 2 (frame--size-history) and tell me what *frame-size-history* says in the new frame (if we're unlucky and I did something wrong, this might get your Emacs run into an infinite loop and you have to kill it by external means). martin --------------Xi4uijGuHBMW0QnSSRWOENYa Content-Type: text/x-patch; charset=UTF-8; name="gtkutil-reject.diff" Content-Disposition: attachment; filename="gtkutil-reject.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL3NyYy9ndGt1dGlsLmMgYi9zcmMvZ3RrdXRpbC5jCmluZGV4IGQ1NzYy N2YxNTJmLi5jNWM5OWQ2ZjFiZCAxMDA2NDQKLS0tIGEvc3JjL2d0a3V0aWwuYworKysgYi9z cmMvZ3RrdXRpbC5jCkBAIC0xMTI5LDExICsxMTI5LDQ5IEBAIHhnX3NldF9nZW9tZXRyeSAo c3RydWN0IGZyYW1lICpmKQogICAgIH0KIH0KIAorc3RhdGljIHN0cnVjdCBmcmFtZSAqbGFz dF9yZXNpemVfZnJhbWUgPSBOVUxMO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lbHNlCisgICAgICBsYXN0X3Jlc2l6ZV9m cmFtZSA9IGY7CisgICAgICBsYXN0X3Jlc2l6ZV9oZWlnaHQgPSBvdXRlcl9oZWlnaHQ7Cisg ICAgICBsYXN0X3Jlc2l6ZV93aWR0aCA9IG91dGVyX3dpZHRoOworICAgICAgbGFzdF9yZXNp emVfY291bnQgPSAwOworCiAgICAgICBpZiAoRlJBTUVfR1RLX09VVEVSX1dJREdFVCAoZikp Ci0JewotCSAgZ3RrX3dpbmRvd19yZXNpemUgKEdUS19XSU5ET1cgKEZSQU1FX0dUS19PVVRF Ul9XSURHRVQgKGYpKSwKLQkJCSAgICAgb3V0ZXJfd2lkdGgsIG91dGVyX2hlaWdodCk7Ci0J fQorCWd0a193aW5kb3dfcmVzaXplIChHVEtfV0lORE9XIChGUkFNRV9HVEtfT1VURVJfV0lE R0VUIChmKSksCisJCQkgICBvdXRlcl93aWR0aCwgb3V0ZXJfaGVpZ2h0KTsKICAgICAgIGVs c2UKLQl7Ci0JICBndGtfd2lkZ2V0X3NldF9zaXplX3JlcXVlc3QgKEZSQU1FX0dUS19XSURH RVQgKGYpLAotCQkJCSAgICAgICBvdXRlcl93aWR0aCwgb3V0ZXJfaGVpZ2h0KTsKLQl9CisJ Z3RrX3dpZGdldF9zZXRfc2l6ZV9yZXF1ZXN0IChGUkFNRV9HVEtfV0lER0VUIChmKSwKKwkJ CQkgICAgIG91dGVyX3dpZHRoLCBvdXRlcl9oZWlnaHQpOwogI2VuZGlmCiAgICAgICBmdWxs c2NyZWVuID0gUW5pbDsKICAgICB9Cg== --------------Xi4uijGuHBMW0QnSSRWOENYa Content-Type: text/x-patch; charset=UTF-8; name="gtkutil-change.diff" Content-Disposition: attachment; filename="gtkutil-change.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL3NyYy9ndGt1dGlsLmMgYi9zcmMvZ3RrdXRpbC5jCmluZGV4IGQ1NzYy N2YxNTJmLi42OGFlMzg1NTBlMCAxMDA2NDQKLS0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