From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andrew Kurn Newsgroups: gmane.emacs.bugs Subject: bug#32002: 24.4; Scroll bar start, end not correct Date: Tue, 3 Jul 2018 05:58:59 -0700 Message-ID: <20180703125859.GA16989@sfu.ca> References: <20180629073602.GA21394@sfu.ca> <83k1qinfcq.fsf@gnu.org> <20180629162402.GA21197@sfu.ca> <83a7rdo68m.fsf@gnu.org> <20180701013027.GA27523@sfu.ca> <1nh8lhy02x.fsf@fencepost.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1530622700 7421 195.159.176.226 (3 Jul 2018 12:58:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 3 Jul 2018 12:58:20 +0000 (UTC) User-Agent: Mutt/1.5.20 (2009-06-14) Cc: 32002@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 03 14:58:15 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 1faKsn-0001mR-Ml for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Jul 2018 14:58:13 +0200 Original-Received: from localhost ([::1]:40407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faKuu-0005VE-Qi for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Jul 2018 09:00:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faKuc-0005Pr-5f for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2018 09:00:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1faKuZ-0006he-2C for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2018 09:00:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36570) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1faKuY-0006hX-Um for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2018 09:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1faKuY-0006DH-Ix for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2018 09:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Kurn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Jul 2018 13:00: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: wontfix Original-Received: via spool by 32002-submit@debbugs.gnu.org id=B32002.153062274323779 (code B ref 32002); Tue, 03 Jul 2018 13:00:02 +0000 Original-Received: (at 32002) by debbugs.gnu.org; 3 Jul 2018 12:59:03 +0000 Original-Received: from localhost ([127.0.0.1]:44467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1faKtb-0006BT-Je for submit@debbugs.gnu.org; Tue, 03 Jul 2018 08:59:03 -0400 Original-Received: from load-balancer.sfu.ca ([142.58.101.11]:45227 helo=pobox1.f5esx.sfu.ca) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1faKtZ-0006B3-MD for 32002@debbugs.gnu.org; Tue, 03 Jul 2018 08:59:02 -0400 Original-Received: from fraser.sfu.ca (fraser.sfu.ca [142.58.101.25]) by pobox1.f5esx.sfu.ca (8.14.9/8.14.4/SFU-7.0G) with ESMTP id w63Cx0ap024047 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 3 Jul 2018 05:59:00 -0700 Original-Received: (from kurn@localhost) by fraser.sfu.ca (8.13.8+Sun/8.14.3/SFU-6.0C) id w63CwxU7023264; Tue, 3 Jul 2018 05:58:59 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1nh8lhy02x.fsf@fencepost.gnu.org> 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:148149 Archived-At: On Mon 2 Jul 2018 14:16 -0400, Glenn Morris wrote: > > >> I guess it's GTK-specific, then. Something related to scaling, > >> perhaps? > [...] > > If so, perhaps you can advise me how to turn it off. Usually > > the Emacs community is good enough to provide a way of > > disabling such features. > > You can try building Emacs using --without-toolkit-scroll-bars. > (Despite the misleading --help text, this also affects GTK builds.) > Otherwise I imagine Emacs has no way to customize how GTK scroll bars work. > PS or you can try a different toolkit altogether, eg "apt install emacs24-lucid". Um. Just to be clear: You guys can't reproduce the bug? The fact that pulling the scroll bar down to the bottom of the screen just clears the screen tells me that the scroll bar is being calculated as if the total buffer were the text /plus/ a screen-full of blank lines. /That/ speaks to me of bad data being passed to GTK, not a bug in GTK. It seems related, also, to the fact that the percentage calculated for the mode line is calculated using the /first/ character on the screen, not the middle -- which would be a more intuitive number. . . . So I would look where that number is calculated, not at GTK . . . . . . in my humble opinion. Perhaps I should start another bug on this second issue, but it does seem to me that the two problems are intimately related. Andrew