From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Reuben Thomas 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, 2 Sep 2024 19:48:57 +0100 Message-ID: Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000064086d062127657b" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9677"; mail-complaints-to="usenet@ciao.gmane.io" To: 72986@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 02 20:51:18 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 1slC8z-0002Jx-3j for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Sep 2024 20:51:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slC8k-0004rB-LE; Mon, 02 Sep 2024 14:51: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 1slC8j-0004r1-4T for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2024 14:51: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 1slC8i-0008IT-RJ for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2024 14:51:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:MIME-Version:To:Subject; bh=kKelwGqoGyJWcmw6Ec/1Gk2ba3p2lusZdjzSQRwA+JY=; b=KBj8a4Bg74GCjHv7DOxqLfEr/zFhUynEbXHOd8yvOI+jeM1UC/xH5svbd2xxLMT7Gqk05/PWkD5ruSVubQ8vMCFGF9CojRosydFLZRu/ALJIN213pbGDaNyRQ6nHtpxUGLDH33wyg0JMtFNrymM/2L9bqD1EPFhFHoEnIdzZpLDx1Y967Fnudf52tpcoCWiFX0HjUvsViQXEBUxUdMC7PUCz5Nq9nKUw4AmC96CZbZjfdyRWEZSrKtl4WDfMM1WymGi1x2iblNACC/KPMSQOR6AfO/q6jQ/6KXiwLa5hBfCjaik5cgPLOpdrJL7VP1pE8WG9QVBcKbKX2VVZ1ed5Ag==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1slC9i-0001RT-0C for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2024 14:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Sep 2024 18:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72986 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.17253030855462 (code B ref -1); Mon, 02 Sep 2024 18:52:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Sep 2024 18:51:25 +0000 Original-Received: from localhost ([127.0.0.1]:52274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slC96-0001Q2-Gn for submit@debbugs.gnu.org; Mon, 02 Sep 2024 14:51:24 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slC91-0001Pr-0M for submit@debbugs.gnu.org; Mon, 02 Sep 2024 14:51:22 -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 1slC81-0004mh-IU for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2024 14:50:17 -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 1slC81-0008GX-9T for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2024 14:50:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by fencepost.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1slC7y-0007nX-8O for bug-emacs@gnu.org; Mon, 02 Sep 2024 14:50:15 -0400 Original-Received: from mail-yw1-x1135.google.com ([2607:f8b0:4864:20::1135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1slC7w-0007zA-Ck for bug-emacs@gnu.org; Mon, 02 Sep 2024 14:50:13 -0400 Original-Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-6b6b9867faaso37302107b3.2 for ; Mon, 02 Sep 2024 11:49:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1725302949; x=1725907749; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=kKelwGqoGyJWcmw6Ec/1Gk2ba3p2lusZdjzSQRwA+JY=; b=Kpz2qcpcqOTsl0+2XKVa8zLXHhp91znZ2ndmSMAaUNlNmRX6CHk6oPK0AZWTLFFn7s tWEPct1mwZrVCrSDtQGGeGwToVugNF9vu3oRBv9yy/udzpkEV5b6gJ5I+EFZCh5gSzRq 3CMposdujY7h5HL4PoXBDCf9oiREzG+ug8TPQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725302949; x=1725907749; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kKelwGqoGyJWcmw6Ec/1Gk2ba3p2lusZdjzSQRwA+JY=; b=bhvrQ15cf4EnGl5ZR9CRN0hAPxNz6Nk+UKlsXZwzdb6BypYpdnk4Pj6AhyWEmVL2cf qkK4eyKwDdou9tb12sMEr8kvDls+5u89u4iJE5hWo29r0DL8hN4QH0Hdizedy78kADeb 4MVfGV0UK7TteadHN1+QDTr8TxysMc/a3xBpGJYhSbqiYMRxcmHIQfYISPSGWoy3w905 uXBiKSRSMUmHiVX48vxIjAIQbaDC32xJ43ouhkIiuf+t/FBEOvoCAUDX8iVdW+OYwTaQ JNCrASbl3AD1JAxXa9XL/YEMebWoKFTOMK2iZ7zR72CaM3RtOp3Y/LKdmYH2QvEbq9J8 5lLA== X-Gm-Message-State: AOJu0YwKqHxAjiBeEj+IZjULd3DcXPBTrrNCSdr4WM6Bx/avVTVXrOpS PqwViLEW0qxvXBHqmRv9z0pI28WEJOeqRlKNDWjm5Xgbz1zYEBjOIrQz3pYMvr1+L9LYZotkZLH 9cJonYJPnH8p4vxTl4jSWWGInYtI04pTSPFJx7vPHo/V0LXTJ37k= X-Google-Smtp-Source: AGHT+IGdgO9teIms7h7M1QuTjW29FPi489Gf26fM0FSNi58kHa60x6/75JywuyRzrusnz2c/pd3+nsWpv7hGh9RQ9K0= X-Received: by 2002:a05:690c:dca:b0:6b2:28c3:b729 with SMTP id 00721157ae682-6d40d78db02mr137788707b3.4.1725302948750; Mon, 02 Sep 2024 11:49:08 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::1135; envelope-from=rrt@sc3d.org; helo=mail-yw1-x1135.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:291119 Archived-At: --00000000000064086d062127657b Content-Type: text/plain; charset="UTF-8" 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 When the new windows are opening at a small size, changing default-frame-alist has no effect. When the new windows are opening at the same size as the initial window (with Emacs 29.3, as above), then changing default-frame-alist works as expected. I'm running on Ubuntu 24.04, under GNOME 46 with X11. I don't have any Emacs X resources set. -- https://rrt.sc3d.org --00000000000064086d062127657b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Reproduction with Emacs 29.3 (also with= git master HEAD, see below).

Run: emacs -Q
C-x 5 2 ; window opens the s= ame size as the initial window
M-x menu-bar-mode RE= T ; disable menu-bar-mode
C-x 52 ; window opens muc= h smaller than initial window

With master HEAD (commit 92ea393a16e), the situation is slightly d= ifferent:

Run: emacs -Q
C-x 52 ; = window opens much smaller than initial window

<= div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif= ;font-size:small">When the new windows are opening at a small size, changin= g default-frame-alist has no effect. When the new windows are opening at th= e same size as the initial window (with Emacs 29.3, as above), then changin= g default-frame-alist works as expected.

I'm running on Ubuntu 24.04, under GN= OME 46 with X11. I don't have any Emacs X resources set.

--
--00000000000064086d062127657b--