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: Po Lu <luangruo <at> yahoo.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 64809 <at> debbugs.gnu.org, David Fiander <david <at> fiander.info>
Subject: bug#64809: 29.1; Initial frame is wrong size when dimensions specified in init file
Date: Mon, 24 Jul 2023 20:05:58 +0800
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?
>
>> The frame created by pressing C-x 5 2 is the correct size.
>> 
>> ;;; -*- lexical-binding: t; coding: utf-8; -*-
>> 
>> (set-face-attribute 'default nil :family "Noto Sans Mono" :weight 
>> 'regular :height 160)
>> 
>> ;; (set-frame-height nil 26)
>> ;; (set-frame-width nil 90)
>> ;; (push '(height . 26) default-frame-alist)
>> ;; (push '(width . 90) default-frame-alist)
>
> Po Lu, any ideas?
>
> Did we change anything in this regard since Emacs 28?
>
> Thanks.

David, are you using KWin by any chance?  Along with a GTK+ build of
Emacs?




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

Previous Next


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