Bug 488389 - Cannot Re-Attempt Log In
Summary: Cannot Re-Attempt Log In
Status: RESOLVED FIXED
Alias: None
Product: Tokodon
Classification: Applications
Component: general (show other bugs)
Version: 24.02.2
Platform: Flatpak Linux
: NOR grave
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 22:21 UTC by Nicco Kunzmann
Modified: 2024-10-19 21:10 UTC (History)
2 users (show)

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


Attachments
screenshot of window that I see (70.06 KB, image/png)
2024-06-11 22:21 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-11 22:21:24 UTC
Created attachment 170394 [details]
screenshot of window that I see

SUMMARY

I opened Tokodon again and it did not log in. Instead, it show that I can Re-Attempt Login but that does nothing.


STEPS TO REPRODUCE
1. Login
2. Maybe join a wifi that messes with HTTPS or blocks
3. Login fails when again in a good wifi.

OBSERVED RESULT

I click on the "Re-Attempt Log In" button and nothing happens.

```
Qt: Session management error: Could not open network socket
qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
kf.kirigami: OverlayZStacking must be attached to a Popup
qrc:/qt/qml/org/kde/tokodon/content/ui/UserInfo.qml:101:21: QML Separator: Possible anchor loop detected on horizontal anchor.
org.kde.tokodon.http: QVariant(int, 401) QUrl("https://toot.wales/api/v1/accounts/verify_credentials")
qrc:/qt/qml/org/kde/tokodon/content/ui/LoginFlow/LoginIssuePage.qml:14:1: QML LoginIssuePage: Created graphical object was not placed in the graphics scene.
qrc:/qt/qml/org/kde/kirigamiaddons/formcard/FormTextDelegate.qml:83:9: QML ContentItemLoader: List didn't append all objects
qrc:/qt/qml/org/kde/tokodon/content/ui/LoginFlow/LoginIssuePage.qml:14:1: QML LoginIssuePage: Created graphical object was not placed in the graphics scene.
qrc:/qt/qml/org/kde/kirigamiaddons/formcard/FormTextDelegate.qml:83:9: QML ContentItemLoader: List didn't append all objects
org.kde.tokodon.http: QVariant(int, 401) QUrl("https://toot.wales/api/v1/preferences")
org.kde.tokodon.http: QVariant(int, 401) QUrl("https://toot.wales/api/v1/follow_requests")
qrc:/qt/qml/org/kde/tokodon/content/ui/LoginFlow/LoginIssuePage.qml:14:1: QML LoginIssuePage: Created graphical object was not placed in the graphics scene.
qrc:/qt/qml/org/kde/kirigamiaddons/formcard/FormTextDelegate.qml:83:9: QML ContentItemLoader: List didn't append all objects
org.kde.tokodon.http: QVariant(int, 401) QUrl("https://toot.wales/api/v1/accounts/verify_credentials")
qrc:/qt/qml/org/kde/tokodon/content/ui/LoginFlow/LoginIssuePage.qml:14:1: QML LoginIssuePage: Created graphical object was not placed in the graphics scene.
qrc:/qt/qml/org/kde/kirigamiaddons/formcard/FormTextDelegate.qml:83:9: QML ContentItemLoader: List didn't append all objects
qrc:/qt/qml/org/kde/tokodon/content/ui/LoginFlow/LoginIssuePage.qml:14:1: QML LoginIssuePage: Created graphical object was not placed in the graphics scene.
qrc:/qt/qml/org/kde/kirigamiaddons/formcard/FormTextDelegate.qml:83:9: QML ContentItemLoader: List didn't append all objects
org.kde.tokodon.http: QVariant(int, 401) QUrl("https://toot.wales/api/v1/preferences")
org.kde.tokodon.http: QVariant(int, 401) QUrl("https://toot.wales/api/v1/follow_requests")
```

toot.wales runs mastodon 4.2.9 at this moment.

EXPECTED RESULT

I went though this authentication process at the start and I would expect the browser to open for the OAuth process but nothing happens.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Flatpak

ADDITIONAL INFORMATION

When I click on View Website, the browser opens and I am logged in.
Comment 1 Joshua Goins 2024-07-06 16:18:59 UTC
Yes, unfortunately this button only works in some limited circumstances that I'm still working on communicating. 

However, now I added a button to log out on this page: https://invent.kde.org/network/tokodon/-/commit/44887f0dd7b577011e0b22d58e06f0cb84377a2a which will show up in 24.08. In the future I want to make it easier to re-authorize, more like what you imagined. Not closing until that's done though :)
Comment 2 Nicco Kunzmann 2024-07-07 12:48:57 UTC
Wow, thank you! I will wait for the release on flathub :)