From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: vertical scrollbar error on MS Windows Date: Wed, 21 Feb 2007 14:01:08 -0500 Message-ID: References: <001401c7554e$bbd42100$2446fe91@j4f3n1> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1172084495 20576 80.91.229.12 (21 Feb 2007 19:01:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Feb 2007 19:01:35 +0000 (UTC) Cc: emacs-devel@gnu.org, storm@cua.dk To: "grischka" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 21 20:01:32 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 1HJwiU-0004fL-GY for ged-emacs-devel@m.gmane.org; Wed, 21 Feb 2007 20:01:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJwiU-00045c-2k for ged-emacs-devel@m.gmane.org; Wed, 21 Feb 2007 14:01:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HJwiJ-00045W-Tm for emacs-devel@gnu.org; Wed, 21 Feb 2007 14:01:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HJwiH-000445-IH for emacs-devel@gnu.org; Wed, 21 Feb 2007 14:01:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJwiH-00043v-9K for emacs-devel@gnu.org; Wed, 21 Feb 2007 14:01:13 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HJwiG-00014J-PJ for emacs-devel@gnu.org; Wed, 21 Feb 2007 14:01:12 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id C6AE12CF2F1; Wed, 21 Feb 2007 14:01:11 -0500 (EST) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 89C503FE0; Wed, 21 Feb 2007 14:01:08 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 6D85F6CB0E; Wed, 21 Feb 2007 14:01:08 -0500 (EST) In-Reply-To: <001401c7554e$bbd42100$2446fe91@j4f3n1> (grischka's message of "Wed\, 21 Feb 2007 01\:24\:20 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: Linux 2.6 (newer, 3) 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:66581 Archived-At: > Here is another fix for the scrollbars. From the approach > it calculates the thumb length once on mouse down and > then leaves bar parameters alone during dragging. This approach suffers from the same problems. I only know of two simple solutions: 1 - set the thumb size to 0 while dragging. 2 - make the thumb size "fixed" and arrange that when it hits bottom, then the start of the thumb corresponds to position point-max. The best solution is to change the toolkit such that it doesn't hide from you the information that the mouse was moved past the bottom of the scrollbar. This is what Xaw does. It's generally trivial to do, technically, but it usually hits a human brick wall. Stefan