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: Tue, 28 Feb 2023 19:59:24 +0200 Message-ID: <674e150e-fcbe-7d67-962e-214cfaec2ca0@yandex.ru> References: <04d7cb31-684c-07c0-ee7b-503514fc1a85@yandex.ru> <8716b41c97734e78145e@heytings.org> <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> 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="1443"; 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, Eli Zaretskii To: Po Lu , Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 28 19:00:37 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 1pX4HE-000086-2y for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Feb 2023 19:00:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pX4Gr-0007Yg-2p; Tue, 28 Feb 2023 13:00:13 -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 1pX4Gk-0007XX-Es for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 13:00:09 -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 1pX4Gg-0005I6-ND for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 13:00:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pX4Gg-0007QI-Ic for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 13:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Feb 2023 18:00:02 +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.167760717528463 (code B ref 61667); Tue, 28 Feb 2023 18:00:02 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 28 Feb 2023 17:59:35 +0000 Original-Received: from localhost ([127.0.0.1]:51963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX4GF-0007P0-5p for submit@debbugs.gnu.org; Tue, 28 Feb 2023 12:59:35 -0500 Original-Received: from mail-ed1-f42.google.com ([209.85.208.42]:46635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX4GD-0007On-BV for 61667@debbugs.gnu.org; Tue, 28 Feb 2023 12:59:33 -0500 Original-Received: by mail-ed1-f42.google.com with SMTP id o15so41023794edr.13 for <61667@debbugs.gnu.org>; Tue, 28 Feb 2023 09:59:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=U8mqznu/C7+k29Eauo1tfGZ5kSC4LSmJzszzZX8AMcI=; b=A07ZksFusxyR2NxOWHYyx6e8RXL8Q/nwPtR8B8Jitojk4ZZwab/Pn5jAq1xDm2aEdk 08DhB5aepCoyozHka/77vi/2KbDXAb61A4LecP3igMLfGDDAjQaEGy8I1yxQ7p+yx2ie Zz/DXXqxJ6eeayGsPw4f+AiY4/pWezD2lgia1BdbiCuU6FZ04emBvojlQLTMe2ieTrQj ji+T4EWaK+stOxD18FNgzWl4onxqCu7ebfaTCLfjXn4kPpTl8JEscqmMod7f+YfDMNi1 O9ejXeYpH6l2gci1I57RxHlFX4qK1fsEaPPZ70h8yfIhsjX0LmFJlTSY/2Yg/y9cdTjO CwaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=U8mqznu/C7+k29Eauo1tfGZ5kSC4LSmJzszzZX8AMcI=; b=Fi2Wub3ZKpUwtmzEgyjHIdwIYHkj13b5PGIyg/pHry5DTKL64kP5QYuEWttmn5PZr1 KqIZdeX09+FcuRzbprZYka3QF/o58os4MveToDSsrJ/gjiJ+q9lo2Zsl8AitdMft/bUJ +lZTqqaPlcFGDMfQsdw9kTTDjADmM5Tpouj+tlVQm09xCycr4UrJznp7ViETb61RSyup hydkscZ1XjRFOcKB3LKXcN84zTjhYVL8SJ8a6V5UsSQqZ6iDtofsbDOV2Sk9FWZ6b+PH KhfiO8d50FdL4lNN5RqYL7aHqaD3HGA/6JwWqAvCGvxYEqTpAxb6sUXjHpw65YChL0Yx Gkjg== X-Gm-Message-State: AO0yUKUh7irNkGnPtrGPR/SOP6Rod+cUXcJrkpvdim55tnKadgLHNXBU n2BnR3g/UoIEmM8zNmI+bkI= X-Google-Smtp-Source: AK7set/vlI2V0gjYneV2jIgiwVxZEdOdRFbNVQz9lPvT3V5J6aDB5+p5C2S3s2CsqQ3eL5bsLKlLng== X-Received: by 2002:a17:906:6a09:b0:8aa:a9fe:a3fc with SMTP id qw9-20020a1709066a0900b008aaa9fea3fcmr4532168ejc.8.1677607167218; Tue, 28 Feb 2023 09:59:27 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id 26-20020a50875a000000b004a21c9facd5sm4654990edv.67.2023.02.28.09.59.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Feb 2023 09:59:26 -0800 (PST) Content-Language: en-US In-Reply-To: <87a60y13ou.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:257001 Archived-At: On 28/02/2023 12:31, Po Lu wrote: > Gregory Heytings writes: > >> Thanks! After seeing this, I'm now convinced that the problem is not >> a GNOME one, for two reasons: >> >> 1. The effect of (insert "!") (redisplay) is immediately visible on >> screen. Why would GNOME treat the effect of changing the buffer from >> *scratch* to xassociations.rb differently? > > If you insert "!", the frame title does not change, right? "!" is inserted in the same buffer the command is invoked from - so the title shouldn't change at that point yet. > Everything points to this being a bug somewhere in Mutter: how damage to > surrounding windows (including obscured ones) prevents it from showing > up, and how it doesn't show up in an undecorated frame. Why does constant frame-title-format fix this, though? > Dimitry, do you see any delay between the change in the frame title and > when ``Test 2'' becomes visible? With and without double buffering, and > with and without `undecorated' set to `t'? > > (progn > (sleep-for 1) > (setq frame-title-format icon-title-format) > (insert "Test 1") > (force-mode-line-update) > (redisplay) > (sleep-for 1) > (setq frame-title-format "test title") > (insert "Test 2") > (force-mode-line-update) > (redisplay)) 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? (*) 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 tried both this scenario and the scenario with swapped frame-title-format assignments. In both the second insertion of "Test 2" coincides with the title change to "test title".