unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* scrollbar (again)
@ 2003-03-28 16:29 Luc Teirlinck
  2003-03-28 17:39 ` Kai Großjohann
  2003-03-28 20:55 ` Luc Teirlinck
  0 siblings, 2 replies; 15+ messages in thread
From: Luc Teirlinck @ 2003-03-28 16:29 UTC (permalink / raw)


I am talking about either an emacs-21.3.50 configured with no options
(Xaw3d scroll bars, yesterday evening) or with ./configure
--without-toolkit-scroll-bars (native scrollbars, two days ago).

Do C-h i m emacs (just so we are talking about the same buffer).

Click with mouse-2 on the thumb (or slider, whatever you want to call
it) in the lower portion of the thumb, but clearly inside the thumb.
The idea is to start dragging the thumb around.  However, the buffer
immediately scrolls to some far away area.

Result of C-h k and click with mouse-2 on the thumb of the native
scrollbar:

<vertical-scroll-bar> <down-mouse-2> (translated from <down-mouse-2>)
runs the command scroll-bar-drag
   which is an interactive compiled Lisp function in `scroll-bar'.
It is bound to <vertical-scroll-bar> <down-mouse-2>.
(scroll-bar-drag EVENT)

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

Comment: we clicked *inside* the slider (thumb, whatever), no
automatic scrolling should have happened.

More surprises:
Result of C-h k and click with mouse-2 on the thumb of the Xaw3d
scrollbars:

<vertical-scroll-bar> <mouse-1> (translated from <mouse-1>) runs the
command scroll-bar-toolkit-scroll
   which is an interactive compiled Lisp function in `scroll-bar'.
It is bound to <vertical-scroll-bar> <mouse-1>.
(scroll-bar-toolkit-scroll EVENT)

Not documented.

Comment: mouse-1?  Is this normal?  I definitely clicked mouse-2.

Sincerely,

Luc.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2003-03-29 17:28 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-28 16:29 scrollbar (again) Luc Teirlinck
2003-03-28 17:39 ` Kai Großjohann
2003-03-28 19:46   ` Luc Teirlinck
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.

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