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: Gtk scrollbar: thumb too short Date: Fri, 28 Mar 2003 10:21:18 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20030325193739.ZGIN3924.fep01-svc.swip.net@gaffa.gaia.swipnet.se> <3E8345E8.4090509@swipnet.se> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1048865496 15909 80.91.224.249 (28 Mar 2003 15:31:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 28 Mar 2003 15:31:36 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Mar 28 16:31:30 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 18yvpK-000485-00 for ; Fri, 28 Mar 2003 16:31:30 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18yvrk-0005TI-00 for ; Fri, 28 Mar 2003 16:34:00 +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 18yvnt-00014W-00 for emacs-devel@quimby.gnus.org; Fri, 28 Mar 2003 10:30:01 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18yvlt-0008B8-00 for emacs-devel@gnu.org; Fri, 28 Mar 2003 10:27:57 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18yvhx-0006UV-00 for emacs-devel@gnu.org; Fri, 28 Mar 2003 10:23:55 -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 18yvfS-000495-00 for emacs-devel@gnu.org; Fri, 28 Mar 2003 10:21:18 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18yvfS-00079B-00; Fri, 28 Mar 2003 10:21:18 -0500 Original-To: "Jan D." In-reply-to: <3E8345E8.4090509@swipnet.se> (jan.h.d@swipnet.se) Original-cc: kai.grossjohann@uni-duisburg.de 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:12704 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12704 > What happens if the app specifies a position that is less than one > page away from the end? Is that considered invalid? Not invalid, but the position is silently changed to be a page away from the end. GTK scroll bars adjust position values to be in the interval [minimum value for the scroll bar, maximum value - one page size] I think GTK should have an option to accept such values and display them in some sensible way. > My suggestion is to display a thumb that rises from the bottom of the > scroll bar, but is shorter than normal, as if the bottom of the thumb > were hidden beyond the end of the scroll bar. Others may think > of a better way to indicate this situation. As the native scroll bars do? The disadvantage is that then the thumb size in relation to the scroll bar size looses the connection of how much of the buffer you are seeing w.r.t. the size of the buffer. Either we are miscommunicating about something basic, or I disagree. In what I envision, the visible thumb size would reflect the amount of real text visible in the window. As window-start gets closer to point-max, the amount of visible text decreases, and so should the thumb size.