From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: Scrollbar bug on OS X (was: Aquamacs distro for OS X like behavior) Date: Wed, 6 Apr 2005 15:32:14 +0100 Message-ID: <5b72982df8c370d3a58358de397046c8@gmail.com> References: <7ca1709813602da58a139cee58fb4c63@gmail.com> <3b9c4e2f33d37fed55f640dcafbc8d65@gmail.com> <87is31i8jq.fsf-monnier+emacs@gnu.org> <0ba853825b580f74347416c2c0b4a169@gmail.com> <87vf70ausz.fsf-monnier+emacs@gnu.org> 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 1112804340 18384 80.91.229.2 (6 Apr 2005 16:19:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2005 16:19:00 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 06 18:18:58 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DJDE3-0000ij-OO for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2005 18:17:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJCnB-00015a-K1 for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2005 11:50:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DJCm5-0000jm-1A for emacs-devel@gnu.org; Wed, 06 Apr 2005 11:49:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJCm4-0000jc-TZ for emacs-devel@gnu.org; Wed, 06 Apr 2005 11:49:00 -0400 Original-Received: from [64.233.184.192] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DJDFC-0006LF-1M for emacs-devel@gnu.org; Wed, 06 Apr 2005 12:19:06 -0400 Original-Received: by wproxy.gmail.com with SMTP id 50so309403wri for ; Wed, 06 Apr 2005 09:18:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:content-transfer-encoding:cc:from:subject:date:to:x-mailer; b=WR6/GXDDDg6UuYZfDQgWOAcGHeVEDJHo2qSLsdKDjdc5CPTOfUS4sdTLfypW7iHAkpf6nz2cFM89SkBxFLaVVoWNC0kPJ+U9DNL4NGMn/UdHPZqnUESJhdqSFONV+oYzC23WnZvnomBvaNsOYE7PAE1E3iKqWbDA2AwQugyr/ek= Original-Received: by 10.54.33.47 with SMTP id g47mr60297wrg; Wed, 06 Apr 2005 09:17:06 -0700 (PDT) Original-Received: from ?129.215.110.120? ([129.215.110.120]) by mx.gmail.com with ESMTP id d75sm1364894wra.2005.04.06.09.17.03; Wed, 06 Apr 2005 09:17:03 -0700 (PDT) In-Reply-To: <87vf70ausz.fsf-monnier+emacs@gnu.org> Original-To: Stefan Monnier 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:35638 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35638 On 6 Apr 2005, at 15:08, Stefan Monnier wrote: >> Under OS X, Emacs behaves very strangely with regard to the >> scrollbars and >> sliders. When you just click on a slider without moving it (after >> you've >> scrolled to the middle of the document), you will see that the text >> scrolls right away, often far beyond the document. Intended behavior >> would be not to do anything. > > The description of the behavior is not sufficiently precise for me to > be > sure, but it looks like a genuine bug. I'm not sure what you mean by > "far > beyond the document", tho. It overscrolls: it scrolls down beyond the end of the buffer, so that the screen is all empty. It shouldn't jerk when you click and drag - very often, I grab the slider to scroll down a little. When the window jumps to a totally different document position, the slider becomes practically useless in that usage context. I acknowledge your explanations on the other points - thanks. In the UI that I'd like to implement in order to conform to standards in my environment, the vertical slider size shows a proportion of _ displayed lines_ not document characters or real lines (those that end with a CR or LF). Whether that is better or not, I don't know, but what I do know is that a) "less visual change on the screen is more", and that b) both Windows and Mac software has sliders with a stable size. But the slider size should have less priority. Is there a way to store count-screen-lines statically and just update it when necessary? -- Dave