Bug 488412 - no posts shown if no Internet
Summary: no posts shown if no Internet
Status: RESOLVED FIXED
Alias: None
Product: Tokodon
Classification: Applications
Component: general (show other bugs)
Version: 24.02.2
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-12 11:01 UTC by Nicco Kunzmann
Modified: 2024-10-19 23:14 UTC (History)
2 users (show)

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


Attachments
no posts shown (36.79 KB, image/png)
2024-06-12 11:01 UTC, Nicco Kunzmann
Details

Note You need to log in before you can comment on or make changes to this bug.
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