From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#46827: Broken initial size of GTK3 frame Date: Thu, 29 Apr 2021 19:13:30 +0300 Message-ID: <871ratp19y.fsf@linkov.net> References: <6caa020a-084c-e3f2-7a34-262f7127b21b@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38118"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 46827@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 29 19:11:10 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 1lcABx-0009pt-Rz for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Apr 2021 19:11:09 +0200 Original-Received: from localhost ([::1]:38580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcABv-0007eD-4j for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Apr 2021 13:11:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lc9aE-0000he-4N for bug-gnu-emacs@gnu.org; Thu, 29 Apr 2021 12:32:10 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lc9a6-0008Gz-KO for bug-gnu-emacs@gnu.org; Thu, 29 Apr 2021 12:32:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lc9a6-00031v-Hs for bug-gnu-emacs@gnu.org; Thu, 29 Apr 2021 12:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Apr 2021 16:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46827 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 46827-submit@debbugs.gnu.org id=B46827.161971387711582 (code B ref 46827); Thu, 29 Apr 2021 16:32:02 +0000 Original-Received: (at 46827) by debbugs.gnu.org; 29 Apr 2021 16:31:17 +0000 Original-Received: from localhost ([127.0.0.1]:56687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lc9ZN-00030k-Bg for submit@debbugs.gnu.org; Thu, 29 Apr 2021 12:31:17 -0400 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:30175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lc9ZI-00030G-Mf for 46827@debbugs.gnu.org; Thu, 29 Apr 2021 12:31:14 -0400 X-Originating-IP: 91.129.102.166 Original-Received: from mail.gandi.net (m91-129-102-166.cust.tele2.ee [91.129.102.166]) (Authenticated sender: juri@linkov.net) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 718E8240002; Thu, 29 Apr 2021 16:31:04 +0000 (UTC) In-Reply-To: (martin rudalics's message of "Tue, 27 Apr 2021 10:23:08 +0200") 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:205196 Archived-At: > 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. Unfortunately, this commit caused a regression: now there is distracting blinking of the frame that looks like the visual effect of visible-bell when it flashes the frame to represent a bell. This problem can be reproduced only in Gnus. With such configuration: (push '("\\`\\*Summary .*\\*\\'" . (display-buffer-in-tab (tab-name . "*Summary*"))) display-buffer-alist) opening a Gnus group in a new tab flashes the whole frame where empty space instead of the frame content is visible for a short time. This problem can't be reproduced with just creating a new tab, it only manifests in Gnus, maybe something in gnus-summary-read-group-1 with gnus-configure-windows forces frame redisplay or something like this. This problem doesn't exist without recent changes in a190b4cfd8.