[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14324: 24.3; GTK scrollbar doesn't scroll proportionally when Line W
From: |
Lars Ingebrigtsen |
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 07:23:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@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
Description: JPEG image
This is without truncate-lines.
long2.jpg
Description: JPEG image
With truncate-lines. Note that the scroll bar has the same identical
length.
long3.jpg
Description: JPEG image
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