-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugs when switching apps #53
Comments
Hi @Efreak, can you attach a video going thru the flow as mentioned? Thanks! |
Some of these issues (8.1) were fixed or only show up sometimes (I've been waiting for it to go back to the wrong article and it hasn't in the past couple days): it popped to the correct article now. |
@Efreak , can this be consistently reproduced? or it just happens occasionally? |
Apologies for the delay. I forgot I'd opened this issue. Yes, this is pretty reliable. I just encountered it again now. It's frustrating being in the middle of a comment, switching apps to check a date, and when switching back the entire context has changed. |
It sounds like this might be happening when the activity is destroyed (or is it stopped?) by the system. If so, then this can be provoked by enabling "Don't keep activities" in the android system developer settings. The hacki activity will then be destroyed as soon as user navigates to another activity. It is the app's responsibility to keep the state that is needed when it's activity is restarted. Mind you my terminology might not be entirely correct, I'm far from an expert on Android lifecycles. As Hacki is written in Dart/Flutter it would guess there is an easy way to maintain the state required. |
@Efreak is this issue still reproducible on v2.3.1? I have tried several times on my only Android phone (Nokia 5.4 with Android 13) but have not been able to reproduce it. |
I haven't seen it recently, but I also haven't been reading HN as much lately. I'll reopen if I see it again. |
This might be useful: flutter/flutter#20897
The text was updated successfully, but these errors were encountered: