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: Fri, 6 Sep 2024 13:20:32 +0100 Message-ID: References: <86ttex6iv0.fsf@gnu.org> <062bf084-741b-4d60-b9de-c62d62a79807@gmx.at> <7b6a5b97-fb0c-4eb0-a5b8-78b6ad5002d9@gmx.at> <7be33291-1828-41a6-bd56-759db2f533ee@gmx.at> Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b1becf0621726fd2" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21010"; 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 Fri Sep 06 14:22:28 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 1smXyt-0005Jx-OO for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Sep 2024 14:22:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smXyZ-00038n-Oj; Fri, 06 Sep 2024 08:22:09 -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 1smXyV-0002sk-J0 for bug-gnu-emacs@gnu.org; Fri, 06 Sep 2024 08:22:03 -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 1smXyV-0001Zk-5h for bug-gnu-emacs@gnu.org; Fri, 06 Sep 2024 08:22:03 -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=Rm8pe7GPkhJs4c4lYmkA/pwvuF4M4l2WcJLXnbeyS+w=; b=GXJ2kCRV+oaBBNanxRQ+fva46abgFO4J6KcNef/MSh03+K3IdAHYH5+6loXQQ1MVpPo4x6MtJRdTUgQWtc0g0+EGtjYPc4EL8OJzxWKIUFvy3kPnNeDunSxyHRYdHENSHhz1+UE8kuc7DFqilGtFyCzur/7yH5MTMA8fgaYohbX0M048YWguCpj/QLnXYLpd51k2bXZJVPJ6CWTNMhLqQPoqIoabUmUVlpb9Y3Gl5kGRiqYG1f0lq95xBdaeRbWGhOltaSHR2aG4Tyy/ViqzyafZPfJPBcLNO334KBJ5LELLu7Q42oul8RZxL5ES0a3ffGV2v8bL/lWgKPQb+BFCIQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smXyU-0003UH-GA for bug-gnu-emacs@gnu.org; Fri, 06 Sep 2024 08:22: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: Fri, 06 Sep 2024 12:22: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.172562531113384 (code B ref 72986); Fri, 06 Sep 2024 12:22:02 +0000 Original-Received: (at 72986) by debbugs.gnu.org; 6 Sep 2024 12:21:51 +0000 Original-Received: from localhost ([127.0.0.1]:52411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smXyJ-0003To-4U for submit@debbugs.gnu.org; Fri, 06 Sep 2024 08:21:51 -0400 Original-Received: from mail-yw1-f179.google.com ([209.85.128.179]:48629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smXyH-0003TV-Dj for 72986@debbugs.gnu.org; Fri, 06 Sep 2024 08:21:50 -0400 Original-Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-6b6b9867f81so17504567b3.1 for <72986@debbugs.gnu.org>; Fri, 06 Sep 2024 05:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1725625244; x=1726230044; 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=Rm8pe7GPkhJs4c4lYmkA/pwvuF4M4l2WcJLXnbeyS+w=; b=zjH9Yrdx4aJuW7aZoUR0YdXgPsMO5nqj2DBmvt/urJH9dAB5ndILyc3HgfUiQ+KxVl Bp8gqJg8BcGc7MKU/KpC6FpSOrc8LqIEg0EO/XRZ7ty1bNaaQTzBkUA+i6aUCXHIRE6f lADYZXmHfSb1wRinOARY8fp3JAaIJ1RI3gIRE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725625244; x=1726230044; 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=Rm8pe7GPkhJs4c4lYmkA/pwvuF4M4l2WcJLXnbeyS+w=; b=LO5gK0KE7Sfqrw0PvMQx+BMdx4YtObQnz/98ww3xcg06K6Lnu3yhKGzwkVGLfOpdeV t7bcUnfitkCZFRGLhP6t/jizuoGEjSZiI26XxZIguSNfI13v69+Ai9Hw5AQ4hwHv6UMX hCCwBKWepgmMyW1P4AL67jQzIZOxxRluVmnay9MIRH4HgN0GrpKNhuVOQHZqCQV2pI1x VD6X2zdi2K//w/YRStzuDZxAPkOOJU7SZOCbtABvzpw9PK7AYyOj4zpnvHT2e6AaKY0d TNoRd5PP3Bvy8UCbQ7ysHwL0Py2bA88xusSdrzjDBd1fXi8X+24xnMguS1AQr8AAv2jV ywLA== X-Forwarded-Encrypted: i=1; AJvYcCVdPHCqGTAuDMOXGpaXSJnWS0dBTadAqZDayGq44KFk4aeLsOEML0gVQDSjmjevDK2zGop/cQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yx6+boSSTThLz8TAUOrsrvtjAg4w6xxRkd51RZsJVy4Xh0AFqLw euBO+CrJ1l5ASQrB/y/bgucR6hpe+cXoHCU5DD3Z9EvOP8O75EujtX/PmPdP2/AYJMpYUNnbvsa bY4VTyyO+/yIM3VxOHVSFI9cK3Z+6yvKdSRJAGA== X-Google-Smtp-Source: AGHT+IFc9xpPS+o2CVqc0r6g9qf0xpkPsWpKlHh4eMG4inwAv+o81sA88VFqN9TslmFT5zByF9fLSrBVrsQikteMSgY= X-Received: by 2002:a05:690c:4911:b0:6d6:94b2:f3e4 with SMTP id 00721157ae682-6db44f2f652mr32074447b3.26.1725625244163; Fri, 06 Sep 2024 05:20:44 -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:291310 Archived-At: --000000000000b1becf0621726fd2 Content-Type: text/plain; charset="UTF-8" On Fri, 6 Sept 2024 at 10:50, martin rudalics wrote: > > Buffer contents for master HEAD after C-x 5 2: > > I can't figure out what's going on. I couldn't make sense of the results I sent either, so I re-ran the tests. Buffer contents after C-x 5 2 with commit 24161683102 reverted: 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 menu-bar-lines (2), 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 menu-bar-lines (2), 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=400x322, DS=1328x1260 xg_frame_resized, changed, PS=1328x1260, XS=400x322 change_frame_size_1, delayed, PS=1328x1260, XS=400x322, DS=1328x1260 ConfigureNotify, PS=1328x1260, XS=1328x1258, DS=400x322 xg_frame_resized, changed, PS=1328x1260, XS=1328x1258, DS=400x322 change_frame_size_1, delayed, PS=1328x1260, XS=1328x1258, DS=400x322 tool-bar-lines (2), NS=1328x1260~>1328x1258, MS=160x175 xg_frame_set_char_size, visible, PS=1328x1260, XS=1328x1258, DS=1328x1258 ConfigureNotify, PS=1328x1260, XS=1328x1258, DS=1328x1258 xg_frame_resized, changed, PS=1328x1260, XS=1328x1258, DS=1328x1258 change_frame_size_1, delayed, PS=1328x1260, XS=1328x1258, DS=1328x1258 change_frame_size (5), TS=1280x1260~>1280x1258, TC=80x36~>80x35, NS=1328x1260~>1328x1258, IS=1328x1260~>1328x1258, MS=32x70 IH IV set_window_configuration (4), MS=160x175 IH IV With git master HEAD: 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 menu-bar-lines (2), 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=400x340, DS=1328x1260 xg_frame_resized, changed, PS=1328x1260, XS=400x340 change_frame_size_1, delayed, PS=1328x1260, XS=400x340, DS=1328x1260 tool-bar-lines (2), NS=1328x1260~>400x340, MS=160x175 xg_frame_set_char_size, visible, PS=1328x1260, XS=400x340, DS=400x340 ConfigureNotify, PS=1328x1260, XS=400x340, DS=400x340 xg_frame_resized, changed, PS=1328x1260, XS=400x340, DS=400x340 change_frame_size_1, delayed, PS=1328x1260, XS=400x340, DS=400x340 change_frame_size (5), TS=1280x1260~>352x340, TC=80x36~>22x9, NS=1328x1260~>400x340, IS=1328x1260~>400x340, MS=32x70 IH IV ConfigureNotify, PS=400x340, XS=400x374 xg_frame_resized, changed, PS=400x340, XS=400x374 change_frame_size_1, delayed, PS=400x340, XS=400x374 change_frame_size (5), TS=352x340~>352x374, TC=22x9~>22x10, NS=400x340~>400x374, IS=400x340~>400x374, MS=32x70 IH IV set_window_configuration (4), MS=160x175 IH IV Now the change_frame_size(5) initial and final sizes look correct. -- https://rrt.sc3d.org --000000000000b1becf0621726fd2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, 6 Sept 2024 at 10:50, martin rudalics <rudalics@gmx.at> wrote:
=C2=A0> Buffer contents for master HEAD= after C-x 5 2:

I can't figure out what's going on.

I couldn't make sense of the results I sent either,= so I re-ran the tests.

Buffer contents after C-x 5 2 with commit 24161683102 reverted:

=
Frame size history of #<frame =C2=A0*Minibuf-1* 0x5b139720918= 0>
x_create_frame_1 (5), TS=3D80x25~>1280x875, NS=3D80x25~>1296= x875, IS=3D80x25~>1296x875, MS=3D32x70 IH IV
gui_figure_window_size (= 5), TS=3D1280x875~>1280x1260, TC=3D80x25~>80x36, NS=3D1296x875~>12= 96x1260, IS=3D1296x875~>1296x1260, MS=3D32x70 IH IV
scroll-bar-width = (3), NS=3D1296x1260~>1328x1260, IS=3D1296x1260~>1328x1260, MS=3D160x1= 75
scroll-bar-height (3), MS=3D160x175
menu-bar-lines (2), MS=3D160x1= 75
x_create_frame_2 (0), MS=3D160x175
xg_frame_set_char_size, invisib= le, PS=3D1328x1260, XS=3D1328x1260, DS=3D1328x1260
xg_frame_set_char_siz= e (5), MS=3D32x70 IH IV
menu-bar-lines (2), MS=3D160x175
xg_frame_set= _char_size, invisible, PS=3D1328x1260, XS=3D1328x1260, DS=3D1328x1260
xg= _frame_set_char_size (5), MS=3D32x70 IH IV
x_make_frame_visible
MapNo= tify, not hidden & not iconified, PS=3D1328x1260, DS=3D1328x1260
Con= figureNotify, PS=3D1328x1260, XS=3D400x322, DS=3D1328x1260
xg_frame_resi= zed, changed, PS=3D1328x1260, XS=3D400x322
change_frame_size_1, delayed,= PS=3D1328x1260, XS=3D400x322, DS=3D1328x1260
ConfigureNotify, PS=3D1328= x1260, XS=3D1328x1258, DS=3D400x322
xg_frame_resized, changed, PS=3D1328= x1260, XS=3D1328x1258, DS=3D400x322
change_frame_size_1, delayed, PS=3D1= 328x1260, XS=3D1328x1258, DS=3D400x322
tool-bar-lines (2), NS=3D1328x126= 0~>1328x1258, MS=3D160x175
xg_frame_set_char_size, visible, PS=3D1328= x1260, XS=3D1328x1258, DS=3D1328x1258
ConfigureNotify, PS=3D1328x1260, X= S=3D1328x1258, DS=3D1328x1258
xg_frame_resized, changed, PS=3D1328x1260,= XS=3D1328x1258, DS=3D1328x1258
change_frame_size_1, delayed, PS=3D1328x= 1260, XS=3D1328x1258, DS=3D1328x1258
change_frame_size (5), TS=3D1280x12= 60~>1280x1258, TC=3D80x36~>80x35, NS=3D1328x1260~>1328x1258, IS=3D= 1328x1260~>1328x1258, MS=3D32x70 IH IV
set_window_configuration (4), = MS=3D160x175 IH IV

With git= master HEAD:

Frame si= ze history of #<frame =C2=A0*Minibuf-1* 0x5e9870140918>
x_create_f= rame_1 (5), TS=3D80x25~>1280x875, NS=3D80x25~>1296x875, IS=3D80x25~&g= t;1296x875, MS=3D32x70 IH IV
gui_figure_window_size (5), TS=3D1280x875~&= gt;1280x1260, TC=3D80x25~>80x36, NS=3D1296x875~>1296x1260, IS=3D1296x= 875~>1296x1260, MS=3D32x70 IH IV
scroll-bar-width (3), NS=3D1296x1260= ~>1328x1260, IS=3D1296x1260~>1328x1260, MS=3D160x175
scroll-bar-he= ight (3), MS=3D160x175
menu-bar-lines (2), MS=3D160x175
x_create_fram= e_2 (0), MS=3D160x175
xg_frame_set_char_size, invisible, PS=3D1328x1260,= XS=3D1328x1260, DS=3D1328x1260
xg_frame_set_char_size (5), MS=3D32x70 I= H IV
x_make_frame_visible
MapNotify, not hidden & not iconified, = PS=3D1328x1260, DS=3D1328x1260
ConfigureNotify, PS=3D1328x1260, XS=3D400= x340, DS=3D1328x1260
xg_frame_resized, changed, PS=3D1328x1260, XS=3D400= x340
change_frame_size_1, delayed, PS=3D1328x1260, XS=3D400x340, DS=3D13= 28x1260
tool-bar-lines (2), NS=3D1328x1260~>400x340, MS=3D160x175
= xg_frame_set_char_size, visible, PS=3D1328x1260, XS=3D400x340, DS=3D400x340=
ConfigureNotify, PS=3D1328x1260, XS=3D400x340, DS=3D400x340
xg_frame= _resized, changed, PS=3D1328x1260, XS=3D400x340, DS=3D400x340
change_fra= me_size_1, delayed, PS=3D1328x1260, XS=3D400x340, DS=3D400x340
change_fr= ame_size (5), TS=3D1280x1260~>352x340, TC=3D80x36~>22x9, NS=3D1328x12= 60~>400x340, IS=3D1328x1260~>400x340, MS=3D32x70 IH IV
ConfigureNo= tify, PS=3D400x340, XS=3D400x374
xg_frame_resized, changed, PS=3D400x340= , XS=3D400x374
change_frame_size_1, delayed, PS=3D400x340, XS=3D400x374<= br>change_frame_size (5), TS=3D352x340~>352x374, TC=3D22x9~>22x10, NS= =3D400x340~>400x374, IS=3D400x340~>400x374, MS=3D32x70 IH IV
set_w= indow_configuration (4), MS=3D160x175 IH IV

<= div>
Now the change_frame_size(5) initial and final sizes= look correct.

--
--000000000000b1becf0621726fd2--