From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Emacs GTK scroll-bar flickering Date: Thu, 20 Mar 2003 03:45:22 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200303182319.h2INJ0bP024745@stubby.bodenonline.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1048150062 2352 80.91.224.249 (20 Mar 2003 08:47:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2003 08:47:42 +0000 (UTC) Cc: miles@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Mar 20 09:47:41 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 18vvi8-0000bo-00 for ; Thu, 20 Mar 2003 09:47:40 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18vvjI-00008A-00 for ; Thu, 20 Mar 2003 09:48:52 +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 18vvgs-0002uV-09 for emacs-devel@quimby.gnus.org; Thu, 20 Mar 2003 03:46:22 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18vvgi-0002qP-00 for emacs-devel@gnu.org; Thu, 20 Mar 2003 03:46:12 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18vvgF-0002km-00 for emacs-devel@gnu.org; Thu, 20 Mar 2003 03:45:44 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10.13) id 18vvg3-0002Ne-00 for emacs-devel@gnu.org; Thu, 20 Mar 2003 03:45:31 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18vvfu-000543-00; Thu, 20 Mar 2003 03:45:22 -0500 Original-To: "Jan D." In-reply-to: <200303182319.h2INJ0bP024745@stubby.bodenonline.com> (jan.h.d@swipnet.se) 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:12481 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12481 When lines aren't available, Emacs uses characters instead. But every character added or deleted changes the thumb because the ratio between total number characters in the file and the number of characters shown changes. Thus, Emacs updates the thumb a lot more than a line based application. When the scroll bar is bad at updating for small changes like this, flicker occurs. If the cause is really that, perhaps Emacs should remember the last size and position values used for the scroll bar, and report them to GTK instead of the real values, as long as the real size and position have not changed by more than 1% from those saved values.