From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu 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: Wed, 04 Sep 2024 20:12:28 +0800 Message-ID: <87zfonsjmb.fsf@yahoo.com> References: <86ttex6iv0.fsf@gnu.org> <062bf084-741b-4d60-b9de-c62d62a79807@gmx.at> <7b6a5b97-fb0c-4eb0-a5b8-78b6ad5002d9@gmx.at> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9333"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: martin rudalics , 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 Wed Sep 04 14:13:22 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 1slot0-0002EC-5Y for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Sep 2024 14:13:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slosm-0004vm-6G; Wed, 04 Sep 2024 08:13:08 -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 1slosc-0004oo-Hg for bug-gnu-emacs@gnu.org; Wed, 04 Sep 2024 08:13:04 -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 1slosc-0000xx-4y for bug-gnu-emacs@gnu.org; Wed, 04 Sep 2024 08:12:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=5g1ADvf6+FXOOXfYWQGX1jkd37VQZucwqc8yezUtxVs=; b=qSCFzBv4EkK/UBb3MAfkQ+D7iDZbLkrxGdfL6a47ObjOMRb3WOIXmwnsYob5jpiCUUPjsbXoO0Ha3ZPnQ6PBVmdt00T2Jfv6BHvP+aj2oNzm5ObOxqeka7HXCq0p/B34FuPiaqZw2ozYk6neEMWyQa26jq3Jfc+OrnxH5q8IbrXg+Af6VjvvFV/hOirgJUA0ZLCPBksnY5GdfAjGeB0HDJyLHAPIacf7Tvz11jRLI6iveCRFTMxm+a/pSJzBXdPl3qvMwpZdMOJxcjbtxwlNep1WjNgHd9tPLKsg9UiwyZXKDTnoFHgpCYoKOBAFZMKXYrsPJtBtpUVdTyyFot3eng==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1slotd-0007iX-M9 for bug-gnu-emacs@gnu.org; Wed, 04 Sep 2024 08:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Sep 2024 12:14: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.172545202929636 (code B ref 72986); Wed, 04 Sep 2024 12:14:01 +0000 Original-Received: (at 72986) by debbugs.gnu.org; 4 Sep 2024 12:13:49 +0000 Original-Received: from localhost ([127.0.0.1]:33762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slotR-0007hv-Cr for submit@debbugs.gnu.org; Wed, 04 Sep 2024 08:13:49 -0400 Original-Received: from sonic305-21.consmr.mail.ne1.yahoo.com ([66.163.185.147]:40244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slotP-0007hf-6y for 72986@debbugs.gnu.org; Wed, 04 Sep 2024 08:13:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1725451957; bh=5g1ADvf6+FXOOXfYWQGX1jkd37VQZucwqc8yezUtxVs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=A1ea4b9yhEhwwnaKdIK90Du+Y/7KqomklBmhc7EWKLHbTrqVuoTTlvAyHG1FsMNOm7ZPHwePFD2+QJcsYCgRsT286jyLdyVpGXqtigjrSlnzs7ddxy7xqUEy6CfgpSvjxxZXw7iXSBp9giBF2zwr9A9ssYf1qgucm1onzqM8MFD4Qay4RGLI1MXYX1WryYM/v3XMcZjvSgGEeD6aQE0AVKqrMFvjErliCOEBKcfojDKh3nv/DcE/caODCEyeMqN/cH29ojf7U+c/JXnDawFakUAQA2eyfSGK7hBKe5y6qEmg+FHEviyxZG4JO5DIl+tSEDaZYs222QMklewyvI2Xcg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1725451957; bh=3owepegCO4grQKO5qS1teklMpAojaLjPoAyhqMKlCau=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=I9T2JD0fx2GNZlQ2Qs25NTF2f7MdfP9TVast8Uvfln04AhpEM8ruDSAT7m6zixX2+bJvks4KFloVP0fIv2QAGim3fG+nNTsoPmrF3xERkruWUyA/FBVWiiHg42XU4KOOD82I6LL9xIpeVGhT5m1xjNCsIQJ3LiblPWDuNS7AQ5Xoo9eLCruODDrtTUYkYwOHwk0+4KoRrc5K9LZIEEkLqMv+cM66OIiGLWRJb8ANY0lqIpQ3RJfSGJRnsANtMgQBbM26e158/m+zxuPL//Hn+Fg5CrNtD1kEkhzHnI1FV/17BQSUgKtMr2xSIp035pWXlKmdlS67eFEHJsnPT8GFyw== X-YMail-OSG: CF2EH5QVM1lKhpVS0R1933bfCRuS0PbftqYXnYq24SKs7YSvI3Els00Vnx5UKfh Zh8kccOLKPyd8HxIaIUeU_HTn8j8SxaZ_hRfLn8MOuzMi9nmA4PbDN8VaCgw.SurOxhZDxvxl.JB 6GB5BAbqrD1Lr6Us9IzXBAzaCbs3_Jj8BnoWm5N9aq.HpLWgBb1nnPtbJQfuBIjX_q4Qp17bHGas Zk3Aq8vuwEHjA903J9Tji.Qv2SKf9_2iFpyP8XNGw0CJ0Tp4Kw8MB3_vDXx.zB0toOpoPOreG8Bg nl_eW4YPcYICFfu8MG44C8_dfMGQ0iTi8z6aV1vNKsODN9iJZ4iXqNcUgkpm6NuvAJQAJQ46i0HD oWThs1ducoWEOePLKtbJJP0am.apwEZCErf._OXcOXpqFOmHscznvyzdu.LIYqpbEedlSZcrTOZW KffiGXVLwAJ7IFxvXn9AbrlPPezt_hcKyGmooBn3qr7M8Lyy7DUsWxq9NsWb2IS63SeQzg1E0UcI bfDton4Va7UsPFzoDq2ka7HXFY02m2UHdyXBcXxk03tajWMtAqb1Pp6ag.CSBj3wg7OimFNoGvni dwYcuHb0qBZkhvB8hwK6yUOH5o11wqlwwoNp6azRCoUIHn8SlwXsDCRoilZAp7uy0rUODUX1Jovy 4fG332N5kLsvyCf6IxzL4T.Gzi0cy.NHZKux.yb61xvjoemEXA9eay.NN29OfGZnmfudR3unmYGX 78TCkCjt0pMSTwjcG5T4APd69gUSVpwwcnvdKkitjO0.Wf9qJK86LgiK4aMtxcgmM3YS129lfsMY W9H9fq.m6YjyLhv1OQlqidWyTtG5G0N4X7sucFUego X-Sonic-MF: X-Sonic-ID: ad13b56d-5023-4012-9e9c-61db639f2630 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Wed, 4 Sep 2024 12:12:37 +0000 Original-Received: by hermes--production-sg3-fc85cddf6-6lk5x (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 27999fce68c1871adf76f4bd95be38fa; Wed, 04 Sep 2024 12:12:33 +0000 (UTC) In-Reply-To: (Reuben Thomas's message of "Wed, 4 Sep 2024 12:23:25 +0100") X-Mailer: WebService/1.1.22645 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.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:291194 Archived-At: Reuben Thomas writes: > On Wed, 4 Sept 2024 at 09:02, martin rudalics wrote: > > >> > >> gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed > >> > > > > Yes, both with Emacs 29 and git master produce this message when > > menu-bar-mode is non-nil, and the menu bar is drawn, in both window sizes > > (the normal sized window, and the strangely small one). > > But you can't see this message when building with gtk-2 I presume. > > That's correct, no message with gtk-2. > > This strongly hints that there was an Emacs change affecting gtk-2 _and_ > gtk-3 builds in between 29 and master. I could imagine that commit > > e087c89b1e243bbd941a4a50b4bf99613e13d016 > > is involved but if you could try to bisect, it would be of great help. > > Just to check, you're suggesting that I bisect from emacs-29.3 (I use > that tag because it's what the version of 29 I'm using is built from) > to master HEAD, to find at which commit C-x 5 2 opens a small window > immediately (without disabling menu-bar-mode)? If it is this bug that you are trying to isolate, we have already heard reports of its being reproducible all the way to Emacs 26.1, and concluded that it is a product of a change in the Mutter window manager. Too bad I'm only personally interested in the no toolkit and Motif builds and cannot set aside the time to investigate these GTK issues at this time.