From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#15398: 24.3; Frame redraw completely screwed Date: Wed, 09 Sep 2020 15:24:27 +0200 Message-ID: <87eenb9j78.fsf@gnus.org> References: <87txhktumy.fsf@betelheise.feelingofgreen.ru> <87txhknf5x.fsf@betelheise.feelingofgreen.ru> <83ioxzq5cd.fsf@gnu.org> <87ob7rno5b.fsf@betelheise.feelingofgreen.ru> <83y56uod9u.fsf@gnu.org> <87vc1xsusx.fsf@betelheise.feelingofgreen.ru> <83pps5mhjp.fsf@gnu.org> <523AB030.8040303@gmx.at> <877gecx3p2.fsf_-_@wintermute.ptsecurity.ru> <523BC3CE.5090509@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19126"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 15398@debbugs.gnu.org, Jan =?UTF-8?Q?Dj=C3=A4rv?= , Serge Kosyrev , Stefan Monnier , Samium Gromoff <_deepfire@feelingofgreen.ru> To: Dmitry Antipov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 09 15:26:11 2020 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 1kG070-0004qC-I0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Sep 2020 15:26:10 +0200 Original-Received: from localhost ([::1]:57130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kG06z-000692-JU for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Sep 2020 09:26:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kG06s-00065q-J9 for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2020 09:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46362) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kG06s-0004wl-9s for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2020 09:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kG06s-0001JW-72 for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2020 09:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Sep 2020 13:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15398 X-GNU-PR-Package: emacs Original-Received: via spool by 15398-submit@debbugs.gnu.org id=B15398.15996579034943 (code B ref 15398); Wed, 09 Sep 2020 13:26:02 +0000 Original-Received: (at 15398) by debbugs.gnu.org; 9 Sep 2020 13:25:03 +0000 Original-Received: from localhost ([127.0.0.1]:57902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG05u-0001Hf-S6 for submit@debbugs.gnu.org; Wed, 09 Sep 2020 09:25:03 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:54116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG05s-0001Gz-NB for 15398@debbugs.gnu.org; Wed, 09 Sep 2020 09:25:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=tOUpABilwFNjO4Ngg1IO1HQRd6EbbkIXYI7CE6+vTPo=; b=fEIkp7Lu553GNgnUBmLBR9bj1d pnBxPbVZAaW7214ue/2xOLn5T5vCN9sxpAoYAw5yHY4wLG5ScbesHZvYGj1QzvTNCB+naduOF6eA6 juE94gdNIZdI+v9WqujDLejY/vaTTK5B+iaB6nkCzjouzKZen5vW3URLaCg7Z8iF43yg=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kG05M-0002x3-W8; Wed, 09 Sep 2020 15:24:31 +0200 X-Now-Playing: Drew Daniel, John Wiese's _Continuous Hole_: "Un Mask" In-Reply-To: <523BC3CE.5090509@yandex.ru> (Dmitry Antipov's message of "Fri, 20 Sep 2013 07:41:02 +0400") 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:187651 Archived-At: Dmitry Antipov writes: >> I don't recall all the details, but I think the comment actually >> means "for GTK 2.6 and newer". > > Ugh. Reverted in r114402 (for visible frames; in general, I think > that it is possible to handle Expose events a bit more intelligently). If I'm skimming this thread correctly, this revert fixed the reported bug, so I'm closing this bug report. If there's more to be done here, please send a message to the debbugs address, and we'll reopen. Jan Dj=C3=A4rv writes: >> Yes, mixing Xlib and Gtk is ugly. But I would like to get your >> comments on this first >> (also I'm looking for brave testers). >>=20 >> Dmitry >>=20 >> > > This simply does not work. It assumes there is only one frame per > root window, which is wrong. > It assumes Emacs will get Unmap events when something obscuring it > goes away, this is wrong (other applications may cover Emacs and the > go away). > > Any optimization attempt in this area is futile, it will lead to > errors for a very small performance benefit. The time is better spent > into doing a proper double buffer solution. And I think Emacs got that in the years that followed? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no