[X] I confirm that I have searched existing issues and couldn't find a similar bug.
[x] I have read the documentation carefully and it couldn't resolved my problem.
Describe the bug
The program gives an error when the drive Sydney Qt is on has not space left and the application cannot save its data, it proceeds to have an error and then once you okay the error it crashes.
You then need to delete the config.lock file or the program will not open again and gives an error,
If the JSON file is empty (It can be empty after a crash where no disk space) the program gives an error seen in the screenshot.
To Reproduce
Steps to reproduce the behavior:
When SydneyQt is open on a drive that runs out of space or has not space left it cannot save the data and crashes.
You have to delete the config.lock file or JSON file. But then all settings and chats are lost.
Expected behavior
The program should handle when the drive does not have space and handles saving the program's chats and settings without losing data.
Maybe warn the user the drive is out of space, but the program already deletes all you're setting and chats once it tries to save as it tries to write to a full disk.
Screenshots
Desktop (please complete the following information):
Checks
Describe the bug
The program gives an error when the drive Sydney Qt is on has not space left and the application cannot save its data, it proceeds to have an error and then once you okay the error it crashes.
You then need to delete the config.lock file or the program will not open again and gives an error,
If the JSON file is empty (It can be empty after a crash where no disk space) the program gives an error seen in the screenshot.
To Reproduce
Steps to reproduce the behavior:
When SydneyQt is open on a drive that runs out of space or has not space left it cannot save the data and crashes.
You have to delete the config.lock file or JSON file. But then all settings and chats are lost.
Expected behavior
The program should handle when the drive does not have space and handles saving the program's chats and settings without losing data.
Maybe warn the user the drive is out of space, but the program already deletes all you're setting and chats once it tries to save as it tries to write to a full disk.
Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.