From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#72986: Disabling menu-bar-mode changes size of new frames Date: Tue, 03 Sep 2024 15:07:31 +0300 Message-ID: <86ttex6iv0.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15351"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72986@debbugs.gnu.org To: Reuben Thomas , martin rudalics , Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 03 14:08: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 1slSKb-0003ok-Gv for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 Sep 2024 14:08:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slSKI-0006Mf-AF; Tue, 03 Sep 2024 08:08: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 1slSKH-0006KL-G9 for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2024 08:08: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 1slSKH-0002Zb-5z for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2024 08:08:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=Rkyd5j+zdiXBhzUKQ4WS1uDuCZyGpZY3abc/ONBtwNw=; b=Np+9RYAi13K98iVd3qw1m3jOqzn6sGqtIpdlXERceczBxm+hCHrxyBzZ/skCQMqdiCOOUzs6VPuA/SkeJqKMP4XPh/2V29lc54d0626PFclackde8LgUjtQwB5KYSgdtKTtLWWEK4vDGxxqMJi7MPw0DeDwAQUUtNdQExRfp2FOz0gi4nWdhun1v0oRVAGAmHbHhgS7NJKOxKntkqfWug2OnJHvBChwSX8o2qznFLbMfwPWmlbrkgR2WMBLLh9Toh0DMvqFNU2Xx5wplGil4VSWFf22Y6e3OeEkSUQDu+KhETGBqLzwScmvhWtifkUhofw27Iw/jiOYfDJjKf3z3Fg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1slSLG-0001Yx-Ay for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2024 08:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Sep 2024 12:09: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.17253653245978 (code B ref 72986); Tue, 03 Sep 2024 12:09:02 +0000 Original-Received: (at 72986) by debbugs.gnu.org; 3 Sep 2024 12:08:44 +0000 Original-Received: from localhost ([127.0.0.1]:59287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slSKy-0001YM-5w for submit@debbugs.gnu.org; Tue, 03 Sep 2024 08:08:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slSKx-0001Y8-1E for 72986@debbugs.gnu.org; Tue, 03 Sep 2024 08:08:43 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1slSJq-0002W9-Pw; Tue, 03 Sep 2024 08:07:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Rkyd5j+zdiXBhzUKQ4WS1uDuCZyGpZY3abc/ONBtwNw=; b=BycHbTDEPEXy GQBszrORXjIxXikbafGHewAfJkUtCkv5W5oPFHQqRqXcttElD3Td42Y3VDkbV9O/0+01Yv+XohuyN zUDWU5I9ttxu4vLiEHTV6fqQ7nTnpf0+4pO2HfcdLrKgI1al4+GlpVNbc/LQCIw2CqNV/ZAawwd4w p5BHlsV2iXwX3pC8lU06LGaNDUjDaIxywS3L9MJqRIxxiumVO1tOYaPosr++XWCNQhV8GVghgfRhK B9ayReyPSMm6R2o/wZldmdJ3R2hOuU965M7MwjMdQkXIvBKCikitPnuUDtI2VFPWlkTjBPhADCgRp /CGScxnoSSjSgofiIlCaEQ==; In-Reply-To: (bug-gnu-emacs@gnu.org) 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:291136 Archived-At: > Date: Mon, 2 Sep 2024 19:48:57 +0100 > From: Reuben Thomas via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Reproduction with Emacs 29.3 (also with git master HEAD, see below). > > Run: emacs -Q > C-x 5 2 ; window opens the same size as the initial window > M-x menu-bar-mode RET ; disable menu-bar-mode > C-x 52 ; window opens much smaller than initial window > > With master HEAD (commit 92ea393a16e), the situation is slightly different: > > Run: emacs -Q > C-x 52 ; window opens much smaller than initial window I cannot reproduce this, but I'm not on X. Here on MS-Windows, disabling menu-bar-mode makes the frames one line smaller, and thereafter "C-x 5 2" creates frames whose dimensions are exactly identical to the existing frames. As expected. I see the above both in Emacs 29, on the current emacs-30 release branch, and on master. > I'm running on Ubuntu 24.04, under GNOME 46 with X11. I don't have any Emacs X resources set. You didn't say which toolkit did you build with. It might be important. Adding Martin and Po Lu in the hope that they will have comments and/or suggestions.