titinko/utsu

Country code weren't being properly parsed back after being written to preferences

Opened this issue · 5 comments

Version: 0.4.3
Platform: 64-bit Linux

If you changed some config and restart utsu, the config will take no effect.

I can't reproduce this on my own Linux so it may be something specific to your computer's setup. In the backend, preferences are stored in a .utsu folder in your home directory, which is the default directory that will show up if you open a terminal window. Could you check if there's a .utsu folder in your filesystem and, if so, if the folder has your preferences stored in .utsu/0.5/preferences.xml?

I checked .utsu directory, the file .utsu/0.5/preferences.xml exists.
Then I find this probably is not a bug about preferences loading, because it looks only affect language preference.
When you set language to French, Chinese Simplified, Chinese Traditional, Bahasa Indonesia, Russian and restart utsu, then language will be set to default, but set to other language won't be like this.

Was able to reproduce the bug, but only with the following four languages: French, Chinese Simplified, Chinese Traditional, and Brazilian Portuguese. What happened was that languages with a country code weren't being properly parsed back after being written to preferences.

The fix for this bug should show up in the next release.

Thank you for spending time to fix this.

😉

Fixed with v0.4.4.