Summary: | Page Up / Page Down can cause posts to disappear | ||
---|---|---|---|
Product: | [Applications] Tokodon | Reporter: | huguesross |
Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | carl, josh |
Priority: | NOR | ||
Version First Reported In: | 24.12.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/network/tokodon/-/commit/66c2aa98a448e58ad295b97a277d23ce07c278fd | Version Fixed In: | 25.04.1 |
Sentry Crash Report: | |||
Attachments: | Pair of screenshots showing the timeline before & after reproducing this bug |
Description
huguesross
2025-03-24 10:44:05 UTC
Additional note since I missed the relevant field when reporting and can't update the description: - KDE Frameworks Version: 6.11.0 - QT Version: 6.8.2 A possibly relevant merge request was started @ https://invent.kde.org/network/tokodon/-/merge_requests/726 Git commit a43ec02c1a3e884e4f428bfba0707227cd60da92 by Joshua Goins. Committed on 18/04/2025 at 22:17. Pushed by redstrate into branch 'master'. Clamp contentY when using the PageUp key This can end up going way below 0, and causes all sorts of issues like missing posts. VERSION-FIXED-IN: 25.04.1 M +3 -0 src/content/ui/Components/TimelineView.qml https://invent.kde.org/network/tokodon/-/commit/a43ec02c1a3e884e4f428bfba0707227cd60da92 Git commit b904f9d2db670f983ef15e2c734c7fb9380e9115 by Joshua Goins. Committed on 18/04/2025 at 22:18. Pushed by redstrate into branch 'release/25.04'. Clamp contentY when using the PageUp key This can end up going way below 0, and causes all sorts of issues like missing posts. VERSION-FIXED-IN: 25.04.1 (cherry picked from commit a43ec02c1a3e884e4f428bfba0707227cd60da92) M +3 -0 src/content/ui/Components/TimelineView.qml https://invent.kde.org/network/tokodon/-/commit/b904f9d2db670f983ef15e2c734c7fb9380e9115 While the fix you've just made looks like it ought to work, I should note that as alluded to in the title of the thread--the same bug can also be performed by scrolling past the end of a finite page with Page Down. Reading back at my report, I apparently *only* put this in the title and not the body...sorry about that, that's on me. Same idea, just a somewhat harder to repro. Looking at your commit, I believe it's just a matter of clamping the value of root.contentY to not exceed the bottom of the page (maybe minus the viewport height? I don't work with Qt so I can only speculate here) in the other callback. Git commit 66c2aa98a448e58ad295b97a277d23ce07c278fd by Joshua Goins. Committed on 26/05/2025 at 00:26. Pushed by redstrate into branch 'master'. Clamp contentY in both directions M +1 -3 src/content/ui/Components/TimelineView.qml https://invent.kde.org/network/tokodon/-/commit/66c2aa98a448e58ad295b97a277d23ce07c278fd |