Ticket #1611 (closed Bug: fixed)
Total data loss / corruption of all preferences
|Reported by:||mats.ahlgren@…||Owned by:||bflorat|
|Priority:||10, highest||Milestone:||1.9 "Killer Queen"|
My X-server crashed, presumably taking Jajuk down with it. However when I reopened Jajuk, the theme was different, and I got the "the last instance will save preferences" dialog. I select one of the options, but force-kill the app. I then look in .jajuk/conf.properties, and it seems to be the *default*.
Moreover, there are no conf.properties backups (like the collection.xml file; however the collection database was fine).
Setting severity to max.
It seems as if Jajuk should keep backups of the preferences, and not override the preferences if it detects corruption. If corruption is detected, it should:
1) make a temporary backup of the current conf
2) prompt the user: Please quit, or force-quit, any other instances of Jajuk that are running. [Ok] -- no other options
3) Say "Jajuk was not shut down cleanly. Reverting to last clean preference backup from [datetime]. Other corrupt preference files have been marked in ~/.jajuk and saved for you."
Logs reveal nothing interesting about how this could have happened. Dumb spam filter is preventing me from uploading log or inserting a URL to pastebin, but I can copy-paste into a comment if desired.