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, 16 Nov 2024 14:45:58 +0000 Message-ID: References: <0e78c0db-105c-4a60-acd4-7267e225259b@gmx.at> <74c278ea-e286-4841-98ed-6ae38cb63980@gmx.at> <3797189d-e13b-4340-9629-80cda5aaaced@gmx.at> <6e166b5c-c570-46f1-9eed-bca1dd06dba4@gmx.at> <93553a3f-20c3-47e3-bad5-161877cec985@gmx.at> <3334a15b-87cd-4bfc-b5ca-db7cde08df92@gmx.at> <8378b9a3-d739-4a39-b50f-45481812029d@gmx.at> Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000914baa062708be0c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12674"; 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 Nov 16 15:48:26 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 1tCK65-00035D-6z for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Nov 2024 15:48:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCK5n-0002Iq-Cx; Sat, 16 Nov 2024 09:48:07 -0500 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 1tCK5k-0002Ih-4G for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 09:48:04 -0500 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 1tCK5j-0003hK-Pr for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 09:48:03 -0500 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=RpvoFJJuGJ2Dmvdcv/5FDger7jyRd/Eedio3HPQ+8O8=; b=NPYV9fbPdF9zWs2jEDMp1QmCOHEBggvGG9azST3KyHpo424jgKhamZ9EaLJT8vpxSyw7puCS4pjDkLbNJVGquF+0/keC/+/YI97Et5watbF4IVT4qb3nqlWxr5qZSCTAnrBcbMV4ujaEF+sNEcb6P8gbbtVjHakVWJXbmNiDpe7OiKUZsTShHRDnyu4anTAdBI+N9xvDX37vojCY04ZUVOAIiHF1j7TOPP9tF1Ie6JmxXk8UCQ8FAY8BodiU+r1YTpkyfkjSJliYGCAuhfLDNUZ2elPoOLbCQY3EXkzgkxNduCW9Zndn6UKTisKThKNEO+azcydSMpvQdYX1g+NgzQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCK5i-0006XY-KG for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 09:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Nov 2024 14:48: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.173176843625069 (code B ref 72986); Sat, 16 Nov 2024 14:48:02 +0000 Original-Received: (at 72986) by debbugs.gnu.org; 16 Nov 2024 14:47:16 +0000 Original-Received: from localhost ([127.0.0.1]:52675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCK4x-0006WG-SS for submit@debbugs.gnu.org; Sat, 16 Nov 2024 09:47:16 -0500 Original-Received: from mail-yw1-f179.google.com ([209.85.128.179]:49260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCK4t-0006W0-Sr for 72986@debbugs.gnu.org; Sat, 16 Nov 2024 09:47:14 -0500 Original-Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-6ea339a41f1so14498607b3.2 for <72986@debbugs.gnu.org>; Sat, 16 Nov 2024 06:47:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1731768371; x=1732373171; 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=RpvoFJJuGJ2Dmvdcv/5FDger7jyRd/Eedio3HPQ+8O8=; b=qMMrufPm2TjUbmLkjNfDSAHUBWfoQZ1tT8mvKDT3Zo/n3AyEOf8YlsYLZUvP1nKXmv B4TsEXwX+nPa3Wd24xYis0Hppu00g1/1fdPr6duFnY9SMucwSaiZk13ZCK64H8zG+T42 qRUuORjik0kmlTqPy8Wn2LSjoO5WBr3GYX8oI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731768371; x=1732373171; 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=RpvoFJJuGJ2Dmvdcv/5FDger7jyRd/Eedio3HPQ+8O8=; b=HjecwCFZrJqQW6tEVfuIqsOdPLT8ssihFP0dCKujwjTJQE9r4xiEh6c6qMb3CaVTjw DMft6cvFLd2K7nXZ0xMeQueIS6EaMa9UtvesfwNwhHmlKgN8yeVtobfMCsjW7QyYDspD pV22MA6LjBFDvixY1PxujA3yqY4T7bxK85Ww+WBc4InDHuEOWgzzpnPV+xD1QCereKAV WERGr3X/1nOSB8xM7u9HiKRpvoXDyhOU3XRyUzaVzfhDoxYEhZVTDrgqt+P/c2k+8IZV FiR75zIHUpeeF8BXavhvrRN4yDgJ+sXY+hxunhr4hCFKcNbOAGqliyF51fwpTiE2McXp XiJw== X-Forwarded-Encrypted: i=1; AJvYcCVqPmfQiS6LpPbkzwkDmCe1geE+jSZMfdK565eMs7/Zscxr7SQX+kpc2m06ftshZJ9lm6DteQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwRlRZzfADBp9fo/LHi03/+k61LgxmFbMJuVx4S9K25lxZG7K90 zlr7JQGLPs5pzBOkZQ6ScggjlG0xutCIcdL8dVs72iBOkx8CoJHOhjEY57GjPQ+EnGXqwvJKRNN UQNBwrrJ/p2VmF3U4/6p3lL/RjSovr7k71IH2pw== X-Google-Smtp-Source: AGHT+IF05i7dFAjvTdAvHIUz07/zY4cBrPmXI8VWSKf59yWX/YGzr820LPlr/PbVd+eGNSaq/d7iubaSzLkc/MBwxA4= X-Received: by 2002:a05:690c:311:b0:6ea:7e37:8cec with SMTP id 00721157ae682-6ee55a3b80bmr88502987b3.2.1731768370669; Sat, 16 Nov 2024 06:46:10 -0800 (PST) In-Reply-To: <8378b9a3-d739-4a39-b50f-45481812029d@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:295465 Archived-At: --000000000000914baa062708be0c Content-Type: text/plain; charset="UTF-8" On Sat, 16 Nov 2024 at 08:59, martin rudalics wrote: > > That sounds too good to be true. Let's try to take a step back. With a > pristine, unpatched emacs -Q, when you do C-x 5 2, the new frame opens > much smaller than the initial frame. With a patched emacs -Q, when you > do C-x 5 2, the new frame window opens just as large as the initial > frame. Is that description correct? > Yes. And you do not see a behavior where the new frame is very small > initially and only then resizes to the final appearance? And if you > turn off the menu bars, the new frame opens as large as the initial > frame minus the height of the menu bar? > Sorry, I had forgotten about the instantaneous resizing. So yes, with the patched Emacs, I get this resizing, if my eyes don't deceive me (it is very fast). And indeed, when I turn off menu bars, the second frame still opens small, even with the patch. If the answer to all these is yes, then what was the patch? Just that > recent one where I set the natural sizes in emacsgtkfixed.c to 800x600? > Or do you have applied some patch I sent earlier? > I am referring to your gtkutil-frame-2.diff of October 6th. So anyway, what I'm really trying to understand is just in simple terms what tests you'd like me to run next. -- https://rrt.sc3d.org --000000000000914baa062708be0c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, 16 Nov 2024 at 08:59, martin rudalics <rudalics@gmx.at> wrote:

That sounds too good to be true.=C2=A0 Let's try to take a step back.= =C2=A0 With a
pristine, unpatched emacs -Q, when you do C-x 5 2, the new frame opens
much smaller than the initial frame.=C2=A0 With a patched emacs -Q, when yo= u
do C-x 5 2, the new frame window opens just as large as the initial
frame.=C2=A0 Is that description correct?

Yes.

And you do not see a behavior where the new frame is very small
initially and only then resizes to the final appearance?=C2=A0 And if you turn off the menu bars, the new frame opens as large as the initial
frame minus the height of the menu bar?

Sorry, I had forgotten about the instantaneous resizing= . So yes, with the patched Emacs, I get this resizing, if my eyes don't= deceive me (it is very fast).

And indeed, when I turn off menu bars, the second frame still open= s small, even with the patch.

<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex"> If the answer to all these is yes, then what was the patch?=C2=A0 Just that=
recent one where I set the natural sizes in emacsgtkfixed.c to 800x600?
Or do you have applied some patch I sent earlier?

=
I am referring to your gtkutil-frame-2.diff o= f October 6th.
=C2=A0
So a= nyway, what I'm really trying to understand is just in simple terms wha= t tests you'd like me to run next.

= --
--000000000000914baa062708be0c--