all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: scrollbar (again)
Date: Fri, 28 Mar 2003 13:46:20 -0600 (CST)	[thread overview]
Message-ID: <200303281946.NAA28668@eel.dms.auburn.edu> (raw)
In-Reply-To: <84fzp7bdbl.fsf@lucy.is.informatik.uni-duisburg.de> (kai.grossjohann@uni-duisburg.de)

Kai GrossJohann wrote:
   
   IIRC, the behavior in the no-toolkit case is similar to xterm.  That
   is, the top of the thumb will be warped to where you clicked mouse-2.

   I agree that this makes it difficult to start dragging.  It's
   something I don't like about this kind of scrollbar.  Nevertheless, I
   think it's still the best scrollbar there is, functionality-wise.

For the no-toolkit scrollbar the *top* of the slider (thumb, whatever)
moves to where you click with mouse-2.  In the case of the Xaw3d
scrollbar the *middle* moves to where you click.  So if you want to
use the scrollbar with mouse-2 to drag (without initial scrolling),
you have to grab it by the top for the native one and (more difficult)
exactly in the middle for the Xaw3d one.  (I do not know about the
other varieties of scrollbars.)  This mainly matters in large buffers.

The best solution may indeed be to either only use mouse-2 for
dragging in large buffers if you do not mind about the initial
scrolling or be very careful about where you grab the slider.

In the case of the native scrollbar, the documentation string you get
from C-h k and then clicking mouse-2 on the slider still misleadingly
suggests that scrolling only takes place if you click *outside* the
slider, whereas it happens regardless of where you click (except at the
very top, where the top still winds up where you click, except that it
is already there).  The documentation you get in the same situation
for the Xaw3d scrollbar throws me off completely.

Unless the behavior itself would be changed I suggest to replace, the
current documentation string for `scroll-bar-drag', namely:

"Scroll the window by dragging the scroll bar slider.
If you click outside the slider, the window scrolls to bring the slider there."

By something like:

"Scroll the window to bring the slider to where you click.
You can then subsequently scroll the window by dragging the slider."

If this is intended for general scrollbars, not just the native one,
we can not be more specific and say which part of the slider gets
moved to where you click.  If the user cares, he will just have to try
it out to see.

This would only help the native scrollbar.  The C-h k output for the
Xaw3d case seems strange.

Sincerely,

Luc.

  reply	other threads:[~2003-03-28 19:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-28 16:29 scrollbar (again) Luc Teirlinck
2003-03-28 17:39 ` Kai Großjohann
2003-03-28 19:46   ` Luc Teirlinck [this message]
2003-03-28 20:02     ` Luc Teirlinck
2003-03-28 22:00     ` Stefan Monnier
2003-03-28 20:55 ` Luc Teirlinck
2003-03-28 22:00   ` Stefan Monnier
2003-03-28 22:53     ` Luc Teirlinck
2003-03-28 23:04       ` Robert J. Chassell
2003-03-28 23:12         ` Luc Teirlinck
2003-03-28 23:59     ` Miles Bader
2003-03-29  0:12       ` Luc Teirlinck
2003-03-29  7:58       ` Jan D.
2003-03-29 16:03         ` Miles Bader
2003-03-29 17:28           ` Jan D.

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

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

  git send-email \
    --in-reply-to=200303281946.NAA28668@eel.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.