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: 27 Mar 2003 23:28:34 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <1048825714.16262.8.camel@localhost.localdomain> References: <20030325193739.ZGIN3924.fep01-svc.swip.net@gaffa.gaia.swipnet.se> <1048780121.14517.22.camel@localhost.localdomain> <200303271630.h2RGU1bT028651@rum.cs.yale.edu> <1048799271.15136.69.camel@localhost.localdomain> <200303272142.PAA27945@eel.dms.auburn.edu> <1048801290.15149.88.camel@localhost.localdomain> <200303280215.UAA28162@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 1048826061 13937 80.91.224.249 (28 Mar 2003 04:34:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 28 Mar 2003 04:34:21 +0000 (UTC) Cc: monnier+gnu/emacs@rum.cs.yale.edu Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Mar 28 05:34:16 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 18ylZI-0003cT-00 for ; Fri, 28 Mar 2003 05:34:16 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18ylbU-0007Wa-00 for ; Fri, 28 Mar 2003 05:36:32 +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 18ylW1-0008Rx-04 for emacs-devel@quimby.gnus.org; Thu, 27 Mar 2003 23:30:53 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18ylVc-0008Rd-00 for emacs-devel@gnu.org; Thu, 27 Mar 2003 23:30:28 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18ylVb-0008Ph-00 for emacs-devel@gnu.org; Thu, 27 Mar 2003 23:30:28 -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 18ylVb-0008Pb-00; Thu, 27 Mar 2003 23:30:27 -0500 Original-Received: from vpn50-10.rdu.redhat.com (vpn50-10.rdu.redhat.com [172.16.50.10])h2S4UKo32202; Thu, 27 Mar 2003 23:30:21 -0500 Original-To: Luc Teirlinck In-Reply-To: <200303280215.UAA28162@eel.dms.auburn.edu> X-Mailer: Ximian Evolution 1.2.2 (1.2.2-0) Original-cc: jan.h.d@swipnet.se Original-cc: rms@gnu.org Original-cc: kai.grossjohann@uni-duisburg.de Original-cc: jody@gnome.org Original-cc: emacs-devel@gnu.org 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:12690 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12690 On Thu, 2003-03-27 at 21:15, Luc Teirlinck wrote: > Jody Goldberg wrote: > > Gnumeric has received alot of bug reports on this score. Some > people like the thumb to indicate the visible rows, others want it > to display the visible region. We have received complaints both > ways. My preference is for the visible region to provide some > feedback that there is hidden content. > > Both the native scrollbar and the default (no options to configure) > Xaw3d scroll bars seem to display the "visible region" (if I > understand correctly) and do so, in my judgment, in an accurate way. > One can have all kinds of opinions about other behavior being or not > being preferable, but I would not use the term "whacky" for the > present behavior. > > Owen Taylor wrote: > > (Presumably, if you have a large chunks of hidden text anywhere in > your document, the scrollbar will go whacky.) > > Is this a more than a mere "presumption"? > > and: > > By "go whacky", I didn't mean the problem with dragging off the > end, but simply that a character-based scrollbar is going to > inherently act in a confusing matter, especially in the > presence of invisible text. > > Maybe it "theoretically ought to" inherently act in a confusing > matter, but somehow I do not see it actually happen. (Except for the > thumb size problem, which does not occur for the native scrollbar.) > Of course, as is clear from Jody's message, one person's "expected > behavior" is going to be another person's confusion and vice versa. A) In case it wasn't clear, I am not a Emacs hacker, I am a GTK+ hacker B) It would be a mistake that assume that anything I say about emacs is informed by more than (many thousands of hours of) casual end user use plus theoretical considerations. C) My main point was that the effect of invisible text on locating the end scroll position of the buffer should be roughly the same as the effect of it on computing the correct scrollbar size. Stefan Monnier seemed to think that invisible text would make computing the end scroll position of the scrollbar very hard. That implied to me that Emacs computed scrollbars based on total characters not visible characters; but I didn't research the point. Regards, Owen