From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32002: 24.4; Scroll bar start, end not correct Date: Thu, 05 Jul 2018 09:27:51 +0300 Message-ID: <3A7C591F-D73A-4640-B4C7-09EFF80357D0@gnu.org> References: <12167.1530768508@alto> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1530772031 6911 195.159.176.226 (5 Jul 2018 06:27:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2018 06:27:11 +0000 (UTC) User-Agent: K-9 Mail for Android Cc: 32002@debbugs.gnu.org, npostavs@gmail.com, kurn@sfu.ca To: Mike Kupfer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 05 08:27:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1faxjO-0001fN-Se for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jul 2018 08:27:07 +0200 Original-Received: from localhost ([::1]:50536 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faxlU-0003Ct-A1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jul 2018 02:29:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faxlJ-0003Cm-Ao for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2018 02:29:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1faxlG-00060O-6N for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2018 02:29:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39283) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1faxlG-0005zV-2i for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2018 02:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1faxlF-0006Lr-QZ for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2018 02:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Jul 2018 06:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32002 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 32002-submit@debbugs.gnu.org id=B32002.153077208824344 (code B ref 32002); Thu, 05 Jul 2018 06:29:01 +0000 Original-Received: (at 32002) by debbugs.gnu.org; 5 Jul 2018 06:28:08 +0000 Original-Received: from localhost ([127.0.0.1]:47180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1faxkO-0006KZ-LY for submit@debbugs.gnu.org; Thu, 05 Jul 2018 02:28:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1faxkN-0006KM-2k for 32002@debbugs.gnu.org; Thu, 05 Jul 2018 02:28:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1faxkG-0003se-Ue for 32002@debbugs.gnu.org; Thu, 05 Jul 2018 02:28:01 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faxkB-0003ay-EI; Thu, 05 Jul 2018 02:27:55 -0400 Original-Received: from [176.12.142.254] (port=55144 helo=[10.161.137.1]) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1faxkA-0006AO-OY; Thu, 05 Jul 2018 02:27:55 -0400 In-Reply-To: <12167.1530768508@alto> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:148215 Archived-At: On July 5, 2018 8:28:28 AM GMT+03:00, Mike Kupfer wrote: > Eli Zaretskii wrote: >=20 > > What Emacs does is call > >=20 > > (scroll-up +/-1) > >=20 > > for each input event that comes from the scroll bar's "steppers"=2E > [=2E=2E=2E] > > Stepping with Edebug through scroll-bar-toolkit-scroll should show > > what's going on there=2E >=20 > When I click on either stepper, one event gets passed to > scroll-bar-toolkit-scroll=2E It looks like >=20 > (mouse-1 (# vertical-scroll-bar (5637316 =2E > 7584542) 0 handle)) >=20 > (There is some variance in the numbers in the (5637316 =2E 7584542) > part=2E) >=20 > So scroll-bar-drag-1 gets called, rather than scroll-up=2E >=20 > mike According to xg_scroll_callback, GTK is supposed to provide the up and down events, so perhaps some more debugging is required=2E