From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: [Stephen.Berman@gmx.net: Re: redisplay] Date: Tue, 24 Apr 2007 07:50:17 +0900 (JST) Message-ID: <20070424.075017.71197070.mituharu@math.s.chiba-u.ac.jp> References: <87mz0z5dux.fsf@stupidchicken.com> <462D059B.7020001@swipnet.se> <87d51u211n.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1177368629 1566 80.91.229.12 (23 Apr 2007 22:50:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2007 22:50:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 24 00:50:27 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hg7MZ-00017D-83 for ged-emacs-devel@m.gmane.org; Tue, 24 Apr 2007 00:50:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg7S0-0000Ay-Kp for ged-emacs-devel@m.gmane.org; Mon, 23 Apr 2007 18:56:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hg7Rx-0000At-Tm for emacs-devel@gnu.org; Mon, 23 Apr 2007 18:56:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hg7Rw-0000AU-IY for emacs-devel@gnu.org; Mon, 23 Apr 2007 18:56:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg7Rw-0000AR-DW for emacs-devel@gnu.org; Mon, 23 Apr 2007 18:56:00 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hg7MU-0007x6-12 for emacs-devel@gnu.org; Mon, 23 Apr 2007 18:50:22 -0400 Original-Received: from localhost (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 409902C40 for ; Tue, 24 Apr 2007 07:50:18 +0900 (JST) In-Reply-To: <87d51u211n.fsf@escher.local.home> X-Mailer: Mew version 3.3 on Emacs 22.0 / Mule 5.0 (SAKAKI) X-detected-kernel: NetBSD 3.0 (DF) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69881 Archived-At: >>>>> On Tue, 24 Apr 2007 00:12:04 +0200, Stephen Berman said: > When I first tested, I got consistent results, but after reading > your post I tried it again, both with -Q and with my > initializations, and now found the results to be inconsistent, i.e., > sometimes I got a fully redrawn frame and sometimes a blank frame > (though when it was blank, moving the dialog frame did not cause > redrawing of the blank frame), regardless of how I evalled the sexp. Recently I observed a possibly related issue while experimenting with "compositing windows" on Mac Carbon port. Compositing window mode means all the drawing operations must be done in response to "expose" (kEventControlDraw) events, and other drawing operations are converted to making dirty the drawn area instead of real drawings. To make things work, expose_frame must correctly draw the contents most of the time. But with the experiment of compositing windows, I observe that is not always the case even if !FRAME_GARBARGED_P(f) && updated_window != NULL. It seems to fail to do so after the current matrix is updated with try_window_reusing_current_matrix under a certain condition, but I haven't figured it out yet. I guess the problem with redrawing frames under dialog are related with the above issue and only GTK+-build users notice this because it clears the exposed area before calling expose_frame (compositing window on Mac also does so automatically). YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp