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: Fri, 24 Feb 2023 15:32:19 +0200 Message-ID: <3682475d-b7ca-d6fd-c492-4417b7596602@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> <51980b63-8387-3a25-8b08-ec26e656cebd@yandex.ru> <87r0ug5xu5.fsf@yahoo.com> <87edqf6fpm.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="34436"; 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 , gregory@heytings.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 24 14:33:43 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 1pVYCk-0008qR-Kw for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Feb 2023 14:33:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVYCL-0008GS-6v; Fri, 24 Feb 2023 08:33:17 -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 1pVYC8-0008Ee-KH for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2023 08:33: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 1pVYC6-0001nX-Mz for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2023 08:33:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVYC6-00062E-HY for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2023 08:33: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: Fri, 24 Feb 2023 13:33: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.167724554923142 (code B ref 61667); Fri, 24 Feb 2023 13:33:02 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 24 Feb 2023 13:32:29 +0000 Original-Received: from localhost ([127.0.0.1]:36303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVYBY-00061C-Qi for submit@debbugs.gnu.org; Fri, 24 Feb 2023 08:32:29 -0500 Original-Received: from mail-wr1-f51.google.com ([209.85.221.51]:43658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVYBX-00060z-34 for 61667@debbugs.gnu.org; Fri, 24 Feb 2023 08:32:27 -0500 Original-Received: by mail-wr1-f51.google.com with SMTP id l1so13644254wry.10 for <61667@debbugs.gnu.org>; Fri, 24 Feb 2023 05:32:27 -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=CY+73K0dCdyerrijgHTpwTKaNLYd38X94gxHTzBhCww=; b=Ne/9z85Ga9+FN0TAiW8kA3S9gqZy7C5YpXevS4FCRcoz4oFxV1yxFXvZ1Mks2+UN1Y pa2ED16r3bM9RgJn17SOzVQXf2/6fIDU9FAowMoubPvLhbs/JSEE+shMXmh34OH4nMz0 Ng40ysjiwxICkfGiKu1wL8RFfSAEFw5l8nlEQrcK/Olct61Ark5YQGa/MjoeUnW1zAxf MnXMpJxibikJgQizLMyBn+BrWZUWdV9/vaGi9AgqdmD/xO7KAgdByh3Skw69fIp8Lbc6 nYd6aYOnKmgXGtCiBeL9x9iIGFOzGondjdAGADG4uFOG72ZeJZ+UCg3M1/FbfbNz+Mnh NUlQ== 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=CY+73K0dCdyerrijgHTpwTKaNLYd38X94gxHTzBhCww=; b=WsZPdf7+CUMjkhKqkiWrSurp8SNdRfW3lo6Zjc8C4Bz+yJDi+NvU/LykaAkxiZ3egC PV0f76KokQW+FGNC6AFmFJTp02DSXkrotebvhfo91tIO5+azLKVUmLSP2Pa1ZGSK3lXR cyF8LUMyfQeLmrue6maTasRU+rWlUmUrVPZyorCX+/TV50JopwOUtJQ5xcX/8p8vSTxJ tLgLyjsKyjy6uxCqFsDwbYLNbl2h8MG942yttYdMa9aLuvb5qO6d/pn2ozefv1SgdsrU rHC0T18ILAeT9Gmiot9c/qaxAxw2X/LMzsVrkEarsUWo465Z+eCLFip4VNCd02xQY2tI 3aWg== X-Gm-Message-State: AO0yUKUg36v/ml1zFfXwituqrnyfP0DzRNiD8B6Uldj9pdyKs8WEq4f4 wNLqSdTpW7JgRe6k0WRFA+U= X-Google-Smtp-Source: AK7set+q1rJ0zvQ4uj0NGVodrtVQvpKYW8zlwKY5uJHydiHcscZzJ6+JENOBfozQs+RAvqbZZq+32w== X-Received: by 2002:a5d:610e:0:b0:2c3:ea86:974e with SMTP id v14-20020a5d610e000000b002c3ea86974emr15841671wrt.46.1677245541214; Fri, 24 Feb 2023 05:32:21 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id b17-20020a5d6351000000b002c70a68111asm7538760wrw.83.2023.02.24.05.32.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Feb 2023 05:32:20 -0800 (PST) Content-Language: en-US In-Reply-To: <87edqf6fpm.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:256592 Archived-At: On 24/02/2023 02:59, Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > The easy thing to do is to place a window containing changing content > (such as an animation or image) behind Emacs, apply the following > change: > > diff --git a/src/xterm.c b/src/xterm.c > index 5e6378db30d..8459dd33297 100644 > --- a/src/xterm.c > +++ b/src/xterm.c > @@ -5222,37 +5222,37 @@ x_update_opaque_region (struct frame *f, XEvent *configure) > if (!FRAME_DISPLAY_INFO (f)->alpha_bits) > return; > > - if (f->alpha_background < 1.0) > + /* if (f->alpha_background < 1.0) */ > XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), > FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, > XA_CARDINAL, 32, PropModeReplace, > NULL, 0); > -#ifndef HAVE_GTK3 > - else > - XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), > - FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, > - XA_CARDINAL, 32, PropModeReplace, > - (unsigned char *) &opaque_region, 4); > -#else > - else if (FRAME_TOOLTIP_P (f)) > - XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), > - FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, > - XA_CARDINAL, 32, PropModeReplace, > - (unsigned char *) &opaque_region, 4); > - else > - { > - /* This causes child frames to not update correctly for an > - unknown reason. (bug#55779) */ > - if (!FRAME_PARENT_FRAME (f)) > - { > - object_class = G_OBJECT_GET_CLASS (FRAME_GTK_OUTER_WIDGET (f)); > - class = GTK_WIDGET_CLASS (object_class); > - > - if (class->style_updated) > - class->style_updated (FRAME_GTK_OUTER_WIDGET (f)); > - } > - } > -#endif > +/* #ifndef HAVE_GTK3 */ > +/* else */ > +/* XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), */ > +/* FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, */ > +/* XA_CARDINAL, 32, PropModeReplace, */ > +/* (unsigned char *) &opaque_region, 4); */ > +/* #else */ > +/* else if (FRAME_TOOLTIP_P (f)) */ > +/* XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), */ > +/* FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, */ > +/* XA_CARDINAL, 32, PropModeReplace, */ > +/* (unsigned char *) &opaque_region, 4); */ > +/* else */ > +/* { */ > +/* /\* This causes child frames to not update correctly for an */ > +/* unknown reason. (bug#55779) *\/ */ > +/* if (!FRAME_PARENT_FRAME (f)) */ > +/* { */ > +/* object_class = G_OBJECT_GET_CLASS (FRAME_GTK_OUTER_WIDGET (f)); */ > +/* class = GTK_WIDGET_CLASS (object_class); */ > + > +/* if (class->style_updated) */ > +/* class->style_updated (FRAME_GTK_OUTER_WIDGET (f)); */ > +/* } */ > +/* } */ > +/* #endif */ > } > > and see whether or not the problem can still be reproduced that way. Okay, I've tried this one now, and the problem still reproduces. For the background window I tried both 'xclock -update 1' and 'xclock -update 0.001', made no difference. The Emacs window didn't look any different, though (not sure if it was supposed to look more transparent).