From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Owen Taylor Newsgroups: gmane.emacs.devel Subject: Re: Gtk scrollbar: thumb too short Date: 31 Mar 2003 17:16:17 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <1049148977.14738.252.camel@localhost.localdomain> References: <20030325193739.ZGIN3924.fep01-svc.swip.net@gaffa.gaia.swipnet.se> <3E8345E8.4090509@swipnet.se> <1048872463.17161.132.camel@localhost.localdomain> <1049134327.3326.74.camel@localhost.localdomain> <200303312206.h2VM6PA10466@eel.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1049149641 25269 80.91.224.249 (31 Mar 2003 22:27:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2003 22:27:21 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 01 00:27:19 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 1907kN-0006ZI-00 for ; Tue, 01 Apr 2003 00:27:19 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 1907kg-0001bx-00 for ; Tue, 01 Apr 2003 00:27:38 +0200 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 1907iY-0006Ki-07 for emacs-devel@quimby.gnus.org; Mon, 31 Mar 2003 17:25:26 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 1907eY-0004Sb-00 for emacs-devel@gnu.org; Mon, 31 Mar 2003 17:21:18 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 1907cw-0004MW-00 for emacs-devel@gnu.org; Mon, 31 Mar 2003 17:19:40 -0500 Original-Received: from nat-pool-rdu.redhat.com ([66.187.233.200] helo=lacrosse.corp.redhat.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 1907bZ-0003Qm-00; Mon, 31 Mar 2003 17:18:14 -0500 Original-Received: from landau.devel.redhat.com (landau.devel.redhat.com [172.16.56.103])h2VMI4o14867; Mon, 31 Mar 2003 17:18:04 -0500 Original-To: Luc Teirlinck In-Reply-To: <200303312206.h2VM6PA10466@eel.dms.auburn.edu> X-Mailer: Ximian Evolution 1.2.2 (1.2.2-0) Original-cc: rms@gnu.org Original-cc: jan.h.d@swipnet.se Original-cc: kai.grossjohann@uni-duisburg.de 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:12779 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12779 On Mon, 2003-03-31 at 17:06, Luc Teirlinck wrote: > You have to decide whether dragging the scrollbar to the bottom: > > - Scrolls to last page of the document > - Scrolls to the maximally overscrolled position (one line > at the top of the screeen) > > Would it be possible for GTK to leave that choice either up to the > application or up to the user? There are plenty of applications were > if it were up to me I would choose possibility (1). For Emacs I > would choose (2), the current behavior. Actually, for Emacs I > personally use the native scrollbar, which seems better adapted to > Emacs' character based philosophy. This does not mean that I would > want to use that scrollbar for other applications. What is a good > scrollbar for Emacs is not necessarily a good scrollbar for other > applications and vice versa. GTK+ apps can already do both - I described how to implement the second in some detail in a recent mail. What I'm opposed to is having dragging the scrollbar to the bottom scroll to the last page of the document, then dragging it _past_ the bottom overscroll the buffer. I don't think dragging past the end is a meaningful feature to have for this widget. Regards, Owen