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, 9 Sep 2024 14:59:21 +0100 Message-ID: References: <44e0648e-b374-4816-8f3b-6948af471ab1@gmx.at> <4c2fe23a-be76-4cdc-8f97-16197e1834b0@gmx.at> <300cb820-d6b7-44c6-8609-fa7804babf99@gmx.at> <56840844-930e-45b0-ae48-97b5875c51b9@gmx.at> Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009fddb60621b02a64" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20727"; 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 Mon Sep 09 16:01:23 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 1snexG-0005AZ-MN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Sep 2024 16:01:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snewv-0002r4-21; Mon, 09 Sep 2024 10:01:01 -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 1snews-0002jU-LC for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2024 10:00:58 -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 1snews-0001We-BK for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2024 10:00:58 -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=b0xaUupe4aD+8ppj4SXf9GeJNEN3ipS/qxm4FiGfUDw=; b=jXdKrQ7YrcnRtlks5OUZVlsdvk35Bpy03EvcSdhJogMW6/+1C6KNKjTplOyvYNPqubMhSLY0CT8cPc/zMtQ3VPosyFyMrboO98DFxIhAECpp5Wm0PM+PkSYBcF6MvYYEsDJjD2O3q0SQSK05U4MKgH3CUeOK2nj31w2F36qbFiVkKR8yPqhfQ2AUkhkSH/ywgHpl6slb2gmcrcbBBJQPdzZGcWFvDCi3ahuXynmVLWGWSsCBtDCiEVW3CaEx9GxBuE87zBvuqdpaja1/nwqtlexmPe4yDNeK9v4efO8TBgbrX9emeeKDfRRWHrtZZO14+sSNgOrOo/bQCANyCSfX0w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snewv-0007rZ-U4 for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2024 10:01: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: Mon, 09 Sep 2024 14:01: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.172589044530192 (code B ref 72986); Mon, 09 Sep 2024 14:01:01 +0000 Original-Received: (at 72986) by debbugs.gnu.org; 9 Sep 2024 14:00:45 +0000 Original-Received: from localhost ([127.0.0.1]:33746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snewf-0007qt-1L for submit@debbugs.gnu.org; Mon, 09 Sep 2024 10:00:45 -0400 Original-Received: from mail-yb1-f174.google.com ([209.85.219.174]:45346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snewc-0007qh-O7 for 72986@debbugs.gnu.org; Mon, 09 Sep 2024 10:00:43 -0400 Original-Received: by mail-yb1-f174.google.com with SMTP id 3f1490d57ef6-e0b7efa1c1bso4358184276.3 for <72986@debbugs.gnu.org>; Mon, 09 Sep 2024 07:00:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1725890373; x=1726495173; 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=b0xaUupe4aD+8ppj4SXf9GeJNEN3ipS/qxm4FiGfUDw=; b=QTxtWstiUFLM2qA2Ij3HTO3aqSbc1xKc2COFxZklOizvKVKhLY4cyLKDLWGPJvRDy0 vCa5buc2OkZAZ0p6u+NauGDWV8C+OqnBYG1MQFcknzAR/6OEGQgRgw7PS95OdaXUBSKd LSEB2vATEJIC9y+BvEgT72OZhZvHkKUxK/lhU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725890373; x=1726495173; 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=b0xaUupe4aD+8ppj4SXf9GeJNEN3ipS/qxm4FiGfUDw=; b=nhKJSleeCIBqOfZZCsLxg3ZL54bh+We60/utkJDNNclyxoUgbuVHRdL13+B+K/Xh9H uYAFgNDkt4ePDvbb1y6PZ/2RHiSxucQ3Or3p0XDeXqJ1MhISuKmCM0NYNtqxKTiCd65v 6Y+MggT91K5g9/WFU9cmAs7z/5x3o5p8nXR+5RO/bC5OzKvuITkg4PWmnRZ7QrmlAeM3 njKMwKEvLfDNLaVFPIXlsKJdHCF5+yS0VLZu7L5dHD8iY6UKwP8jWdgSXMmeemmH6JKm ue79jKSfLeRsgr+AB4IJPEX+lK3s8OqMVOjUvgHOGTKd9R6KSDJ5sUoev+RNxhUJAoa9 oT8Q== X-Forwarded-Encrypted: i=1; AJvYcCWCVkhrONDfwicZj0bGy8ZRjEOyne8IcimiVxvid87iGxKKd486Rgxmqs857fdCnep5YDVgoA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxnO0LQkrKhgJUjBM4GLCSQfEp91N1TB9+SRKNgjFU+JUnih9t8 BjrWuU9q/brReCI1uxPcdncQJikFKsqmUJPazYk5THs11KTsVw0ckNOy+yEJMxJZ4oxzGGOxTBC sZw14p7v5VvUXxp7g0kvoBB4J/iFxXu5ZdfZ9FQ== X-Google-Smtp-Source: AGHT+IGs+8yCVyO0tOPcoJwh8maTMnKFLxmGvKfuOoWLymERjv36rAuvwaEgVkKDPJs32FeFaoN6Hs5Dj0A7pzMUPg4= X-Received: by 2002:a05:690c:6f06:b0:6c1:2ea1:c24d with SMTP id 00721157ae682-6db44f2f5d2mr113096207b3.26.1725890373334; Mon, 09 Sep 2024 06:59:33 -0700 (PDT) In-Reply-To: <56840844-930e-45b0-ae48-97b5875c51b9@gmx.at> 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:291503 Archived-At: --0000000000009fddb60621b02a64 Content-Type: text/plain; charset="UTF-8" On Mon, 9 Sept 2024 at 13:33, martin rudalics wrote: > Obviously. I modified the PGTK part. Please try again with what I > attached now. > This makes an obviously visible difference: C-x 5 2 opens a small frame which immediately becomes large. Here's the *frame-size-history* buffer: Frame size history of # x_create_frame_1 (5), TS=80x25~>1280x875, NS=80x25~>1296x875, IS=80x25~>1296x875, MS=32x70 IH IV gui_figure_window_size (5), TS=1280x875~>1280x1260, TC=80x25~>80x36, NS=1296x875~>1296x1260, IS=1296x875~>1296x1260, MS=32x70 IH IV scroll-bar-width (3), NS=1296x1260~>1328x1260, IS=1296x1260~>1328x1260, MS=160x175 scroll-bar-height (3), MS=160x175 x_create_frame_2 (0), MS=160x175 xg_frame_set_char_size, invisible, PS=1328x1260, XS=1328x1260, DS=1328x1260 xg_frame_set_char_size (5), MS=32x70 IH IV x_make_frame_visible MapNotify, not hidden & not iconified, PS=1328x1260, DS=1328x1260 ConfigureNotify, PS=1328x1260, XS=400x374, DS=1328x1260 xg_frame_resized, rejected, PS=1328x1260, XS=400x374, DS=664x630 tool-bar-lines (2), MS=160x175 xg_frame_set_char_size, visible, PS=1328x1260, XS=1328x1260, DS=1328x1260 ConfigureNotify, PS=1328x1260, XS=1328x1258, DS=1328x1260 xg_frame_resized, rejected, PS=1328x1260, XS=1328x1258, DS=664x671 set_window_configuration (4), MS=160x175 IH IV Note that once more I retained the simple patch to frame.c to set frame-size-history to (100). -- https://rrt.sc3d.org --0000000000009fddb60621b02a64 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, 9 Sept 2024 at 13:33, martin rudalics <rudalics@gmx.at> wrote:
Obviously.=C2=A0 I modified the PGTK part.= =C2=A0 Please try again with what I
attached now.

This makes = an obviously visible difference: C-x 5 2 opens a small frame which immediat= ely becomes large.

Her= e's the *frame-size-history* buffer:

=
Frame size history of #<frame =C2=A0*Minibuf-1* 0x5e5= 6112ccf80>
x_create_frame_1 (5), TS=3D80x25~>1280x875, NS=3D80x25~= >1296x875, IS=3D80x25~>1296x875, MS=3D32x70 IH IV
gui_figure_windo= w_size (5), TS=3D1280x875~>1280x1260, TC=3D80x25~>80x36, NS=3D1296x87= 5~>1296x1260, IS=3D1296x875~>1296x1260, MS=3D32x70 IH IV
scroll-ba= r-width (3), NS=3D1296x1260~>1328x1260, IS=3D1296x1260~>1328x1260, MS= =3D160x175
scroll-bar-height (3), MS=3D160x175
x_create_frame_2 (0), = MS=3D160x175
xg_frame_set_char_size, invisible, PS=3D1328x1260, XS=3D132= 8x1260, DS=3D1328x1260
xg_frame_set_char_size (5), MS=3D32x70 IH IV
x= _make_frame_visible
MapNotify, not hidden & not iconified, PS=3D1328= x1260, DS=3D1328x1260
ConfigureNotify, PS=3D1328x1260, XS=3D400x374, DS= =3D1328x1260
xg_frame_resized, rejected, PS=3D1328x1260, XS=3D400x374, D= S=3D664x630
tool-bar-lines (2), MS=3D160x175
xg_frame_set_char_size, = visible, PS=3D1328x1260, XS=3D1328x1260, DS=3D1328x1260
ConfigureNotify,= PS=3D1328x1260, XS=3D1328x1258, DS=3D1328x1260
xg_frame_resized, reject= ed, PS=3D1328x1260, XS=3D1328x1258, DS=3D664x671
set_window_configuratio= n (4), MS=3D160x175 IH IV

Note that once more I retained the simple patch to frame.c to set frame= -size-history to (100).

--
--0000000000009fddb60621b02a64--