From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Problem with new frame not recognizing `default-frame-alist' width and height Date: Tue, 27 Feb 2024 12:14:13 +0200 Message-ID: <86y1b6tdsa.fsf@gnu.org> References: <87zfvmbnzi.fsf@gmail.com> <86v86ab9yb.fsf@p200300d627023ae90d6736c6a94e74f4.dip0.t-ipconnect.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1111"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 27 11:15:03 2024 Return-path: Envelope-to: geh-help-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 1reuUI-000AdB-SZ for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 27 Feb 2024 11:15:02 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1reuTb-0001Et-Ux; Tue, 27 Feb 2024 05:14:19 -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 1reuTa-0001EH-J3 for help-gnu-emacs@gnu.org; Tue, 27 Feb 2024 05:14:18 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1reuTa-0001uy-Au for help-gnu-emacs@gnu.org; Tue, 27 Feb 2024 05:14:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=xoYU9jW8p9t/2GL9XQ4a1qFQkkca4KbYx0/HaJKLzo0=; b=pbG8H2bT/UEhG5DBtSa/ 6Ct6VGDrxeKuADdNNtsuwh8loUVhxLFxZ0BJFPMy6RP7W/ukhzDbZTh+NZdOMSkjn30f/+KRNgjgH SrtVAp8MtX55feUX8EW/R2dytXboyTVMlWyjbUZtV6fBe80eMwX30WVBCS4oL1XM447EhRmrToq2c 2TXiOoVgbRvevXzBC3yVevcq/B4U8zKKIhEPvcmbLR+es0ewEQlwxECBQPLfqF/1YnVEic5sLIq9u XFUsNcofnY3Tx2kGdYZLkqYuiG56cM1I9sXEl/Xdd2VlXrzzikuFKDeRMLMYhqPywV/CrWDK8EtHG m28t154deWTcHw==; In-Reply-To: <86v86ab9yb.fsf@p200300d627023ae90d6736c6a94e74f4.dip0.t-ipconnect.de> (message from Joost Kremers on Tue, 27 Feb 2024 09:14:20 +0100) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145994 Archived-At: > From: Joost Kremers > Cc: help-gnu-emacs@gnu.org > Date: Tue, 27 Feb 2024 09:14:20 +0100 > > On Mon, Feb 26 2024, tpeplt wrote: > > The following problem seems like it is an error in Emacs that needs to > > be reported, but it ought to be so common that it would have been > > noticed already. Since it hasn’t, perhaps it is a user error with > > something I am overlooking. > > It's a bug! I've been noticing the same thing since I switched to Emacs 29.2, > but also figured it's probably user error. Since I don't often create a second > frame, it didn't bother me enough to investigate, but if it's happening to > others as well, it's probably a bug. > > > The problem is happening when running Emacs 29.2 on GNU/Linux running > > GNOME window manager. > > Yes, that's my setup as well. > > > In brief, the problem is that when a new frame is created, the new > > frame’s default width and height are both small, > > Yup. I actually never had any window size settings in my default-frame-alist, > but up until Emacs 28, the default width/height was fine. And if I start Emacs > by calling emacsclient, the frame that pops up is still that same size. But > creating a new frame with `C-x 5 2` produces a much smaller frame. Unusably > small, in fact. > > > 6. Try the ‘clone-frame’ command that was introduced in Emacs 28: Type > > C-x 5 c. The new frame does not clone the current frame’s width > > and height, but instead keeps the small 8x20 size as all other > > newly-created frames. > > Indeed. Note that if you clone a frame with the `fullscreen` frame parameter set > (to `maximized` in my case), cloning the frame yields another maximised frame. > > > Are other Emacs 28/29 users able to reproduce this problem? > > Emacs 29.2. I don't recall having this problem with Emacs 28, though I can't be > entirely sure. > > > If not, can you point to something erroneous that I am doing? > > I don't think there is anything you're doing wrong. > > Stefan Monnier suggested you report it as a bug, which is probably a good idea. Isn't this bug#67654? Are we talking about a GTK 3 build?