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, 4 Oct 2024 16:23:35 +0100 Message-ID: References: <7c94c78e-5ffd-4a41-948a-8e1a2ccefb91@gmx.at> <4af02761-273f-41dd-b257-37c37ded0fb4@gmx.at> <9bbb10e9-208f-4d03-87f1-6e63ee293ed5@gmx.at> <4666bf6d-6259-4f72-a65d-56e2c47f98c0@gmx.at> <54072426-c373-420c-8343-29035fba25a6@gmx.at> <3d0a1e9a-5efc-4491-ab85-e3e58cb0f068@gmx.at> Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e77e410623a841d6" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4922"; 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 Oct 04 17:25:21 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 1swkBE-00013u-DN for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Oct 2024 17:25:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swkAv-0001ic-9r; Fri, 04 Oct 2024 11:25: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 1swkAt-0001i9-QC for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2024 11:24: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 1swkAt-0004BQ-Ha for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2024 11:24: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=gGwFFTI26FedYOojlahKGR3R0a6DlengqK0oto/8+ys=; b=IYUiGJJaH+A9zbkRn8wIGeAHwow0mV6gFfm32sDCn8IluQ8V70jBwvxOkuvxcDWm3tr/phVj4qGSBQMTDSn5OxVk/v5UlMHh/ydZwf6BrRa3iC7tduimHgQKCZ8vEcxlMAOreHTfoLqTp8R44EFV6bE61oj8Gyw4Xs+PzLlxsOAX+bK4tk6djqKLxp6jKEy222m6a5wU+9daKzB/ubmbekBqo8eKJvwo5VlLpeobTsx05HmCR5JCFkYRlGebxWnCuMhfYSpuJZCsx6uISa+zOxL8SMKZ6JhgZW/o5jjWrzI8BqmBYigDEKpmX29SxMPdDrM0OrV4ONpQls8gFn/iAw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1swkAw-0003x1-HO for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2024 11:25: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, 04 Oct 2024 15:25: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.172805549315163 (code B ref 72986); Fri, 04 Oct 2024 15:25:02 +0000 Original-Received: (at 72986) by debbugs.gnu.org; 4 Oct 2024 15:24:53 +0000 Original-Received: from localhost ([127.0.0.1]:36241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swkAn-0003wU-1u for submit@debbugs.gnu.org; Fri, 04 Oct 2024 11:24:53 -0400 Original-Received: from mail-yb1-f181.google.com ([209.85.219.181]:61582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swkAl-0003wN-Ke for 72986@debbugs.gnu.org; Fri, 04 Oct 2024 11:24:52 -0400 Original-Received: by mail-yb1-f181.google.com with SMTP id 3f1490d57ef6-e25ccd64be9so1964461276.2 for <72986@debbugs.gnu.org>; Fri, 04 Oct 2024 08:24:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1728055427; x=1728660227; 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=gGwFFTI26FedYOojlahKGR3R0a6DlengqK0oto/8+ys=; b=dAXNusZcwByyMJqh/H39qh2ldmaqacXg7ZzngWOPj0vqzo5+RgMmEvFdYJm37JV4kx hOyrenoSKyDXksLVpSZazI2+013IItKp4dN/mYIE3PMhEH+kb4IMjX169sNYaBT3jOrF l+asu3lBC4YpXDb/GpI0IO/h/yGcro2vHsQCU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728055427; x=1728660227; 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=gGwFFTI26FedYOojlahKGR3R0a6DlengqK0oto/8+ys=; b=g+sQT1WjqOoOeww4wJ6Ttr7K2TGwV1LzXblEGHGUuUFiFQPBQaBI4dcBojAr6svN75 9ua9N5zSQWQG0fgip1a62FK8Ln1gQCs2JYUKo5iSLUk6cgkN4wr2/jgpxT3oHoZkXx+3 kDUDfkdE23AskkngZY0uuHWzAmLuxHkVmzemhF2AaSPoygOET9iXaYciPxuFlUgcz2sE lj1OzuU/AaBvcCjy0PL/pqv+uZvGQctA0t38E/Rn8MblJ6DUYwioUetMOUEP3OtgLnvY OEa08vjSPis9th6xy7P6Iu9FLWXw0x0Dv8UTkdX2Uvtd/PDKAQk0cz0yyzd4vPZngibo Mj7w== X-Forwarded-Encrypted: i=1; AJvYcCUAtbMf27ElVx8N5IFc7CFrJxgwnFYAaOZzTUj3ebop/RqYpdf3dA4DcX6CJeQkI0eGjj6nyQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzRO5/3YTB/1K3hSt8csWdHjje6BSJQAczmgTDtBy/c/LWW9sfG irfNTsvltUfRvoolxMAlmoFgxcnrPkFSB6uML2JUSf/GSUYv8ZJk2wB2ogcOiPWNWidrEQO/rG7 KNDvNvDJXQ+O4SqLWjW4vV7dHdnkMPzQwNWkS0A== X-Google-Smtp-Source: AGHT+IFSsY5g3iXyGGbyiHfHKBXYFVrB3heVi6acNuypO3+TcaldXkPiDyYFk1Xg74i2EvO0xTHPcYSK847PdvBda4I= X-Received: by 2002:a05:690c:3143:b0:664:4b9c:3de with SMTP id 00721157ae682-6e2c726d631mr23843257b3.13.1728055427421; Fri, 04 Oct 2024 08:23:47 -0700 (PDT) In-Reply-To: <3d0a1e9a-5efc-4491-ab85-e3e58cb0f068@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:292972 Archived-At: --000000000000e77e410623a841d6 Content-Type: text/plain; charset="UTF-8" On Fri, 4 Oct 2024 at 16:01, martin rudalics wrote: > > ... and here we get the correct number of lines albeit with a surplus of > 12 pixels. How does that first frame without menu bar look to you? > Looks correct. Unlike some previous situations, where there were oddities (e.g. the frame was wider than the Emacs window, or the minibuf was cut off at the bottom), the frame seems to fit the contents perfectly. > This time I'll have to look into our code first - something is fishy. > > If there are any volunteers on GNOME who can apply a patch and check > whether they get the same either buggy or correct behavior, preferably > with a scaled screen, I'd be very, very grateful. > Good to see you're making progress! I can check on two different machines, for what it's worth, although with the same version of GNOME and same scale (but with different screen sizes). -- https://rrt.sc3d.org --000000000000e77e410623a841d6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, 4 Oct 2024 at 16:01, martin rudalics <rudalics@gmx.at> wrote:

... and here we get the correct number of lines albeit with a surplus of 12 pixels.=C2=A0 How does that first frame without menu bar look to you?

Looks correct. Unlike s= ome previous situations, where there were oddities (e.g. the frame was wide= r than the Emacs window, or the minibuf was cut off at the bottom), the fra= me seems to fit the contents perfectly.
=C2=A0
This time I'll have to l= ook into our code first - something is fishy.

If there are any volunteers on GNOME who can apply a patch and check
whether they get the same either buggy or correct behavior, preferably
with a scaled screen, I'd be very, very grateful.

Good to see you're making pr= ogress! I can check on two different machines, for what it's worth, alt= hough with the same version of GNOME and same scale (but with different scr= een sizes).

--
<= div dir=3D"ltr">https://= rrt.sc3d.org
--000000000000e77e410623a841d6--