Bug 493431 - Scrolling in Tokodon is glitchy/jerky, with inconsistent scrollbar size
Summary: Scrolling in Tokodon is glitchy/jerky, with inconsistent scrollbar size
Status: RESOLVED FIXED
Alias: None
Product: Tokodon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-21 12:08 UTC by Karl Ove Hufthammer
Modified: 2024-10-17 02:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 24.12
Sentry Crash Report:


Attachments
Video showing scrolling in action in Tokodon (2.70 MB, video/mp4)
2024-09-21 12:08 UTC, Karl Ove Hufthammer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Ove Hufthammer 2024-09-21 12:08:26 UTC
Created attachment 173931 [details]
Video showing scrolling in action in Tokodon

SUMMARY
Scrolling the list of posts in Tokodon is very uncomfortable, as the scrolling is very glitchy. It is jerky (not smooth), sometimes the content moves a bit in the *opposite* direction than the scroll direction, sometimes the scrollbar moves far away from the mouse cursor, and the scrollbar is changing size (growing and shrinking) all the time.

It is reasonable that the scrollbar would shrink as more content is loaded, but this is not what’s happening. It’s might both grow or shrink when moving in either direction. See the attached video.


STEPS TO REPRODUCE
1. Click the Global category in the sidebar
2. Scroll the list of posts


OBSERVED RESULT
Glitchy, jerky scrolling with scrollbar growing and shrinking inconsistently. See attached video.

EXPECTED RESULT
Smooth scrolling, like in other KDE software. The size of the scrollbar should be proportional to the amount of content loaded.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240919
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.9-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2500 CPU @ 3.30GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2
Comment 1 Joshua Goins 2024-10-12 11:35:20 UTC
This is not our bug unfortunately, the only way to scroll nicely is to do it with a scrollwheel or touchscreen. In Qt6, they made it so ListView scrolling is now nice and smooth with variable-sized content like ours, but they did not do the same for the scrollbar :-(

Does scrolling with a mouse work more smoothly for you?
Comment 2 Joshua Goins 2024-10-17 02:07:21 UTC
Git commit d7820e98f92d57fa1336983872e4a8de9d18567d by Joshua Goins.
Committed on 17/10/2024 at 02:07.
Pushed by redstrate into branch 'master'.

Disable the scrollbar interactivity for timeline pages

These are buggy because of a Qt bug we cannot fix. Using the scrollbar
with a mouse or touch just invites too much trouble, so let's disable
them ala NeoChat. It's still possible to quickly flip through pages
using PgUp/PgDown (on a keyboard), Ctrl + scroll wheel, and the
"Go to Top" button in the bottom right.

M  +8    -1    src/content/ui/ExplorePage.qml
M  +2    -0    src/content/ui/FollowingPage.qml
M  +7    -0    src/content/ui/ListTimelinePage.qml
M  +8    -1    src/content/ui/NotificationPage.qml
M  +7    -0    src/content/ui/TimelinePage.qml

https://invent.kde.org/network/tokodon/-/commit/d7820e98f92d57fa1336983872e4a8de9d18567d