From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.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 11:01:16 +0300
Message-ID: <83v96vwf5f.fsf@gnu.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>
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="20386"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: j.pertres@gmail.com, 14324@debbugs.gnu.org
To: Lars Ingebrigtsen <larsi@gnus.org>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 03 10:02:11 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 1loiIt-00057Y-7s
	for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 10:02:11 +0200
Original-Received: from localhost ([::1]:58406 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 1loiIs-0005rz-7F
	for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 04:02:10 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34682)
 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 1loiIk-0005rc-Pn
 for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 04:02:02 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:58783)
 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 1loiIk-0002yQ-IN
 for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 04:02:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1loiIk-00065p-Gw
 for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 04:02:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Eli Zaretskii <eliz@gnu.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:02:02 +0000
Resent-Message-ID: <handler.14324.B14324.162270729322022@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.162270729322022
 (code B ref 14324); Thu, 03 Jun 2021 08:02:02 +0000
Original-Received: (at 14324) by debbugs.gnu.org; 3 Jun 2021 08:01:33 +0000
Original-Received: from localhost ([127.0.0.1]:42096 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1loiIH-0005iv-GE
 for submit@debbugs.gnu.org; Thu, 03 Jun 2021 04:01:33 -0400
Original-Received: from eggs.gnu.org ([209.51.188.92]:40888)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@gnu.org>) id 1loiIF-0005dE-OW
 for 14324@debbugs.gnu.org; Thu, 03 Jun 2021 04:01:32 -0400
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60644)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@gnu.org>)
 id 1loiIA-0002Wd-Di; Thu, 03 Jun 2021 04:01:26 -0400
Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2052
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1loiI9-0007eF-V9; Thu, 03 Jun 2021 04:01:26 -0400
In-Reply-To: <87lf7rbew3.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 
 03 Jun 2021 09:12:28 +0200)
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:207908
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/207908>

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: j.pertres@gmail.com,  14324@debbugs.gnu.org
> Date: Thu, 03 Jun 2021 09:12:28 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > So does it mean that that variable could be a solution to the problem?
> > Or did I misunderstand you?
> 
> The bug reported by the user is that Emacs miscalculates the size of the
> scroll bar by default (with truncated lines).  It doesn't miscalculate
> this if `scroll-bar-adjust-thumb-portion' is nil, so it seems like this
> is a bug that could (and should) be fixed in the t case.

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

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.

Emacs should not get stuck scrolling, of course, but I cannot
reproduce that on my system, so someone will have to investigate and
tell why scrolling gets stuck or scrolls erratically in some
situations when scroll-bar-adjust-thumb-portion is non-nil.  Or maybe
I misunderstand what erratic scrolling is being alluded to here.