Bug 463330

Summary: Crash when clicking on a profile picture from Notification menu
Product: [Applications] Tokodon Reporter: Enrico <enricobe>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: carl
Priority: NOR    
Version First Reported In: 22.11.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: backtrace of the crash

Description Enrico 2022-12-22 10:05:10 UTC
Created attachment 154746 [details]
backtrace of the crash

SUMMARY
***
Tokodon crashes everytime I click on a Profile picture in the Notification menu
***


STEPS TO REPRODUCE
1. Open the Notification menu
2. Press any user's profile picture.

OBSERVED RESULT
Tokodon crash

EXPECTED RESULT
Tokodon should show the user profile

SOFTWARE/OS VERSIONS
Operating System: RebornOS Linux (Arch)
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.0.12-arch1-1 (64-bit)
Graphics Platform: Wayland
Tokodon 22.11.2
Comment 1 Enrico 2022-12-22 10:26:28 UTC
Just to report that also "Like" and "Boost" on the Notification menu make Tokodon crash. Let me know if you need other backtraces for those specific actions. Only the "reply" button seems to work
Comment 2 Carl Schwan 2022-12-23 10:11:20 UTC
Git commit 3749e59882d769215ab70318c3589cd282360b88 by Carl Schwan.
Committed on 23/12/2022 at 10:10.
Pushed by carlschwan into branch 'master'.

Fix crash in notification view when interacting with post

Make sure we are reading from the correct timeline

Signed-off-by: Carl Schwan <carl@carlschwan.eu>

M  +5    -1    src/content/ui/NotificationPage.qml
M  +1    -0    src/content/ui/PostDelegate.qml
M  +3    -1    src/content/ui/TimelinePage.qml

https://invent.kde.org/network/tokodon/commit/3749e59882d769215ab70318c3589cd282360b88