From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Scrollbar bug on OS X Date: Sun, 10 Apr 2005 07:53:08 +0200 Message-ID: <07498e2dcf35d49e7701cc11e7d5ebdb@swipnet.se> References: <7ca1709813602da58a139cee58fb4c63@gmail.com> <3b9c4e2f33d37fed55f640dcafbc8d65@gmail.com> <87is31i8jq.fsf-monnier+emacs@gnu.org> <0ba853825b580f74347416c2c0b4a169@gmail.com> <87vf70ausz.fsf-monnier+emacs@gnu.org> <5b72982df8c370d3a58358de397046c8@gmail.com> <4412c862c2ed4780ad36de7af86c88eb@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1113113656 31829 80.91.229.2 (10 Apr 2005 06:14:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2005 06:14:16 +0000 (UTC) Cc: david.reitter@gmail.com, snogglethorpe@gmail.com, emacs-devel@gnu.org, Stefan Monnier , miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 10 08:14:13 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DKVhw-0005xf-Sg for ged-emacs-devel@m.gmane.org; Sun, 10 Apr 2005 08:14:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKVHn-000308-OI for ged-emacs-devel@m.gmane.org; Sun, 10 Apr 2005 01:47:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DKVBo-0000yK-5V for emacs-devel@gnu.org; Sun, 10 Apr 2005 01:40:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DKVBj-0000vx-MZ for emacs-devel@gnu.org; Sun, 10 Apr 2005 01:40:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKVBi-0000l5-0v for emacs-devel@gnu.org; Sun, 10 Apr 2005 01:40:50 -0400 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DKVPS-0000hR-BF; Sun, 10 Apr 2005 01:55:02 -0400 Original-Received: from coolsville.localdomain ([83.226.180.210] [83.226.180.210]) by mxfep02.bredband.com with ESMTP id <20050410055343.RFLX22685.mxfep02.bredband.com@coolsville.localdomain>; Sun, 10 Apr 2005 07:53:43 +0200 In-Reply-To: Original-To: rms@gnu.org X-Mailer: Apple Mail (2.619.2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:35828 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35828 >> It would be absurd to change Emacs's text model to fit the demands of >> a GUI toolkit. However, we could consider computing the "total size" >> for scrolling to include N fictitious final blank lines, N = window >> height. > > AFAIK that's what we do for LessTif and Gtk, > > Jan, is that what we do for GTK? Yes,and for Lesstif/Motif. There has been bug reports on this approach. The main confusion seems to be that when a small buffer is used (like the three initial lines in the *scratch* buffer), the scrollbar thumb does not extend to the bottom, since we have added the fictitious lines at the bottom. The assumtion is that if you are seeing the whole buffer, the scroll bar thumb should indicate that by extending from top to bottom. Jan D.