Subject: bug#32002: 24.4; Scroll bar start, end not correct

From: Mike Kupfer <[email-masked]>
Date: Wed, 04 Jul 2018 22:28:28 -0700

Eli Zaretskii wrote:

> What Emacs does is call
> 
>   (scroll-up +/-1)
> 
> for each input event that comes from the scroll bar's "steppers".
[...]
> Stepping with Edebug through scroll-bar-toolkit-scroll should show
> what's going on there.

When I click on either stepper, one event gets passed to
scroll-bar-toolkit-scroll.  It looks like

  (mouse-1 (#<window 3 on .profile> vertical-scroll-bar (5637316 . 7584542) 0 handle))

(There is some variance in the numbers in the (5637316 . 7584542) part.)

So scroll-bar-drag-1 gets called, rather than scroll-up.

mike