From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Gtk scrollbar: thumb too short Date: Thu, 10 Apr 2003 19:33:41 +0200 (CEST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200304101830.h3AIU6bL017920@stubby.bodenonline.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1049996474 8384 80.91.224.249 (10 Apr 2003 17:41:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 10 Apr 2003 17:41:14 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Apr 10 19:41:12 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 193g1T-00024x-00 for ; Thu, 10 Apr 2003 19:39:39 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 193g6X-000215-00 for ; Thu, 10 Apr 2003 19:44:53 +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 193g1I-0000HZ-02 for emacs-devel@quimby.gnus.org; Thu, 10 Apr 2003 13:39:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 193g0g-0008Qo-00 for emacs-devel@gnu.org; Thu, 10 Apr 2003 13:38:50 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 193g0T-0008EF-00 for emacs-devel@gnu.org; Thu, 10 Apr 2003 13:38:41 -0400 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193g0S-00089e-00; Thu, 10 Apr 2003 13:38:36 -0400 Original-Received: from accessno42.bodenonline.com (IDENT:root@accessno42.bodenonline.com [193.201.16.44]) h3AIU6bL017920; Thu, 10 Apr 2003 20:30:07 +0200 In-Reply-To: "from Richard Stallman at Apr 7, 2003 10:30:49 pm" Original-To: rms@gnu.org Original-cc: Owen Taylor 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:13118 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13118 > 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? I will try. Jan D.