Bug 485081

Summary: Clicking on the timeline next to a post on empty space opens the post next to the click
Product: [Applications] Tokodon Reporter: Bart Ribbers <bribbers>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: carl, josh
Priority: NOR    
Version: 24.02.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 24.12
Sentry Crash Report:

Description Bart Ribbers 2024-04-05 14:00:03 UTC
SUMMARY
When clicking the empty space between a post and the border of the window (or side panel on the left side) when on the timeline view opens the post next to where is clicked. This is unexpected and really threw me off a few times when I just tried to focus the window by clicking on the empty space.

STEPS TO REPRODUCE
1. Open the timeline view
2. Click next to a post, on the empty space of the page

OBSERVED RESULT
The post next to the click is opened

EXPECTED RESULT
Nothing to happen, the user didn't click on a post to open.

SOFTWARE/OS VERSIONS
Linux: Alpine Linux edge
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Comment 1 Joshua Goins 2024-10-19 22:25:22 UTC
Git commit 593193e9b1d105d099fbc4aeba5c36b20cb0d7a7 by Joshua Goins.
Committed on 19/10/2024 at 22:25.
Pushed by redstrate into branch 'master'.

Only open the post when the content itself is tapped, not the sides

M  +4    -2    src/content/ui/PostDelegate/PostDelegate.qml
M  +44   -26   src/content/ui/PostDelegate/PostLayout.qml

https://invent.kde.org/network/tokodon/-/commit/593193e9b1d105d099fbc4aeba5c36b20cb0d7a7