From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Emacs GTK scroll-bar flickering Date: Wed, 26 Mar 2003 19:17:59 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3E81EED7.1070205@swipnet.se> References: <200303192321.h2JNKxbN015050@stubby.bodenonline.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048703198 4540 80.91.224.249 (26 Mar 2003 18:26:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 26 Mar 2003 18:26:38 +0000 (UTC) Cc: miles@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Mar 26 19:26:36 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18yFbg-0001B0-00 for ; Wed, 26 Mar 2003 19:26:36 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18yFdB-0004eX-00 for ; Wed, 26 Mar 2003 19:28:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18yFbL-0005U7-01 for emacs-devel@quimby.gnus.org; Wed, 26 Mar 2003 13:26:15 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18yFYL-0004A0-00 for emacs-devel@gnu.org; Wed, 26 Mar 2003 13:23:09 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18yFUQ-0001we-00 for emacs-devel@gnu.org; Wed, 26 Mar 2003 13:19:07 -0500 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18yFTP-0001UP-00; Wed, 26 Mar 2003 13:18:03 -0500 Original-Received: from swipnet.se (accessno42.bodenonline.com [193.201.16.44]) h2QJACbL004011; Wed, 26 Mar 2003 20:10:12 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314 X-Accept-Language: en-us, en Original-To: rms@gnu.org In-Reply-To: Original-cc: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12639 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12639 Richard Stallman wrote: > When dragging, Emacs exits the GTK event loop and goes back to its > own loop. Then when an X event comes, it reenters the GTK event loop > until all X events has been processed, then exits and enters again, etc. > All this exiting and entering also seems to defeat the double buffering. > > Perhaps GTK needs to be changed to do its double buffering > even between one call to its event loop and the next. Actually it does, I didn't see the correct reason for double buffering not working. It turns out that since the container widget Emacs uses isn't double buffered, all the children (scroll bars) does not get double buffering either. I have checked in a fix for this (actually a couple a days ago, but it was incomplete), hopefully it finally fixes this problem (hey, one can hope :-). Jan D.