frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Back arrow in settings doesn't play nice with device windows

Open Ulrar opened this issue 2 years ago • 12 comments

Checklist

  • [X] I have updated to the latest available Home Assistant version.
  • [X] I have cleared the cache of my browser.
  • [X] I have tried a different browser to see if it is related to my browser.

Describe the issue you are experiencing

The back arrow at the top of every page in the settings works well as long as you don't open any "more info" style pop ups.

For example in the devices page if you click on a device, then on the top left arrow you're brought back to the devices page as expected - great. But if you click on a device then on any of the sensor to see the graphs, then click out of that and try the back arrow again nothing happens. You have to click it twice to be brought back : once to get 'out' of the pop up which is already gone, and once to get out of the devices.

So it seems the arrow needs to be clicked once for any pop up info you may have seen, which sometimes means tapping on the arrow 10 times to get back. Particularly problematic on phones but also happens on regular desktop browsers.

Describe the behavior you expected

I'd expect the back arrow to bring me back from the page I'm on, not counting any intermediate pop ups that have already disappeared. Not sure how this is implemented but I'm guessing dismissing those info pop ups should pop one element out of the history.

Steps to reproduce the issue

  1. Go to any device page
  2. Click on a sensor
  3. Dismiss the info pop up
  4. Try the back arrow

I'm using the devices page as an example but this happens with any page that uses those little window pop up things, whatever they're called. They can be found in integrations configs, by clicking on specific log messages in the viewer ..

What version of Home Assistant Core has the issue?

2022.11

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Android app, Firefox Windows, Firefox Linux

Which operating system are you using to run this browser?

No response

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

It's been like that for a very long time, this is not new behavior. I assumed there would already be a report of this somewhere here but I couldn't find it, apologies if there is already an issue that I missed. Not knowing how any of these elements are called probably isn't helping.

Ulrar avatar Dec 06 '22 10:12 Ulrar

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Mar 06 '23 11:03 github-actions[bot]

Not stale

Ulrar avatar Mar 08 '23 15:03 Ulrar

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 20 '23 20:06 github-actions[bot]

Not stale

Ulrar avatar Jun 20 '23 20:06 Ulrar

Also experiencing something like this. I find it hard to replicate but seems to occur when I used the swipe gesture on my Pixel 6a. So perhaps its related to #15507.

mill1000 avatar Jul 25 '23 22:07 mill1000

I don't think so, it's certainly also a problem but that other issue is mobile only, since it's gesture related.

This issue is for everything, happens on PC as well and I suspect is caused by the history filling up with device windows but not removing them when they get closed / dismissed, making the back button popping non existing elements.

Ulrar avatar Jul 26 '23 05:07 Ulrar

I also have this problem. Especially when I'm in a new device and disable lots of entities that I don't need. To navigate back I have to spam click the back button really often. Often I then accidentally go further back that I wanted to.

This problem also exists on the Android App when navigating trough the dashboards. The App should close when I'm on a dashboard, no popups open and I click on the back button twice. However it navigates me trough all the pages I have been in that session. Also to get out of the settings after doing something it's faster to force quit the App & reopening it than clicking the back button hundred times.

Xitee1 avatar Aug 05 '23 10:08 Xitee1

+1, still present in 2023.8.3.

Here is an example GIF:

HA back

gzone156 avatar Aug 23 '23 10:08 gzone156

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 21 '23 10:11 github-actions[bot]

Still an issue, not stale

Ulrar avatar Nov 21 '23 10:11 Ulrar

Same here, looks like history is not managed properly, have to click back a lot of times to make it really go back...

daniel-dona avatar Jan 09 '24 13:01 daniel-dona

This happens to me all the time in the iOS app. Glad to see there is an issue related to it, sad that nobody is doing anything about it.

jshatch avatar Feb 18 '24 21:02 jshatch

can confirm, issue is still present and pretty annoying. Also present in the iOS.app

RonaldRegister avatar Apr 14 '24 07:04 RonaldRegister

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 13 '24 08:07 github-actions[bot]

Still an issue, not stale

Ulrar avatar Jul 13 '24 08:07 Ulrar

Yes still an issue.

jshatch avatar Jul 13 '24 12:07 jshatch