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: Sun, 8 Sep 2024 16:20:35 +0100 Message-ID: References: <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="00000000000051087606219d2f68" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28165"; 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 Sun Sep 08 17:22:13 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 1snJjv-00079B-Pr for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Sep 2024 17:22:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snJjl-000204-Ev; Sun, 08 Sep 2024 11:22: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 1snJjj-0001za-KK for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 11:21:59 -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 1snJjj-0003Rw-Bb for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 11:21:59 -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=DkYJPfDeF2eBw5niAVfk5lvUcGGvyX14FiU/lwRBq9I=; b=RZylF9gNHMmBLdYh8nPBh8+fkgLHIEb+gyi1k8apgvEZqy+PWBOY2NiAlsme8UIGTVVFwlxJ8J+etkZoMPgbFsHQkj7tTEagclB4STvIoN2dECwEQ4dUur3xdOIT4H5ZvnkmKrk76r9AoUyTpDdnrbQB5AavoAoMUgXY3aAd5zmSVm9+D7NiIFVIGOtAh9fBVcVCjXQxdnVYTZBiq9jMgR8HW7ZJ1AZsjZA+uqdHxbtg9VsA3szxYXu+iwv5ije0cFHdgLgAX7s7VSMjqnvUy5wgmqZwqY2RXpzDl9IJjX+P9WKkyNd4js9TroDG64iQ0RJraMbsI0T+EFh5l4KhOg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snJjl-0002bs-Iz for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 11:22: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: Sun, 08 Sep 2024 15:22: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.172580891810022 (code B ref 72986); Sun, 08 Sep 2024 15:22:01 +0000 Original-Received: (at 72986) by debbugs.gnu.org; 8 Sep 2024 15:21:58 +0000 Original-Received: from localhost ([127.0.0.1]:59895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snJji-0002ba-5P for submit@debbugs.gnu.org; Sun, 08 Sep 2024 11:21:58 -0400 Original-Received: from mail-yb1-f174.google.com ([209.85.219.174]:45190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snJjf-0002bN-M2 for 72986@debbugs.gnu.org; Sun, 08 Sep 2024 11:21:56 -0400 Original-Received: by mail-yb1-f174.google.com with SMTP id 3f1490d57ef6-e1a9e4fa5aaso3483181276.2 for <72986@debbugs.gnu.org>; Sun, 08 Sep 2024 08:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1725808848; x=1726413648; 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=DkYJPfDeF2eBw5niAVfk5lvUcGGvyX14FiU/lwRBq9I=; b=nVUJrodiBFUTLmA4l/+gTB8bAmgzaE9dv8/lKkEx2AR3V+cdLDx0chGyvw4PZdCvEG vhUnXTKGTikdocAPvAZrdBqGDyX5xwPVPlNh4BxSl5e7k7ekWwpTqJYRY0mfg9xkkOdH pJcCWFGTcSi0v3EAKpx6jKd9k04nmdTkEVlCg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725808848; x=1726413648; 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=DkYJPfDeF2eBw5niAVfk5lvUcGGvyX14FiU/lwRBq9I=; b=hMU5oOT1W0gDXDFMYFKx0LOL2DqV6mi/vKnuXJh5AlK4amAZvg4jpilJrs3e/2t3Bk UP5D0tRvyJbMahwZ3wRqIhKdJe495WMcc4BVM6hQdo2mmyVjCwWHtPFi9g4eoac3dvKo KNhtqi4yehc4XfAcLKOucnDdMJgW1mKywPaHLmYu+0a3JVn8nZrio8gqoYS2dr8KfgTS 1xg20od41SADRxaLEPrnUs9UwIPNrbLlg6GpnXb4tJsUbpXWwhgVlY304xICC+jlFOXM 76PivzjNucLXdaXvFHhruQpm1/3zx8w52fcvKhv8GrBEXHIFrs8lqf/roT6xX/vk9Cd5 P51Q== X-Forwarded-Encrypted: i=1; AJvYcCXg5xqGm7N52QYmdGY+jmk3PwOatSeykyyHbX40U0B6TNFbvCK2UClSMU4XlXScXhYt8mFxoA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzgFTPzbyiopPWoB6E/fmRVvQwNiUOncBEDb6Ow2yNNXckyNvku fE7dDTcDt7JyNXS9Xjhky421ZkxL4wQJNr8Tsxi61uJTpqF8GdRHMielP9YJSqRy1e8QWHLTB1f XG2ciws42KFQJ1UgMAFx+C1X1hApnKB5sjDh5uw== X-Google-Smtp-Source: AGHT+IGw8Kb37wv5CqvhujR6GasNCHXgdt852q5wTB2hnIDUwQXoNGLZY4rzJF62+60kF8PgnRem0Ei8mpXmzSFeD0Q= X-Received: by 2002:a05:690c:398:b0:6c8:7827:f271 with SMTP id 00721157ae682-6db44f13f79mr73781937b3.19.1725808847674; Sun, 08 Sep 2024 08:20:47 -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:291460 Archived-At: --00000000000051087606219d2f68 Content-Type: text/plain; charset="UTF-8" On Sun, 8 Sept 2024 at 15:21, martin rudalics wrote: > >> > >> Do you get an assertion failure already before the C-x 5 2? > > > > No. > > Thanks. Did you ever get an assertion failure for the original frame? > I don't think so, no. If not, then we should try to understand why not. Please with pristine > master replace the initial assignment of 'frame-size-history' in frame.c > from > > frame_size_history = Qnil; > > to > > frame_size_history = Fcons (make_fixnum (100), Qnil); > > start Emacs -Q and tell me the contents of the *frame-size-history* > buffer. There isn't one. > Can you try not using any scaling experimentally? Jan always complained > that GTK does not handle scaling orderly (that is, in our sense). > I changed scaling to 100%, and it doesn't make any difference. Thanks for the explanations of the other points. -- https://rrt.sc3d.org --00000000000051087606219d2f68 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, 8 Sept 2024 at 15:21, martin rudalics <rudalics@gmx.at> wrote:
=C2=A0>>
=C2=A0>> Do you get an assertion failure already before the C-x 5 2?<= br>=C2=A0>
=C2=A0> No.

Thanks.=C2=A0 Did you ever get an assertion failure for the original frame?=

I don't think s= o, no.

If not, then we should try to understand why not.=C2=A0 Please with pristin= e
master replace the initial assignment of 'frame-size-history' in fr= ame.c
from

=C2=A0 =C2=A0frame_size_history =3D Qnil;

to

=C2=A0 =C2=A0frame_size_history =3D Fcons (make_= fixnum (100), Qnil);

start Emacs -Q and tell me the contents of the *frame-size-history*
buffer.

There isn't = one.
=C2=A0
Can you try not using any scaling experimentally?=C2=A0 Jan always complain= ed
that GTK does not handle scaling orderly (that is, in our sense).

I changed scaling to 100%, an= d it doesn't make any difference.

Thanks for the explanations of the other points.

--
--00000000000051087606219d2f68--