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: David Fiander <david <at> fiander.info>
To: Po Lu <luangruo <at> yahoo.com>
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 08:55:49 -0500

On 2023-07-24 08:27, Po Lu wrote:
> David Fiander <david <at> fiander.info> writes:
> 
>> On 2023-07-24 07:05, Po Lu wrote:
>>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>>
>>>>> Date: Sun, 23 Jul 2023 15:02:45 -0500
>>>>> From: David Fiander <david <at> fiander.info>
>>>>>
>>>>> Using the below init file, and running emacs from the command line, the
>>>>> initial frame seems to appear with the correct size but then shrinks
>>>>> down.
>>>>
>>>> Shrinks down to what size?
>>
>> When I resize the window, the emacs tooltip says that it's
>> 89x25. xwininfo says that it's 752x504 pixels. The characters
>> displayed in the window are the same size as when I run 28.2. See the
>> attached screenshot.
>>
>> When I use the same init file with emacs 28.2, the emacs tooltip also
>> says 89x25, but xwininfo reports that it is 1215x824 pixels
> 
> What happens if you set:
> 
>    (setq frame-resize-pixelwise t)
> 
> in your early-init.el?

The same "small window" behaviour.
> 
>> 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.




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.