unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: David Reitter <david.reitter@gmail.com>,
	snogglethorpe@gmail.com, emacs-devel@gnu.org, miles@gnu.org
Subject: Re: Scrollbar bug on OS X
Date: Wed, 06 Apr 2005 18:51:54 -0400	[thread overview]
Message-ID: <jwvr7hn7cde.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <x5ekdnczll.fsf@lola.goethe.zz> (David Kastrup's message of "Thu, 07 Apr 2005 00:25:10 +0200")

> 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.

  reply	other threads:[~2005-04-06 22:51 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-03 10:37 Aquamacs distro for OS X like behavior David Reitter
2005-04-04 11:40 ` David Kastrup
2005-04-04 14:02   ` David Reitter
2005-04-04 17:28     ` Stefan Monnier
2005-04-04 17:47       ` David Kastrup
2005-04-04 23:27         ` David Reitter
2005-04-05  0:02           ` David Kastrup
2005-04-05 14:58           ` Stefan Monnier
2005-04-06 13:03             ` David Reitter
2005-04-06 14:08               ` Stefan Monnier
2005-04-06 14:32                 ` Scrollbar bug on OS X (was: Aquamacs distro for OS X like behavior) David Reitter
2005-04-06 17:14                   ` Scrollbar bug on OS X Stefan Monnier
2005-04-06 22:07                   ` Scrollbar bug on OS X (was: Aquamacs distro for OS X like behavior) Miles Bader
2005-04-06 22:25                     ` Scrollbar bug on OS X David Kastrup
2005-04-06 22:51                       ` Stefan Monnier [this message]
2005-04-07 18:27                         ` Richard Stallman
2005-04-07 19:26                           ` Stefan Monnier
2005-04-07 19:30                             ` David Kastrup
2005-04-07 19:46                               ` Jan D.
2005-04-07 19:59                               ` David Reitter
2005-04-08  2:05                                 ` Miles Bader
2005-04-08 11:31                                   ` David Reitter
2005-04-08 12:42                                 ` Stefan Monnier
2005-04-08 13:12                                   ` David Reitter
2005-04-08 14:08                                     ` Stefan Monnier
2005-04-08 15:46                                   ` Kevin Rodgers
2005-04-09  8:04                                     ` Eli Zaretskii
2005-04-09 16:04                                       ` Luc Teirlinck
2005-04-09 16:46                                         ` Miles Bader
2005-04-09 17:02                                           ` Luc Teirlinck
2005-04-09 16:18                                       ` Luc Teirlinck
2005-04-11 18:22                                       ` Kevin Rodgers
2005-04-07 19:41                           ` Jan D.
2005-04-08 14:32                             ` Richard Stallman
2005-04-08 14:50                               ` Stefan Monnier
2005-04-10  1:54                                 ` Richard Stallman
2005-04-10  5:53                                   ` Jan D.
2005-04-10 10:58                                     ` Miles Bader
2005-04-11  1:56                                     ` Richard Stallman
2005-04-06 22:44                     ` Stefan Monnier
2005-04-06 16:17                 ` Scrollbar size flaky on OS X (was: Aquamacs distro for OS X like behavior) David Reitter
2005-04-06 17:19                   ` Scrollbar size flaky on OS X Stefan Monnier
2005-04-05 19:07           ` Aquamacs distro for OS X like behavior Richard Stallman
2005-04-05 19:25             ` Lennart Borgman
2005-04-06 14:59               ` Richard Stallman
2005-04-06 16:20                 ` David Kastrup
2005-04-07 18:27                   ` Richard Stallman
2005-04-07 22:24                     ` Lennart Borgman
2005-04-08  9:17                       ` Johan Vromans
2005-04-08  9:50                         ` David Reitter
2005-04-09  3:38                           ` Richard Stallman
2005-04-05  4:22         ` Richard Stallman
2005-04-04 18:25   ` Aidan Kehoe
2005-04-04 21:01     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvr7hn7cde.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    --cc=snogglethorpe@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).