Closed slabua closed 5 years ago
Hi @slabua I couldn't reproduce the same behaviour yet on my two devices.
Test 2. Could you try, if other changed settings are lost also. Please change Future events background noticeably and repeat your steps.
I suspect that on your device preferences aren't fully stored at internal card on step 2, and this is why they are lost on "Force close the app". In any case, so far I don't see, why "Text size" is so special.
Please try the same with other settings.
To all, who want to help, Please try also the below test:
Test 3.
In any case: success or failure, please report your device model and Android version.
Hi @yvolk, I tried test 2 and 3. I have no problems with test 2, as the settings are correctly saved. Test 3, though, keeps failing.
I thought that the failing settings were only the radio buttons under Other settings, so I had a try also with the time format, but that one persisted fine. For some reason, only the text size is not being saved for me.
I'm using a Pixel 3a with Android 10 (QP1A.190711.020.C3)
A little background: before the big-changes-version, it was working fine. After updating and noticing that the widget wasn't working at all, and reading that one had to completely remove the old version and reinstall the new version, I did as advised. So I'm pretty confident that any old data has been wiped during the reinstall process. But if there's anything I should try, check presence/absence/permission of some files in some path, just let me know.
I found the bug :-), inspecting the code. Text size scale was not stored properly (absence of strongly typed values...)) I could reproduce the bug in Android 9 emulator (test 3 above) and checked that it is fixed now.
What still puzzles me, is that test 3 passed successfully on my Android 7 tablet: Very small and very Large text stayed as is even after reboot... Need more investigation there...
Please test v.3.0.11 here: #320
@yvolk thank you, it works perfectly now : )
@slabua Thank you for your help!
After updating to v. 3.0.10-530 I noticed that the text size is not maintained over time. I found that it is deterministically reproducible as follows:
The effect might not be immediately visible on the widget as per refresh time, but the setting is not kept. This happens also without force closing the app, perhaps by the battery optimisation process of android, the text setting gets reverted after some time probably due to that. Force closing the app is the immediate way to test this behaviour.