Bug 476343

Summary: Stuck after specifying the wrong homeserver
Product: [Applications] NeoChat Reporter: giorgio.gallo
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED NOT A BUG    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: 23.08.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description giorgio.gallo 2023-10-30 21:14:33 UTC
SUMMARY
I specified the wrong homeserver and I'm stuck.

STEPS TO REPRODUCE
1. install neochat
2. specify a wrong homeserver (I wrote @user:example.com instead of @user:chat.example.com)
3. neochat will give a nice error, but then all the controls stay disabled and there's no way to recover (not even after relaunching)

SOFTWARE/OS VERSIONS
Got this in an up-to date tumbleweed, but I guess it doesn't depend on the distro. 

ADDITIONAL INFORMATION

`rm -fr .local/share/KDE/neochat/ .config/neochatrc` does not help.
Comment 1 Tobias Fella 2023-10-30 21:18:20 UTC
Entering the wrong server name won't prevent you from logging in after restarting.

I think your server is missing a piece of configuration that neochat needs for logging in; would you mind sharing your server's domain? (just the "example.com" as in your example)
Comment 2 giorgio.gallo 2023-10-30 21:26:42 UTC
Thanks for the quick reply. 

I see what you mean now: I was closing the neochat window (with the X button), but not actually quitting the application.

Feel free to close this if you think it's not an issue, but I think requiring to quit via the tray bar icon is very confusing for new users and cause some of them to pick a different app (I didn't notice the tray icon, and didn't know neochat uses it since it's the first time I used it).
Comment 3 Tobias Fella 2023-10-30 21:27:57 UTC
Yeah the tray icon is.... a thing. 

FWIW, the login stuff has been reworked since the last release and things like this should no longer happen, so I'll close this