[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scrollbar bug on OS X
From: |
Stefan Monnier |
Subject: |
Re: Scrollbar bug on OS X |
Date: |
Wed, 06 Apr 2005 18:51:54 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> I think you are laboring under the delusion that the scroll bar
> actually displays something sensible, namely that mouse-2 exactly at
> the bottom of the slider will take you exactly one page of screen
> material further. I think you'll find that users are much less
> surprised if this goal is not exactly established than if the slider
> grows and shrinks in size. So the solution is to base the slider size
> on some more-or-less sensible metric like lines-in-file (where
> available) to lines-on-screen, and anyway, don't muck with it while
> dragging.
That's what the code does with the Motif scrollbar, BTW.
I think it's also what's used with Gtk.
Stefan
PS: The only problem is that those toolkits have the idiotic idea to enforce
that the bottom of the thumb cannot go further than the bottom. And they
enforce it by hiding the events corresponding to "user moves the mouse
yet-further-down". I.e. they're throwing away valuable information before
the application can even decide whether it's indeed useless or not.
It's idiotic because it requires *more* code in the toolkit and has as its
only effect to reduce the flexibility of the toolkit.
- Re: Aquamacs distro for OS X like behavior, (continued)
- Re: Aquamacs distro for OS X like behavior, David Kastrup, 2005/04/04
- Re: Aquamacs distro for OS X like behavior, David Reitter, 2005/04/04
- Re: Aquamacs distro for OS X like behavior, David Kastrup, 2005/04/04
- Re: Aquamacs distro for OS X like behavior, Stefan Monnier, 2005/04/05
- Re: Aquamacs distro for OS X like behavior, David Reitter, 2005/04/06
- Re: Aquamacs distro for OS X like behavior, Stefan Monnier, 2005/04/06
- Re: Scrollbar bug on OS X (was: Aquamacs distro for OS X like behavior), David Reitter, 2005/04/06
- Re: Scrollbar bug on OS X, Stefan Monnier, 2005/04/06
- Re: Scrollbar bug on OS X (was: Aquamacs distro for OS X like behavior), Miles Bader, 2005/04/06
- Re: Scrollbar bug on OS X, David Kastrup, 2005/04/06
- Re: Scrollbar bug on OS X,
Stefan Monnier <=
- Re: Scrollbar bug on OS X, Richard Stallman, 2005/04/07
- Re: Scrollbar bug on OS X, Stefan Monnier, 2005/04/07
- Re: Scrollbar bug on OS X, David Kastrup, 2005/04/07
- Re: Scrollbar bug on OS X, David Reitter, 2005/04/07
- Re: Scrollbar bug on OS X, Miles Bader, 2005/04/07
- Re: Scrollbar bug on OS X, David Reitter, 2005/04/08
- Re: Scrollbar bug on OS X, Stefan Monnier, 2005/04/08
- Re: Scrollbar bug on OS X, David Reitter, 2005/04/08
- Re: Scrollbar bug on OS X, Stefan Monnier, 2005/04/08
- Re: Scrollbar bug on OS X, Kevin Rodgers, 2005/04/08