Bug 483033 - Stuck in accounts screen with no path forward
Summary: Stuck in accounts screen with no path forward
Status: RESOLVED WORKSFORME
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: 24.02.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-09 20:11 UTC by Hugo Osvaldo Barrera
Modified: 2024-03-20 14:28 UTC (History)
1 user (show)

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


Attachments
screenshot of neochat (73.77 KB, image/png)
2024-03-09 20:11 UTC, Hugo Osvaldo Barrera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Osvaldo Barrera 2024-03-09 20:11:04 UTC
Created attachment 166826 [details]
screenshot of neochat

SUMMARY

I'm stuck in the account screen (see screenshot). Apparently I can log out, but can't continue past this screen.
Clicking on my username or on the arrow to its right does nothing.

Compete terminal output:

> neochat
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"
Reading access token from the keychain for "@whynothugo:matrix.org"
file:///usr/lib/qt6/qml/org/kde/kirigami/templates/private/PassiveNotificationsManager.qml:171:19: QML Control: Binding loop detected for property "implicitHeight"
file:///usr/lib/qt6/qml/org/kde/kirigami/templates/private/PassiveNotificationsManager.qml:171:19: QML Control: Binding loop detected for property "implicitHeight"



STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


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

ADDITIONAL INFORMATION
Comment 1 Tobias Fella 2024-03-09 21:14:07 UTC
This is because neochat fails to load your account for some reason. Try logging out and back in
Comment 2 Hugo Osvaldo Barrera 2024-03-20 14:12:42 UTC
Clocking on the red "X" next to the account does not delete it.

I wanted to try simply wiping all settings, but I don't see neochat's data files in ~/.local/share/neochat or ~/.local/state/neochat or ~/.cache/neochat.
Comment 3 Hugo Osvaldo Barrera 2024-03-20 14:16:29 UTC
I tried picking "Login" and adding the same account again but it simply freezes after I provide a password.

I restarted neochat and after a third time it did work; I got two successive requests from keepassxc to disclose secrets (looks like neochat tried to read them multiple times at startup this time?) and then it worked.

Not sure if I'm seeing a flaky issue or what.
Comment 4 Hugo Osvaldo Barrera 2024-03-20 14:28:25 UTC
I think the root of the issue here was a mis-configuration on my part; keepassxc was prompting for consent to disclose a secret, but due to some local configuration those prompts are very frequently not visible (see also: https://github.com/keepassxreboot/keepassxc-browser/issues/1980 ).

It's possible that I was not running KPXC some of the times I had tried. It seems that neochat provides no indication when the secret service is not running.

I do think that printing a bit more information to stdout would help. Especially when the secret service is not running.

I'll close this though, since this seems to be resolved. Sorry for the noise.