Stop reloading the app every single time the app is backgrounded and foregrounded #3143
Unanswered
FalconFour
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This has been an issue for all the years I've been using HA and the companion app. It really drives me nuts and gets in the way. The way HA remembers, and doesn't remember, context really gets annoying.
Most common issue:
Navigate or scroll to something in HA.
Switch apps away, to another app or simply lock/unlock phone.
Whe you switch back to the app, "connection lost, reconnecting" appears in the corner and it reloads to the home dash, at the top of the page, losing whatever you were looking at.
Often, if I'm looking at a control, I can switch the control just in time as it displays the message and be successful in my action before the page reloads. This means it never really "lost" connection, it just got triggered externally.
And of course, the web interface never suffers from this. It just works.
Additionally, unrelated to the main issue but related in concept, today I got "stuck" in an add-on page with an unresponsive "back" button. Even completely swipe-closing the app and reopening it, it reloaded right to that add-on page again - unable to escape. Only by flipping my phone to landscape, I was able to access the main home nav, and escape the stuck add-on page. The add-on was not malfunctioning or unresponsive; the nav just didn't work. This is just an example of "remembering context even when I want it not to".
Most of the time, the app DOES reopen to the last known context, but it'll only be there for a split second before it does that whole "reconnecting" thing and dumping me back at the main page.
I just want consistency: forget context when I close the app, and preserve context between app switches background/foreground.
I've tried searching for "reloading" but can't get much. I hope this is just as annoying to others as it is for me...
Beta Was this translation helpful? Give feedback.
All reactions