Mishiranu / Dashchan

Imageboards client for Android
GNU General Public License v3.0
397 stars 49 forks source link

Settings restore to default after closing app #284

Open Doronski71 opened 3 years ago

Doronski71 commented 3 years ago

Settings restore to default after closing app

Doronski71 commented 3 years ago

Продублирую на русском. Слетают настройки после перезапуска приложения. Не каждый раз. Пробовал сохранить настройки. В итоге слетают реже, но всё равно баг есть. Откатился на 3.1.2, всё работает как надо

Mishiranu commented 3 years ago

Можешь попробовать логи сделать как здесь написано?

QWEABCDEWQ commented 3 years ago

Точно такая же хрень после недавнего обновления. К сожалению, за полдня файл с логами пустой.

bloatmode commented 3 years ago

I'm having the same issue on version 3.1.3, and it wasn't present on 3.1.2. Nothing is logged in the errors directory, I just created the logs directory to see if anything will be written there. A workaround is loading preferences from the most recent backup. My phone is an LG G5 with LineageOS 17.1 for microG.

bloatmode commented 3 years ago

Here are a couple of logs, I don't know if settings were reset at 1:41 but they certainly were when I launched the app at 14:33

https://gist.github.com/bloatmode/5c41e9c7be50d4eb40093a15864885ff

https://gist.github.com/bloatmode/dc42583c4746f2cc29cae37e86491a94

Here is a log after an automatic restart after restoring preferences from a backup and everything working fine:

https://gist.github.com/bloatmode/99be7f38c4c5ca57a76c8c1c3e5550af

turbotum commented 3 years ago

HELLO FRIENDS I have found a solution to this problem:

After doing this my settings no longer reset. This was driving me crazy but at least now there is this temporary solution, until the app is patched.

bloatmode commented 3 years ago

@turbotum I did that too, but my settings kept getting reset.

turbotum commented 3 years ago

@turbotum I did that too, but my settings kept getting reset.

Have you tried restoring the saved settings?

bloatmode commented 3 years ago

@turbotum yes, they last for a day or two and then they get reset

turbotum commented 3 years ago

@bloatmode dang, well, hoping this gets noticed then 😔

Mishiranu commented 3 years ago

The problem is related to WebView, will be fixed in the next release.