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


View this message in rfc822 format

From: Jim Porter <jporterbugs <at> gmail.com>
To: Po Lu <luangruo <at> yahoo.com>, David Fiander <david <at> fiander.info>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 64809 <at> debbugs.gnu.org
Subject: bug#64809: 29.1; Initial frame is wrong size when dimensions specified in init file
Date: Mon, 24 Jul 2023 09:33:00 -0700
I see this issue too. I'm running GNU/Linux with the Cinnamon desktop 
environment (which is derived from GNOME 3).

> What happens if you set:
> 
>    (setq frame-resize-pixelwise t)
> 
> in your early-init.el?

This seems to help with the reduced test case, but not my full config 
(I'm not sure why yet).

> Thanks.  Does the problem still occur with a no-toolkit build (one with
> --with-x-toolkit=no?)

This seems to work, though the frame flashes back and forth between 
sizes a couple times before settling on the right size.

I found a related issue that might make this easier to diagnose: when I 
run the following in Emacs 28.2, it correctly sets the default face 
height for the current frame. With Emacs 29.1, it flashes for a second 
at the correct size, then reverts to the default:

emacs -Q --eval "(set-face-attribute 'default (selected-frame) :height 70)"




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.