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: Mon, 07 Apr 2003 22:30:49 -0400 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> <1048872463.17161.132.camel@localhost.localdomain> <1049134327.3326.74.camel@localhost.localdomain> <84of3p2m44.fsf@lucy.is.informatik.uni-duisburg.de> <200304021352.h32DqLO11793@eel.dms.auburn.edu> <1049729721.4045.47.camel@localhost.localdomain> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1049769289 17671 80.91.224.249 (8 Apr 2003 02:34:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2003 02:34:49 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 08 04:34:42 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 192ivO-0004XG-00 for ; Tue, 08 Apr 2003 04:33:26 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 192izA-0007yV-00 for ; Tue, 08 Apr 2003 04:37:21 +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 192ium-0005WV-06 for emacs-devel@quimby.gnus.org; Mon, 07 Apr 2003 22:32:48 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 192it5-0004qe-00 for emacs-devel@gnu.org; Mon, 07 Apr 2003 22:31:03 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 192isv-0004U1-00 for emacs-devel@gnu.org; Mon, 07 Apr 2003 22:30:56 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192ist-0004Jh-00 for emacs-devel@gnu.org; Mon, 07 Apr 2003 22:30:51 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 192isr-0000ov-00; Mon, 07 Apr 2003 22:30:49 -0400 Original-To: Owen Taylor In-reply-to: <1049729721.4045.47.camel@localhost.localdomain> (message from Owen Taylor on 07 Apr 2003 11:35:22 -0400) Original-cc: jan.h.d@swipnet.se Original-cc: kai.grossjohann@gmx.net Original-cc: teirllm@dms.auburn.edu 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:12999 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12999 I don't think there has been a satisfactory explanation of how you are going to deal with minimum size issues; which for some themes occur on quite moderately sized buffers. (As I said earlier, for Red Hat's default theme, the minimum scrollbar thumb size is ~30 pixels) I see how the minimum thumb size will sometimes give a misleading idea of what fraction of the file is visible. That can happen even without overscrolling, but whether it is a problem is a matter people might disagree about. Aside form that, what issue is there with minimum size? If you connect to the "adjust_bounds" signal on GtkRange (the base class for GtkScrollbar), this gives you the chance, when the user clicks the arrows or drags the thumb, to adjust the bounds and/or page size *before* GTK+ clamps the position. Thanks. Jan, could you see if this method works?