GNU bug report logs - #46827
Broken initial size of GTK3 frame

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Sun, 28 Feb 2021 09:32:01 UTC

Severity: normal

Tags: fixed

Fixed in version 28.1

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: 46827 <at> debbugs.gnu.org
Subject: Re: bug#46827: Broken initial size of GTK3 frame
Date: Tue, 27 Apr 2021 10:23:08 +0200
tags 46827 fixed
close 46827 28.1
quit

> With a GTK3 build I start Emacs with the following initial file
> contents:
>
> (customize-set-variable
>   'default-frame-alist
>   '((cursor-color . "red3")
>     (width . 80)
>     (height . 32)))
>
> Here this results in a frame that is 36 lines high, has a root window of
> 31 lines and a minibuffer window of 1 line.  The remaining four lines at
> the bottom of the frame are (more or less) empty.

As Robert and Stephen have independently observed, this is a Heisenbug.
It's due to to the fact that WM notifications about new frame sizes may
be processed earlier or later.  I tried to fix that behavior in commit
a190b4cfd8b6f42a91678ac7292e1cceccd168e7 by having adjust_frame_size
pick up such notifications on the fly and am closing this bug.

Thanks, martin




This bug report was last modified 4 years and 11 days ago.

Previous Next


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