From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Lars Ingebrigtsen <larsi@gnus.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#14324: 24.3;
 GTK scrollbar doesn't scroll proportionally when Line Wrapping is set
 to "Truncate Long Lines"
Date: Thu, 03 Jun 2021 10:11:22 +0200
Message-ID: <871r9j9xlh.fsf@gnus.org>
References: <87ehdseyts.fsf@archaeopteryx.i-did-not-set--mail-host-address--so-tickle-me>
 <87sg23jv7l.fsf@gnus.org> <83zgwa2a8k.fsf@gnu.org>
 <87pmx6f7me.fsf@gnus.org> <8335u122ho.fsf@gnu.org>
 <87h7igalhd.fsf@gnus.org> <83zgw8xya1.fsf@gnu.org>
 <87lf7rbew3.fsf@gnus.org> <83v96vwf5f.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="27022"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Cc: j.pertres@gmail.com, 14324@debbugs.gnu.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 03 10:12:09 2021
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1loiSX-0006oV-DK
	for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 10:12:09 +0200
Original-Received: from localhost ([::1]:36050 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1loiSV-0001pj-Ua
	for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 04:12:07 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36644)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1loiSQ-0001pa-6a
 for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 04:12:02 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:58803)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1loiSP-0001OM-VQ
 for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 04:12:01 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1loiSP-0006to-QV
 for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 04:12:01 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Lars Ingebrigtsen <larsi@gnus.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Thu, 03 Jun 2021 08:12:01 +0000
Resent-Message-ID: <handler.14324.B14324.162270789326486@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 14324
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: confirmed
Original-Received: via spool by 14324-submit@debbugs.gnu.org id=B14324.162270789326486
 (code B ref 14324); Thu, 03 Jun 2021 08:12:01 +0000
Original-Received: (at 14324) by debbugs.gnu.org; 3 Jun 2021 08:11:33 +0000
Original-Received: from localhost ([127.0.0.1]:42116 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1loiRx-0006t8-47
 for submit@debbugs.gnu.org; Thu, 03 Jun 2021 04:11:33 -0400
Original-Received: from quimby.gnus.org ([95.216.78.240]:39850)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@gnus.org>) id 1loiRv-0006su-6r
 for 14324@debbugs.gnu.org; Thu, 03 Jun 2021 04:11:31 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=3Kx1l3C8FrYSNwUzvTuoGlUYp3ubrKAdq4H6vaq8Fqg=; b=ngquKI31I62IBvrfsZ3dRVWWQL
 l/7HVU0WGTGl3yEhuGEgYlPjfBwIc9DVBjSFw/KPhDxHRF5dxqVy4DPTkbn2vwdE0lfyBTbNH60Fu
 Rlp1x3/A/oIQuWcDpwv+8OTkjFO59YlMmueLSmcqmnf7rtx1oDtcal5WeKCgw/gOmO1w=;
Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@gnus.org>)
 id 1loiRm-00089U-RF; Thu, 03 Jun 2021 10:11:25 +0200
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAKlBMVEUWEhAhHRokIR4w
 LCpFQT5BPTtRTUpwbm2ioaBiX12Cf33S0M5AP0D////jKYWoAAAAAWJLR0QN9rRh9QAAAAd0SU1F
 B+UGAwY5IsjByjMAAAEhSURBVDjL3VK9asMwEJZ8YNrtJJPOiQ2eZR9kLoSGjoW8QIhKoHMGpy9Q
 FOjQUHBT+gh9gYJerrJdWsexBg9Z+k06fafvfj4x9q/B0ccI75PBxDkxvP9A+Rjy1YiqKnx8WgMq
 LegIJpwJUd3JTnosBQo8bk04oJQTFL/DIK/OMo9jrCOXVBOCw41iPKGcZlXsvMtqKWCpniFL1hlt
 l41I0xKn/OE1Y6NyND48NdI/+4L7TMcUlG/RrdmLFuGaC4E07Myn2Sxggi1XQzVPV1NrjdlfIbbW
 D3fhcnr9Ya19WXSHngeP7wfzVWh9bBgPVVqyiNakuoZpQe1d/1kMOXdR3z+LkJ0HA3V5Y9opLoti
 00tcGLPrf2G2z71EQG5lvu/9DcTpK8x/LFvbAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA2LTAz
 VDA2OjU3OjM0KzAwOjAw5g72xQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNi0wM1QwNjo1Nzoz
 NCswMDowMJdTTnkAAAAASUVORK5CYII=
X-Now-Playing: Little Simz's _Grey Area_: "Offence"
In-Reply-To: <83v96vwf5f.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 03 Jun
 2021 11:01:16 +0300")
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.bugs:207910
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/207910>

Eli Zaretskii <eliz@gnu.org> writes:

> This bug is about Emacs getting "stuck" while scrolling, or scrolling
> erratically, not about miscalculation of the thumb size, right?

I interpreted "stuck" as "the scrollbar isn't moving" (or moving
erratically), but perhaps it's about really getting stuck?  Perhaps the
original bug reporter can clarify.

> I may be misremembering, but AFAIR that variable was introduced
> because some people actually _like_ the current default behavior wrt
> calculating the size of the scroll-bar thumb.

Sure, I can see somebody preferring the current behaviour (since it
reflects the actual buffer contents and not the visual contents).  But
in that case, both nil and t cases of `scroll-bar-adjust-thumb-portion'
should support visual/non-visual scroll bar lengths, perhaps?

(Because `scroll-bar-adjust-thumb-portion' is just about adjusting the
size so that you can always overscroll, according to the doc string.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no