GNU bug report logs - #14324
24.3; GTK scrollbar doesn't scroll proportionally when Line Wrapping is set to "Truncate Long Lines"

Previous Next

Package: emacs;

Reported by: j.pertres <at> gmail.com

Date: Tue, 30 Apr 2013 17:09:01 UTC

Severity: wishlist

Tags: confirmed

Found in version 24.3

Full log


Message #25 received at 14324 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: j.pertres <at> gmail.com, 14324 <at> debbugs.gnu.org
Subject: Re: bug#14324: 24.3; GTK scrollbar doesn't scroll proportionally
 when Line Wrapping is set to "Truncate Long Lines"
Date: Wed, 02 Jun 2021 07:23:10 +0200
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

> Thanks.  I don't see any issues with this.  I'm not on GTK, so maybe
> this is an issue with GTK scrollbars?

Just so we're on the same page, here's screenshots of the situation.

[long1.jpg (image/jpeg, attachment)]
[Message part 3 (text/plain, inline)]
This is without truncate-lines.

[long2.jpg (image/jpeg, attachment)]
[Message part 5 (text/plain, inline)]
With truncate-lines.  Note that the scroll bar has the same identical
length.

[long3.jpg (image/jpeg, attachment)]
[Message part 7 (text/plain, inline)]
And finally with the lines truncated for real -- note the longer scroll
bar.

So it seems to compute the length of the scroll bar based on the
non-truncated length of the text in the buffer.

> 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).

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

This bug report was last modified 4 years and 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.