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 #31 received at 64809 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: David Fiander <david <at> fiander.info>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 64809 <at> debbugs.gnu.org
Subject: Re: bug#64809: 29.1; Initial frame is wrong size when dimensions
 specified in init file
Date: Tue, 25 Jul 2023 07:50:55 +0800
David Fiander <david <at> fiander.info> writes:

> The same "small window" behaviour.

Are you sure that the font size of the default face is being set before
the default frame is created?

>>> I'm using gtk+, but not pgtk. The window manager is XFCE.
>> Thanks.  Does the problem still occur with a no-toolkit build (one
>> with
>> --with-x-toolkit=no?)
>
> both with and with frame-resize-pixelwise, the window appears "full
> size", blinks to the small size, and the resizes correctly for the
> given font.

Because given this, I believe Emacs is attempting to constrain the pixel
size of the frame to its character width and height, as it does upon
each change to the default font.

This is intentional behavior that didn't always work correctly in Emacs
28.




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.