From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#61667: 29.0.60; Failure to redisplay Date: Wed, 1 Mar 2023 03:25:05 +0200 Message-ID: <2b249c97-db63-34e1-80c2-0c898005e31f@yandex.ru> References: <04d7cb31-684c-07c0-ee7b-503514fc1a85@yandex.ru> <8716b41c9757d7e81bd2@heytings.org> <1dafb35c-657c-037f-8244-4568b4e22fcd@yandex.ru> <8716b41c9708333e6bdb@heytings.org> <6f161919-7ee4-e461-e688-797c76fa6d74@yandex.ru> <83fsatj57m.fsf@gnu.org> <83356sk4jk.fsf@gnu.org> <2d674d22-fe8c-b7a3-115f-515a8a37b7e5@yandex.ru> <831qmck3qt.fsf@gnu.org> <41c5671e-e9c3-33f3-6c9c-8a1a6fc527fb@yandex.ru> <83ttz8ils1.fsf@gnu.org> <8716b41c9716878d8cb9@heytings.org> <8716b41c97839d6a8b87@heytings.org> <7fee18a7-3307-b6de-1428-ae17d51c85af@yandex.ru> <9ac9271f1ee55a9b8bbf@heytings.org> <87a60y13ou.fsf@yahoo.com> <674e150e-fcbe-7d67-962e-214cfaec2ca0@yandex.ru> <875ybl1dii.fsf@yahoo.com> 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="16199"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Cc: 61667@debbugs.gnu.org, Gregory Heytings , Eli Zaretskii To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 01 02:26:23 2023 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 1pXBEd-00041b-O3 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Mar 2023 02:26:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXBEK-0000Mt-8Z; Tue, 28 Feb 2023 20:26:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXBEI-0000L6-GH for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 20:26:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXBEI-0000Ch-52 for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 20:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXBEH-0002io-K3 for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 20:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Mar 2023 01:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61667 X-GNU-PR-Package: emacs Original-Received: via spool by 61667-submit@debbugs.gnu.org id=B61667.167763391410406 (code B ref 61667); Wed, 01 Mar 2023 01:26:01 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 1 Mar 2023 01:25:14 +0000 Original-Received: from localhost ([127.0.0.1]:52249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXBDW-0002hm-DP for submit@debbugs.gnu.org; Tue, 28 Feb 2023 20:25:14 -0500 Original-Received: from mail-ed1-f42.google.com ([209.85.208.42]:33424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXBDV-0002hW-FD for 61667@debbugs.gnu.org; Tue, 28 Feb 2023 20:25:13 -0500 Original-Received: by mail-ed1-f42.google.com with SMTP id ck15so47959287edb.0 for <61667@debbugs.gnu.org>; Tue, 28 Feb 2023 17:25:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677633907; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=RINetoOHIIElswOqt1aPyvpNpuFJlGKyiPZOAn9g95o=; b=WxnyLNuRfp1bZt/1LIjkVXgn+JY8ouWQ+2/u/YNgzCQF0Un5N+i9/O7HPrF1h+xDsk 8cUSaPk7VH6WBquIkp+sEghqh46XYdzbpfyB997o6GMWPjWWHQ+41Bu0c1+FPjbiFuTS kDzSBFURqqU5wq6UuNC/cZCBx3hiKNMyVaQhXML2bTLpPQxhqHT7pjbmLAQj5M5vLiSV yC1CI7+m4xJaLdoyNRzAE4VC3xIAm/RqeisNeSjhNZUC5kkHvHvYbWuKaiv1+oXTxepA wGcgAUK92RHqCokm47yeovcQ27XtaLwGEW3KJvne8h13mFVH8eBRpEALP5D56QK7/G4G z1Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677633907; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RINetoOHIIElswOqt1aPyvpNpuFJlGKyiPZOAn9g95o=; b=Xr0Ep0/cguiyI9CoqEVF0F2qx7U0R10+gOYV+6qUxVgtiUT0xV+8SXlb2z9Ly5rV+m Hv8ansG466BYoksT/C09jUmjBGwDC8YMVyX+NykRKw7/LHn6x9tAL24QBXGn/jDZ19DS JIrX12tgvNEyW1sKRddnk9KWCxeK101wK6IURytO3fna2fL1lTYXp417MLPF+kabTHr0 7ur/IwVChr0dndLDRT8U20Z59SeAEhmwjY+sUzscCsZM199vKAM0BW6OnQv+YtAdlfCf XvTe/P1k6+A9j3huz6PLZon4//9be8PJ76yifnkAei+hBjupz9vJHBRUEcAbSIfb31s2 KY6A== X-Gm-Message-State: AO0yUKXEzSrXchOa397UmU/wnYgs1m1ai+JhTuCSydHeVjaX+FBN8Dsw l2Oa2U8VyDFUv6msSjJ3xw8= X-Google-Smtp-Source: AK7set8vSR2tJElm4f0NJJ3R52HfxGgB4B20TtfOtQaYDhFj+AsFCKiXtx/tsdhfanS6LiCFcTb5wA== X-Received: by 2002:a05:6402:16:b0:4ac:d42c:8bd8 with SMTP id d22-20020a056402001600b004acd42c8bd8mr5861962edu.9.1677633907365; Tue, 28 Feb 2023 17:25:07 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id a23-20020a50c317000000b004bc59951d6fsm37252edb.57.2023.02.28.17.25.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Feb 2023 17:25:06 -0800 (PST) Content-Language: en-US In-Reply-To: <875ybl1dii.fsf@yahoo.com> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257023 Archived-At: On 01/03/2023 03:11, Po Lu wrote: > Dmitry Gutov writes: > >> Why does constant frame-title-format fix this, though? > > Because presumably Mutter has no need to damage the title bar, which you > do see changing. > >> I have tried this with default config (double buffering on, >> undecorated off), and I don't see any delay between text insertion and >> frame title changes. 1 second pause, "Test 1" is inserted, the title >> changes (*), 1 second pause, "Test 2" is inserted, the title changes. >> >> That probably means I don't need to test the alternative configs, >> right? > > Yes, but that's odd. What if you run the entire test in an infinite loop? > Do you eventually notice a delay? Originally I ran the test a couple of dozen times (restating Emacs every try), like I do with the MRE scenario when testing different settings. Now I re-ran it with (dotimes (i 20) ...) twice, and didn't see the problem either. Not sure how infinite you want this loop to be, but the original scenarios would almost certainly have showed the problem several times over this many tries. >> (*) By default frame-title-format is eq to icon-title-format, so with >> 'emacs -Q' the title doesn't actually change on the first step. I > > The idea was to restore the original frame-title-format, yes; it was > supposed to be run in a loop as well. All right.