From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "grischka" Newsgroups: gmane.emacs.devel Subject: Re: vertical scrollbar error on MS Windows Date: Wed, 21 Feb 2007 15:02:58 +0100 Message-ID: <007301c755c1$57446e20$2446fe91@j4f3n1> References: <001401c7554e$bbd42100$2446fe91@j4f3n1> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1172084201 19317 80.91.229.12 (21 Feb 2007 18:56:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Feb 2007 18:56:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 21 19:56:34 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 1HJwdl-0002Qy-9m for ged-emacs-devel@m.gmane.org; Wed, 21 Feb 2007 19:56:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJwdl-0001K5-0d for ged-emacs-devel@m.gmane.org; Wed, 21 Feb 2007 13:56:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HJs5x-0000sh-3K for emacs-devel@gnu.org; Wed, 21 Feb 2007 09:05:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HJs5v-0000sS-K2 for emacs-devel@gnu.org; Wed, 21 Feb 2007 09:05:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJs5v-0000sP-F0 for emacs-devel@gnu.org; Wed, 21 Feb 2007 09:05:19 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.52) id 1HJs5u-0002An-Pu for emacs-devel@gnu.org; Wed, 21 Feb 2007 09:05:19 -0500 Original-Received: (qmail invoked by alias); 21 Feb 2007 14:05:16 -0000 X-Provags-ID: V01U2FsdGVkX1/kJEQlK2vksOPUm+VKfRMzIJF2Z5xXFrdK5IRTru NAzw== X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Wed, 21 Feb 2007 13:56:22 -0500 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:66580 Archived-At: Kim F. Storm writes: > "grischka" writes: > > > Hi there, > > > > 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. Patch > > for w32term.c is in the attachement. > > Thank you. > > But I think this change is too radical at this time. > > Counting lines like that does not always give a > correct answer - e.g. if there are overlays / images > in the buffer. > Shure, but then it does not really matter whether the slider is a bit longer or shorter in cases. It is important on the UI level however, that there is a reliable relation between slider position and text view, i.e. that the visual feedback is consistent with the hand's movement. Otherwise it feels like a loose handle bar on a bicyle. For example even with your patch there is still the problem that sometimes the slider shrinks in the end as supposed, while with other files it remains stuck and it's not possible to see the last line. Or sometimes the slider shrinks itself on mouse down already such that mouse points into void. Etc. > I think we need to rethink the whole scrolling functionality > after the release (also for the other ports). No objection to that. Also I'd suggest to bind Ctrl-up/down as standard for single line scrolling. This is really missing, the more as long as sliders dont work so well ;) Thanks, -- grischka