From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Emacs GTK scroll-bar flickering Date: 27 Mar 2003 10:22:22 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200303192321.h2JNKxbN015050@stubby.bodenonline.com> <3E81EED7.1070205@swipnet.se> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048728316 6763 80.91.224.249 (27 Mar 2003 01:25:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 27 Mar 2003 01:25:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Mar 27 02:25:14 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 18yM8o-0001kl-00 for ; Thu, 27 Mar 2003 02:25:14 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18yMAS-0000R4-00 for ; Thu, 27 Mar 2003 02:26:56 +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 18yM8O-00014S-00 for emacs-devel@quimby.gnus.org; Wed, 26 Mar 2003 20:24:48 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18yM7Z-0000Qe-00 for emacs-devel@gnu.org; Wed, 26 Mar 2003 20:23:57 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18yM6S-00083I-00 for emacs-devel@gnu.org; Wed, 26 Mar 2003 20:22:52 -0500 Original-Received: from tyo201.gate.nec.co.jp ([210.143.35.51]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18yM6D-00075p-00; Wed, 26 Mar 2003 20:22:33 -0500 Original-Received: from mailgate4.nec.co.jp ([10.7.69.195])h2R1MPw27851; Thu, 27 Mar 2003 10:22:25 +0900 (JST) Original-Received: (from root@localhost) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) id h2R1MPk20929; Thu, 27 Mar 2003 10:22:25 +0900 (JST) Original-Received: from edtmg04.lsi.nec.co.jp ([10.26.17.201]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id h2R1MOH24473; Thu, 27 Mar 2003 10:22:24 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) KAA17169; Thu, 27 Mar 2003 10:22:23 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) with ESMTP id h2R1MMNH024035; Thu, 27 Mar 2003 10:22:22 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 7393F372D; Thu, 27 Mar 2003 10:22:22 +0900 (JST) Original-To: "Jan D." System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <3E81EED7.1070205@swipnet.se> Original-Lines: 26 Original-cc: rms@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:12648 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12648 "Jan D." writes: > 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 :-). Yes, this seems to have fixed the flickering problem completely (there are still some rough updates when the emacs window configuration changes, but that's a relatively rare event, and I guess this sort of thing is probably never going to be perfect, given that GTK is somewhat bolted onto emacs). Thanks for fixing it (and for putting up with all my complaining)! BTW, I find that I can get better scrolling behavior with emacs/GTK if I set `redisplay-dont-pause' to t -- otherwise, if I e.g., hold down a scroll key (say C-v), scrolling updates the scroll bar smoothly, but the text window only gets updated when I stop scrolling. Any comment on this? [My processor seems to be fast enough to keep up when redisplay-dont-pause is t] -Miles -- Yo mama's so fat when she gets on an elevator it HAS to go down.