GNU bug report logs - #15398
24.3; Frame redraw completely screwed

Previous Next

Package: emacs;

Reported by: Samium Gromoff <_deepfire <at> feelingofgreen.ru>

Date: Mon, 16 Sep 2013 20:32:01 UTC

Severity: normal

Found in version 24.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #92 received at 15398 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Dmitry Antipov <dmantipov <at> yandex.ru>
Cc: 15398 <at> debbugs.gnu.org, Samium Gromoff <_deepfire <at> feelingofgreen.ru>,
 Serge Kosyrev <skosyrev <at> ptsecurity.ru>,
 Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Subject: Re: bug#15398: 24.3; Frame redraw completely screwed
Date: Fri, 20 Sep 2013 11:32:11 +0200
Hello.

20 sep 2013 kl. 10:00 skrev Dmitry Antipov <dmantipov <at> yandex.ru>:

> On 09/20/2013 10:47 AM, Jan Djärv wrote:
> 
>> 20 sep 2013 kl. 05:41 skrev Dmitry Antipov <dmantipov <at> yandex.ru>:
>> 
>>> On 09/19/2013 08:41 PM, Jan Djärv wrote:
>>> 
>>>> 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).
>> 
>> Not as long as we do pure X-calls on Gtk-widgets.
> 
> 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).
> 
> Dmitry
> 
> <gtk_clear_expose.patch>


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.





This bug report was last modified 4 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.