From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#46827: Broken initial size of GTK3 frame Date: Tue, 27 Apr 2021 10:23:08 +0200 Message-ID: References: <6caa020a-084c-e3f2-7a34-262f7127b21b@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4368"; mail-complaints-to="usenet@ciao.gmane.io" To: 46827@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 27 10:25:49 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lbJ2S-000103-QU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 10:25:48 +0200 Original-Received: from localhost ([::1]:54310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbJ2R-0003e6-UO for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 04:25:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbJ0m-0001zb-1s for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 04:24:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbJ0k-0007n7-CY for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 04:24:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbJ0k-0000AY-8R for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 04:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Apr 2021 08:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46827 X-GNU-PR-Package: emacs Original-Received: via spool by 46827-submit@debbugs.gnu.org id=B46827.1619511797591 (code B ref 46827); Tue, 27 Apr 2021 08:24:02 +0000 Original-Received: (at 46827) by debbugs.gnu.org; 27 Apr 2021 08:23:17 +0000 Original-Received: from localhost ([127.0.0.1]:48008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbJ01-00009S-7r for submit@debbugs.gnu.org; Tue, 27 Apr 2021 04:23:17 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:40595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbIzz-00009C-3x; Tue, 27 Apr 2021 04:23:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1619511789; bh=HfwKQMikrsxHTe/r04aD3uOK9k2v3A9rKzwYfHiBufU=; h=X-UI-Sender-Class:Subject:From:To:References:Date:In-Reply-To; b=jVVI/cx/xxB4ivfMwx43CRdZOVrUzrLK9upMUQ3qLs9vxbewbCh2oufQae02/kSWV Nb5/YTeXZ0SoM0F78BAxHEvGRk27H5hVQ6lB1J7fL5Kq/fUFHnnkCFbFjMrFvyBq6L VyK5prZQ5Wz9ae6sQVFTthPVwCFBK1V+79MGIfCY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([212.95.5.243]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MhD2Y-1l5q4F09xa-00eOXj; Tue, 27 Apr 2021 10:23:09 +0200 In-Reply-To: <6caa020a-084c-e3f2-7a34-262f7127b21b@gmx.at> Content-Language: en-US X-Provags-ID: V03:K1:983nQB2yQtKu4VwWLeghAc8AOt30vVKyL1i6DgF4YXZu1MV/B7Y f7HVHPXMRvk81PH4KNsQ0it4YaLqMdBH7Bw5XuF+sF/EL6pAini10rUMQp+IGMtKyEdUnSc GL3byvuysXH6wik7EsbzdTmzCpXMmuStmmeblX/v6HacnQwC0X926eKvvS1NDa4zn60iu1t kVD00F91XnPbSGOc6msGw== X-UI-Out-Filterresults: notjunk:1;V03:K0:rNmCz27PDKY=:4Wf0sJhVgrfwhtrUoY/STo cEtSgbbsU1IqC5/Hl4C58fr2GlqhW8nMlj8eTOX7PSuex+/fQg6fAR29zDQPe73v0kuh8H6kp bDmh5C9HzPApW8Ly6p/LqvAtHiiojNw+zHk9GNSeVJZ0mlCnI661epp7Ky0IGweENEJhuJ6hg UsXFrNohKnNATsUu8KaI3ye1WCnBDGmBNP9yZ5gEBcTDuNWcRnOaLRHAoyVYTZ6Pjh8EuDshW ncUxUQKY218XFwwb0WfcfK+O4aEyofdHFEd/1Roxco88PfKsppqd+PDM5gDRzLMu3log21z6O ioqKTzvuLXbIjT6ZTQ2/qpPbMIeVzoBCRDOqvS0e2SNzaMhs/Dgv5K8J04NlbgLkdYkrJP3o4 0TbBVvYa5wAZ/Si+ajhqDRq2kUOztT9s4XmJnp3Ud5t0Sca4o6t3MCnqF+S+PE0HVXJVi19Ab RCkjh00pe/YbODXSM3EO3db5X+2rkeUfgiW9ZKNae3+KjMS5KmrV3iVAUAMlteclwMEFvXPzP ODmtxR4oQl5KVES7DDLE4qAnFOKSFapEaNukiSZzkofKwes+NU2yteXshqUQO3q1/yYr8Unug bNKhSgJenrhlb3LKiHJRiJqpH0AarxkeZ9A3iUipNVJYVcVReNjAUNQ8My2FbE40LZ3oryyLp lnw9lDeNPPMEyX2t6XzBnX39Yun9US8MPUwBMKqBfBqEc76NQstrEBT5BRMC0S5kzbrwHwV9+ JyPX0kcppfwDh7AAgEndpwJEtZGrFevFy9uz88j8KSUYRcCEwJ6KPdO5v6ZciT/bbJdEh/K8 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:205006 Archived-At: 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