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 05:36:38 +0300 Message-ID: <83y3eqmmrt.fsf@gnu.org> References: <11193.1530748573@alto> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1530758112 4095 195.159.176.226 (5 Jul 2018 02:35:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2018 02:35:12 +0000 (UTC) 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 04:35:08 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 1fau6q-0000ue-OL for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jul 2018 04:35:04 +0200 Original-Received: from localhost ([::1]:49981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fau8x-0007dt-S0 for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Jul 2018 22:37:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fau8l-0007dZ-Kf for bug-gnu-emacs@gnu.org; Wed, 04 Jul 2018 22:37:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fau8k-000899-Qm for bug-gnu-emacs@gnu.org; Wed, 04 Jul 2018 22:37:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39227) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fau8k-00088d-Ml for bug-gnu-emacs@gnu.org; Wed, 04 Jul 2018 22:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fau8k-0000nT-ER for bug-gnu-emacs@gnu.org; Wed, 04 Jul 2018 22:37:02 -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 02:37:02 +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.15307582153048 (code B ref 32002); Thu, 05 Jul 2018 02:37:02 +0000 Original-Received: (at 32002) by debbugs.gnu.org; 5 Jul 2018 02:36:55 +0000 Original-Received: from localhost ([127.0.0.1]:47124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fau8d-0000n6-2v for submit@debbugs.gnu.org; Wed, 04 Jul 2018 22:36:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fau8b-0000mu-J0 for 32002@debbugs.gnu.org; Wed, 04 Jul 2018 22:36:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fau8V-0007eR-IF for 32002@debbugs.gnu.org; Wed, 04 Jul 2018 22:36:48 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fau8P-0007Vu-Ns; Wed, 04 Jul 2018 22:36:41 -0400 Original-Received: from [176.228.60.248] (port=1511 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fau8N-0002MA-LX; Wed, 04 Jul 2018 22:36:40 -0400 In-reply-to: <11193.1530748573@alto> (message from Mike Kupfer on Wed, 04 Jul 2018 16:56:13 -0700) 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:148212 Archived-At: > From: Mike Kupfer > cc: 32002@debbugs.gnu.org, Eli Zaretskii , kurn@sfu.ca > Date: Wed, 04 Jul 2018 16:56:13 -0700 > > Steppers are the up and down arrows that appear at the top and bottom of > the scrollbar. You can see them in the attached screenshot. They are > only present in some themes, like Menta and Clearlooks-Phenix. Notably, > Adwaita (the default GTK3 theme) does not have steppers. > > It's possible to do some CSS hacking to get steppers with Adwaita, but I > believe the syntax depends on which version of GTK3 you're using. What Emacs does is call (scroll-up +/-1) for each input event that comes from the scroll bar's "steppers". So the only way I can explain why you see scrolling of more than 1 line is that the GTK scroll bar sends more than one event. Or maybe it doesn't send the 'up and 'down parts in the event for some reason. Stepping with Edebug through scroll-bar-toolkit-scroll should show what's going on there.