From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Gtk scrollbar: thumb too short Date: Wed, 02 Apr 2003 09:07:46 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200304021407.h32E7knI025499@rum.cs.yale.edu> 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> <200304020429.h324TOP11647@eel.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1049292748 24957 80.91.224.249 (2 Apr 2003 14:12:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 2 Apr 2003 14:12:28 +0000 (UTC) Cc: miles@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Apr 02 16:12:23 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 190iyV-0006U3-00 for ; Wed, 02 Apr 2003 16:12:23 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 190izb-0007g1-00 for ; Wed, 02 Apr 2003 16:13:31 +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 190ivQ-0000bp-05 for emacs-devel@quimby.gnus.org; Wed, 02 Apr 2003 09:09:12 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 190iv8-0000ao-00 for emacs-devel@gnu.org; Wed, 02 Apr 2003 09:08:54 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 190iuc-0000Tr-00 for emacs-devel@gnu.org; Wed, 02 Apr 2003 09:08:53 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10.13) id 190iu5-0000Mr-00; Wed, 02 Apr 2003 09:07:49 -0500 Original-Received: from rum.cs.yale.edu (localhost [127.0.0.1]) by rum.cs.yale.edu (8.12.8/8.12.8) with ESMTP id h32E7lx6025501; Wed, 2 Apr 2003 09:07:47 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.12.8/8.12.8/Submit) id h32E7knI025499; Wed, 2 Apr 2003 09:07:46 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Luc Teirlinck Original-cc: jan.h.d@swipnet.se Original-cc: rms@gnu.org Original-cc: kai.grossjohann@uni-duisburg.de Original-cc: emacs-devel@gnu.org Original-cc: otaylor@redhat.com 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:12840 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12840 > Two applications, Emacs and PixelStuff start out with exactly one > window height (say sixty lines) full of stuff. Both allow > overscrolling to put the last line at the top. In Emacs, the thumb > covers the entire length of the scrollbar, because all text is > visible, in PixelStuff it covers approximately half (60/119) of the > scrollbar. I.e. the PixelStuff behavior is the Emacs/Motif behavior. I've been using it for a while and I must say even though one gets used to it, I don't like it. The problem is that the visual appearance of the scrollbar doesn't tell you clearly when point-max is visible so I still often end up trying to scroll down (especially in Gnus for some reason) and feel silly when I discover that there's nothing more to scroll. I've now switched to the new behavior I suggest (i.e. revert to the native scrollbar behavior) but work around the problematic interaction with Motif's scrollbar (the same problem as with Xaw3d and GTK) by setting the thumb size to 0 while dragging it: it's not perfect, but I find it much more useful. Stefan