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

From: Eli Zaretskii <[email-masked]>
Date: Thu, 05 Jul 2018 09:27:51 +0300

On July 5, 2018 8:28:28 AM GMT+03:00, Mike Kupfer <[email-masked]> wrote:
> 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

According to xg_scroll_callback, GTK is supposed to provide
the up and down events, so perhaps some more debugging is
required.