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: Wed, 02 Jun 2021 15:10:30 +0300
Message-ID: <83zgw8xya1.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>
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="1511"; 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 Wed Jun 02 14:11: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 1loPiG-000086-UN
	for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 14:11:08 +0200
Original-Received: from localhost ([::1]:35176 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 1loPiG-0006OX-1I
	for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 08:11:08 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46730)
 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 1loPiA-0006OP-M1
 for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2021 08:11:02 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:55802)
 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 1loPiA-0008IK-E9
 for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2021 08:11: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 1loPiA-0007M5-8l
 for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2021 08:11: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: Wed, 02 Jun 2021 12:11:02 +0000
Resent-Message-ID: <handler.14324.B14324.162263584828250@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.162263584828250
 (code B ref 14324); Wed, 02 Jun 2021 12:11:02 +0000
Original-Received: (at 14324) by debbugs.gnu.org; 2 Jun 2021 12:10:48 +0000
Original-Received: from localhost ([127.0.0.1]:39115 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1loPhv-0007LZ-SZ
 for submit@debbugs.gnu.org; Wed, 02 Jun 2021 08:10:48 -0400
Original-Received: from eggs.gnu.org ([209.51.188.92]:53050)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@gnu.org>) id 1loPhu-0007LL-Jr
 for 14324@debbugs.gnu.org; Wed, 02 Jun 2021 08:10:47 -0400
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45116)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@gnu.org>)
 id 1loPhp-000802-5W; Wed, 02 Jun 2021 08:10:41 -0400
Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4150
 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 1loPho-0002Zb-OV; Wed, 02 Jun 2021 08:10:41 -0400
In-Reply-To: <87h7igalhd.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 
 02 Jun 2021 07:23:10 +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:207859
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/207859>

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: j.pertres@gmail.com,  14324@debbugs.gnu.org
> Date: Wed, 02 Jun 2021 07:23:10 +0200
> 
> With truncate-lines.  Note that the scroll bar has the same identical
> length.

I think this is a known problem, since we don't count screen lines, we
count characters.

> > What happens if you customize the value of
> > scroll-bar-adjust-thumb-portion?
> 
> Then it seems to adjust the height of the scroll bar logically (i.e.,
> based on what's shown in the window, and not on the length of the
> (truncated) text).

So does it mean that that variable could be a solution to the problem?
Or did I misunderstand you?