GNU bug report logs - #64809
29.1; Initial frame is wrong size when dimensions specified in init file

Previous Next

Package: emacs;

Reported by: David Fiander <david <at> fiander.info>

Date: Sun, 23 Jul 2023 20:04:01 UTC

Severity: normal

Merged with 64812

Found in version 29.1

Full log


Message #10 received at control <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: 64812 <at> debbugs.gnu.org
Subject: Re: bug#64812: 29.1;
 Setting the default face height on startup only sometimes resizes the
 frame
Date: Mon, 24 Jul 2023 14:29:11 +0300
merge 64812 64809
thanks

> Date: Sun, 23 Jul 2023 13:36:30 -0700
> From: Jim Porter <jporterbugs <at> gmail.com>
> 
> Normally, when starting Emacs and setting the default face size, Emacs 
> will resize the frame so it still has the same number of columns. On 
> 29.1, this sometimes works that way, but other times the frame pops back 
> to its original pixel size. To see this in action, try running the 
> following:
> 
> emacs -Q --eval "(progn (tool-bar-mode -1) (menu-bar-mode -1) 
> (set-face-attribute 'default nil :height 90))"
> 
> You might need to try this a few times before the bug happens. (The 
> 'tool-bar-mode' and 'menu-bar-mode' calls above might not be strictly 
> necessary, but they seem to make the issue happen more frequently for 
> me.) Even when it does work, I notice that the frame's size bounces back 
> and forth a couple of times before settling.
> 
> When I test this on 28.2, the frame starts out at its initial size, and 
> then shrinks exactly once to the new, slightly smaller size.
> 
> I'm seeing this on a GNU/Linux system using X with the default 
> configuration, building revision 906ecf442c43da98e6b8c7488f549691901690e9.
> 
> (Sorry for only noticing this when testing the release candidate; I 
> normally run the development version of Emacs in a terminal, so I didn't 
> encounter this issue until doing some final tests of the RC. It's also 
> possible there's just something messed up on my system, though Emacs 
> 28.2 does behave properly...)

This is a duplicate; merged.




This bug report was last modified 1 year and 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.