From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#15398: 24.3; Frame redraw completely screwed Date: Fri, 20 Sep 2013 11:32:11 +0200 Message-ID: <7AFCA8AA-81E8-49DA-AFD9-FA1F91EBA664@swipnet.se> 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> <55618AAD-86FE-42A7-8179-D5F58C25171C@swipnet.se> <523C00AE.1020108@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1379669597 6738 80.91.229.3 (20 Sep 2013 09:33:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Sep 2013 09:33:17 +0000 (UTC) Cc: 15398@debbugs.gnu.org, Serge Kosyrev , Samium Gromoff <_deepfire@feelingofgreen.ru> To: Dmitry Antipov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 20 11:33:19 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VMx5S-0008Ic-84 for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Sep 2013 11:33:18 +0200 Original-Received: from localhost ([::1]:54848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMx5R-0001yT-BP for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Sep 2013 05:33:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMx5I-0001wl-BY for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2013 05:33:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMx5C-00021O-4q for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2013 05:33:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMx5C-00021K-2I for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2013 05:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VMx5B-0006cH-L4 for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2013 05:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Sep 2013 09:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15398 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15398-submit@debbugs.gnu.org id=B15398.137966953525371 (code B ref 15398); Fri, 20 Sep 2013 09:33:01 +0000 Original-Received: (at 15398) by debbugs.gnu.org; 20 Sep 2013 09:32:15 +0000 Original-Received: from localhost ([127.0.0.1]:50691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VMx4R-0006b9-Aa for submit@debbugs.gnu.org; Fri, 20 Sep 2013 05:32:15 -0400 Original-Received: from mail01.bdtv.se ([176.10.222.34]:55224) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1VMx4N-0006at-Ti for 15398@debbugs.gnu.org; Fri, 20 Sep 2013 05:32:13 -0400 Original-Received: (qmail 13288 invoked by uid 89); 20 Sep 2013 09:32:10 -0000 Original-Received: from h-46-59-42-57.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.57) by mail01.bdtv.se with ESMTPA; 20 Sep 2013 09:32:10 -0000 Original-Received: from [172.20.199.13] (unknown [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 2E0091A0075; Fri, 20 Sep 2013 09:32:10 +0000 (UTC) In-Reply-To: <523C00AE.1020108@yandex.ru> X-Mailer: Apple Mail (2.1510) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78606 Archived-At: Hello. 20 sep 2013 kl. 10:00 skrev Dmitry Antipov : > On 09/20/2013 10:47 AM, Jan Dj=E4rv wrote: >=20 >> 20 sep 2013 kl. 05:41 skrev Dmitry Antipov : >>=20 >>> On 09/19/2013 08:41 PM, Jan Dj=E4rv wrote: >>>=20 >>>> I don't recall all the details, but I think the comment actually = means "for GTK 2.6 and newer". >>>=20 >>> Ugh. Reverted in r114402 (for visible frames; in general, I think >>> that it is possible to handle Expose events a bit more = intelligently). >>=20 >> Not as long as we do pure X-calls on Gtk-widgets. >=20 > 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. Jan D.