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: Sat, 7 Sep 2024 13:07:21 +0100 Message-ID: References: <7b6a5b97-fb0c-4eb0-a5b8-78b6ad5002d9@gmx.at> <7be33291-1828-41a6-bd56-759db2f533ee@gmx.at> <44e0648e-b374-4816-8f3b-6948af471ab1@gmx.at> Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000576fd90621865e84" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11905"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Eli Zaretskii , 72986@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 07 14:09: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 1smuFl-0002xI-Lg for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Sep 2024 14:09:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smuFS-0000h9-Um; Sat, 07 Sep 2024 08:09:03 -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 1smuFR-0000h0-Rh for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 08:09: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 1smuFR-00041y-IL for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 08:09:01 -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:In-Reply-To:References:MIME-Version:To:Subject; bh=xFRyshM+VzpmKRBmRIxCc9Xf20p6u+JpEO2VzRnAphU=; b=elWZRbSRR8O4lWRxY9qAe/QTV1WlG/aLksYMIuGW5+e4rvu6MCnLXH6giah2nNk/sIfAYi23fQFFEwtXzS3yy5HTaAOPPVZFSzoqjTQB3nrMNisFnMjrLnu2P5SxbNCNBxqfMcIS/LCZRDJlT+QrksD9pmH7PMPOSMc20P/Qfvwyc1rJaqbQF5+XTEjB0BnqNs0EuEEkEz7IqKJzcyxfShT8ZTv9XBMoOIVLvsqvJeBzvanTDCK9buR+fGXtUwxGfWkDNOnRP50ivEnwfBcyoX97R9XNB+ojMCiqw3o91Tm/6IGVqq58IdygrvnZmuZfQw9KK7MGjYSM1Gq3/TKO1A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smuFR-0007zb-Qq for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 08:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Sep 2024 12:09: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.172571092730699 (code B ref 72986); Sat, 07 Sep 2024 12:09:01 +0000 Original-Received: (at 72986) by debbugs.gnu.org; 7 Sep 2024 12:08:47 +0000 Original-Received: from localhost ([127.0.0.1]:55066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smuF9-0007z2-EH for submit@debbugs.gnu.org; Sat, 07 Sep 2024 08:08:47 -0400 Original-Received: from mail-yw1-f174.google.com ([209.85.128.174]:55420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smuF5-0007yl-1T for 72986@debbugs.gnu.org; Sat, 07 Sep 2024 08:08:42 -0400 Original-Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-6b47ff8a59aso28181857b3.2 for <72986@debbugs.gnu.org>; Sat, 07 Sep 2024 05:08:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1725710852; x=1726315652; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xFRyshM+VzpmKRBmRIxCc9Xf20p6u+JpEO2VzRnAphU=; b=Qvt6pbVZFNhAt/enAA2duc+adBcatV3ONiGFphPTRGRhewMmzE/bgWQkrGLLNMaQel ZmjPhOKqMh+TgWvB2vkUiiCYwRKN3ijgy2AkmIDtzMdjMJ6PQ6R/EcZNG27D98N5vWSv +VKT/f+LtSHYkizGWAviWesEs7hyTpvJsEjNA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725710852; x=1726315652; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xFRyshM+VzpmKRBmRIxCc9Xf20p6u+JpEO2VzRnAphU=; b=e0R49KFcvdn8JM6o0jYrRTBkXzHNUOJ/BVQA0j4XFebGAZd5glweDDfwkQW/DG/O0k DijDDMp6SP/6QHPs87rddModpyp0JI3lFhi3za6bbhmdcL/me931NqXFcNBEV5KSe7YV w1/mTOWtduSX1WMGvoGB98J2oykY+VQ4L0hsKe3ydKYkaoigLG5N3b+++rddhcG/Hlx0 yBeYoL2WmoypdhSeO1Nt2A/emGh6RjPL10584eQ2yNLoCM8TK7Yn/l857AdzJTtm1Kok QHiLUWLR0dwxhmYrTLKAkbFqwxD/0WtGKK/+98isqtHM1RS+dnXtxNAizSJ26DWht5kg yvXg== X-Forwarded-Encrypted: i=1; AJvYcCVr1A71gNiGlTUmolOtERl47dnt+knze8VHEvLJjLik/J6oYxGu+UCsMV07ziZSk4V+ReZCKQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzzArWVGXig9gD1b9ZAsmJo/W06hBllMGlxqLxcds53xlRHoex/ TMMATj7UqPbfd8vh+gYUN2b9PIGsV7CS4NIokaTWAUqOgMHvBjN8/cSo2keKGbeqRHlcyTMMOLU qgp91jSgcysUzSwt/F/S3zHROIKpE16ss1/kMHg== X-Google-Smtp-Source: AGHT+IGWw/2sp4bGia/RVI+WqAr4lyip1wpPQxxOgGPIaiONNXvNPGs5zwF5jQqC3+A0dNPVXT8yIVEqd0Rd1lD6ofQ= X-Received: by 2002:a05:690c:f93:b0:65f:a0e5:8324 with SMTP id 00721157ae682-6db44d6c7e5mr68531827b3.4.1725710852377; Sat, 07 Sep 2024 05:07:32 -0700 (PDT) In-Reply-To: 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:291380 Archived-At: --000000000000576fd90621865e84 Content-Type: text/plain; charset="UTF-8" On Sat, 7 Sept 2024 at 09:37, martin rudalics wrote: > > -#if defined (USE_X_TOOLKIT) || defined (USE_GTK) > +#if defined (USE_X_TOOLKIT) && !defined (USE_GTK) > OK, so I applied this patch and ran `emacs -Q`, then did C-x 5 2 and got the usual small window and error: (emacs:3159980): Gtk-CRITICAL **: 13:05:49.056: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed > Now set > > (setq default-frame-alist '((menu-bar-lines . 0))) > > and do C-x 5 2. How does that behave? > That opens a small window with no error message. -- https://rrt.sc3d.org --000000000000576fd90621865e84 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, 7 Sept 2024 at 09:37, martin rudalics <rudalics@gmx.at> wrote:

-#if defined (USE_X_TOOLKIT) || define= d (USE_GTK)
+#if defined (USE_X_TOOLKIT) && !defined (USE_GTK)

OK, so I applied this p= atch and ran `emacs -Q`, then did C-x 5 2 and got the usual small window an= d error:

(emacs:315998= 0): Gtk-CRITICAL **: 13:05:49.056: gtk_distribute_natural_allocation: asser= tion 'extra_space >=3D 0' failed
=C2=A0
Now set

(setq default-frame-alist '((menu-bar-lines . 0)))

and do C-x 5 2.=C2=A0 How does that behave?
<= div>
That opens a small window with no error me= ssage.

-- =
--000000000000576fd90621865e84--