Bug 488412

Summary: no posts shown if no Internet
Product: [Applications] Tokodon Reporter: Nicco Kunzmann <niccokunzmann>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: carl, josh
Priority: NOR    
Version: 24.02.2   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In: 24.08
Sentry Crash Report:
Attachments: no posts shown

Description Nicco Kunzmann 2024-06-12 11:01:01 UTC
Created attachment 170411 [details]
no posts shown

SUMMARY

When my Internet connection is not working, I see that there are no posts.

STEPS TO REPRODUCE
1. Open Tokodon
2. See home timeline
3. disconnect from the Internet
4. refresh the timeline
5. nothing there claiming there was nothing to see

OBSERVED RESULT

See screenshot

EXPECTED RESULT

I would like a text at the top saying:
> We could not refresh your timeline, because ....
> Please try again later.

And I would like to see the timeline that was there before.




SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: fltpak
KDE Frameworks Version: 
Qt Version: 6.6.0

ADDITIONAL INFORMATION
Comment 1 Joshua Goins 2024-06-18 23:44:47 UTC
Strange, it should show an error. I haven't tested disconnecting the internet after logging in though, something to test soon
Comment 2 Joshua Goins 2024-06-19 21:34:14 UTC
Confirmed as the case even on git master
Comment 3 Joshua Goins 2024-06-19 21:40:09 UTC
Git commit ed3f41bee635e5aab1ff550ac7bbfb072af89cbe by Joshua Goins.
Committed on 19/06/2024 at 21:40.
Pushed by redstrate into branch 'master'.

Fix the loading indicator not showing up initially on the timeline

M  +3    -1    src/content/ui/TimelinePage.qml

https://invent.kde.org/network/tokodon/-/commit/ed3f41bee635e5aab1ff550ac7bbfb072af89cbe
Comment 4 Joshua Goins 2024-06-19 21:40:25 UTC
Git commit 4273c629eb42b76fdfae5eef224f696aeba96152 by Joshua Goins.
Committed on 19/06/2024 at 21:40.
Pushed by redstrate into branch 'release/24.05'.

Fix the loading indicator not showing up initially on the timeline
(cherry picked from commit ed3f41bee635e5aab1ff550ac7bbfb072af89cbe)

M  +3    -1    src/content/ui/TimelinePage.qml

https://invent.kde.org/network/tokodon/-/commit/4273c629eb42b76fdfae5eef224f696aeba96152