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: Thu, 23 Feb 2023 14:00:25 +0200 Message-ID: <51980b63-8387-3a25-8b08-ec26e656cebd@yandex.ru> References: <04d7cb31-684c-07c0-ee7b-503514fc1a85@yandex.ru> <87a617eanz.fsf@yahoo.com> <4306cb76-a44c-3101-e43c-fd64afae4a51@yandex.ru> <871qmje2ws.fsf@yahoo.com> <83edqjtbss.fsf@gnu.org> <4e5e2a46-9b07-206a-6774-9f98f34cbd14@yandex.ru> <83y1orrolh.fsf@gnu.org> <83sfeyswdw.fsf@gnu.org> <877cwactgv.fsf@yahoo.com> <83mt55sxli.fsf@gnu.org> <8afe34f2-eeea-3be8-82ef-576a115beb6d@yandex.ru> <83ilfsrj4z.fsf@gnu.org> <871qmgoh08.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="21778"; 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.org To: Po Lu , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 23 13:01:10 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 1pVAHe-0005Rs-8O for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Feb 2023 13:01:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVAHY-0006RB-R4; Thu, 23 Feb 2023 07:01: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 1pVAHW-0006Qz-LX for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 07:01: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 1pVAHW-00064e-AJ for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 07:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVAHW-0000Kw-5M for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 07:01: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: Thu, 23 Feb 2023 12:01: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.16771536381251 (code B ref 61667); Thu, 23 Feb 2023 12:01:02 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 23 Feb 2023 12:00:38 +0000 Original-Received: from localhost ([127.0.0.1]:33227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVAH7-0000K6-RW for submit@debbugs.gnu.org; Thu, 23 Feb 2023 07:00:38 -0500 Original-Received: from mail-wm1-f44.google.com ([209.85.128.44]:55992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVAH5-0000Jt-Ft for 61667@debbugs.gnu.org; Thu, 23 Feb 2023 07:00:36 -0500 Original-Received: by mail-wm1-f44.google.com with SMTP id p16so6427965wmq.5 for <61667@debbugs.gnu.org>; Thu, 23 Feb 2023 04:00:35 -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:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=mS3inEJ8OM1GS1314LVBrhjFsOAJVyHJr8VZG2Qnycw=; b=O59Jqu22+C8T7vNyETtvm9ear9iodRw4pgmUJqLIFs8qJ+ExiPlrAUghjyMWlOoseS cOmRiriKbDxdnQMCfh8/zHdDzsSgB7GelBdBDfxP5/PpC5USQ57rzQGw8oojMG1GHpnK 8QgTaiPF/f4NeqvNV+HczHYjvcZpJgO1DJYsZqyKy69jKLKFgAyRTO+TdLxKQ4GQRdeq ioQG1P5j1QM6xUnLOzc1fTIXjuadFxfgXpXPD2frqU2zPwr9LMZqPGmgWYK13Qw3F7+F GUSBkLgcNJvcyVxndvXRZory+5XpZp8srlWTWdzCmVy/qTSA/P0HWlz+biTPthH8Tmdr Er9Q== 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:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mS3inEJ8OM1GS1314LVBrhjFsOAJVyHJr8VZG2Qnycw=; b=kHOy/d9k9jdFj9DtRHLmW7Dp/7hVUITbP7fbDziMs7a7Xbdn29XIDQ8Q+Hkk7n2Ecm Z1+KNTgc7Ot7qYu6b3/FPp5g2O1WGvQjkqjHPncOwNcI1f+JHFyM997Tu2/vtAN7/pHg SzGoDIJCwkG3uDCgIUuXh5ZEWD1xXzE2y+dOw2UAVGNb+iUY4ClAbGK772h3tbrsxxoE z1iN84rtHYD2rdN9ydljG0aD3iq/yKKTvOOpW/LUFQLXzf/r1UnawNcD0DIqpRH34nti XJrYOjEOSCnKJOHV0mSEpdHuVcgJmDtN0kDLep/iASNYlh/d0OKWtD7lF3BYZux5U1rn 5WBw== X-Gm-Message-State: AO0yUKUka3PpeMeHsUSKE7iOdtiKLb8XiVmy4kzRjiz6+EPHyyfUYKEY a/tArwMZhXkYOjhqT/Lp2iI= X-Google-Smtp-Source: AK7set/FnvVBQY5muTj0IWu3RdLOJQSjYjSL23cvOkBE/KCd+uD9simiWI39jcfP28eIGQpGdh8xvw== X-Received: by 2002:a05:600c:43ca:b0:3df:d8c5:ec18 with SMTP id f10-20020a05600c43ca00b003dfd8c5ec18mr3034217wmn.13.1677153628665; Thu, 23 Feb 2023 04:00:28 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id s17-20020a5d4ed1000000b002c4084d3472sm6857449wrv.58.2023.02.23.04.00.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Feb 2023 04:00:28 -0800 (PST) Content-Language: en-US In-Reply-To: <871qmgoh08.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:256447 Archived-At: On 23/02/2023 11:41, Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > Eli Zaretskii writes: > >> Something related to GTK or Glib threads, perhaps? Or some change in >> XDBE? > That shouldn't happen: we make the relevant X requests directly, and the > DBE implementation in the X.Org server dates back to the sample server > implementation, which has not changed since the late 90s. Most of all I'm worried that this is some kind of bug in GNOME, which I don't have a lot of alternatives to. >> Anyway, if this was not caused by a change in Emacs, we should >> continue the current course of actions, which is to figure out why the >> display on the glass is not updated. > Yes, please. Here's another stab: > > diff --git a/src/xterm.c b/src/xterm.c > index 5feaa4aef0f..cf093aa6381 100644 > --- a/src/xterm.c > +++ b/src/xterm.c > @@ -7463,6 +7463,8 @@ x_flip_and_flush (struct frame *f) > && !FRAME_TOOLTIP_P (f)) > return; > > + return; > + > block_input (); > #ifdef HAVE_XDBE > if (FRAME_X_NEED_BUFFER_FLIP (f)) > @@ -7518,9 +7520,7 @@ XTframe_up_to_date (struct frame *f) > FRAME_MOUSE_UPDATE (f); > > #ifdef HAVE_XDBE > - if (!buffer_flipping_blocked_p () > - && FRAME_X_NEED_BUFFER_FLIP (f)) > - show_back_buffer (f); > + show_back_buffer (f); > > /* The frame is now complete, as its contents have been drawn. */ > FRAME_X_COMPLETE_P (f) = true; > > Please tell whether or not this makes the problem go away. Thanks. It does not: the problem is still there.