https://bugs.kde.org/show_bug.cgi?id=464397
Bug ID: 464397 Summary: Closing NeoChat when it doesn't have proper network connection will cause all account disappear Classification: Applications Product: NeoChat Version: unspecified Platform: Compiled Sources OS: All Status: REPORTED Severity: major Priority: NOR Component: General Assignee: fe...@posteo.de Reporter: wzc782970...@gmail.com CC: c...@carlschwan.eu Target Milestone: --- SUMMARY Closing NeoChat when it doesn't have proper network connection will cause all existing accounts disappear, thus when next time launching NeoChat, it will ask user to login in account as the account(s) never logged in. This might happen when the end user have a bad network connection, and this might also happen when the user have a good network connection but the matrix homeserver is down. STEPS TO REPRODUCE 1. When NeoChat complain about the network connection 2. Close NeoChat 3. (when the network or homeserver is back online) Launch NeoChat again I'm not sure if it can be stable reproduced but I have already faced that issue 2 times and my workmate also got this issue as well. Since I don't know a proper way to "backup" existing account login token/information so prefer not to try to reproduce this bug intentionally, but these might be able to help developers to reproduce: - Run a test matrix server locally and use NeoChat to connect to the server, stop the server to simulate homeserver downtime. - Using a Wi-Fi connection, disconnect the Wi-Fi to simulate bad network. - Setting up a local socks5 proxy via `ssh -D` and set this as proxy in NeoChat, then stop `ssh -D` to simulate bad network. - Using a cable connection, unplug the cabel to simulate bad network. OBSERVED RESULT When re-launch NeoChat, all previous existing logined accounts disappeared, user will need to login them again. EXPECTED RESULT All accounts are still there when re-launch NeoChat. Additionally, if the network is still unreachable when user re-launch NeoChat, it should still keep all existing accounts. SOFTWARE/OS VERSIONS both master build and nightly version, not related to OS, but already got this issue on both Windows and Linux. ADDITIONAL INFORMATION Let me know if you need any additional information -- You are receiving this mail because: You are watching all bug changes.