iOS icon indicating copy to clipboard operation
iOS copied to clipboard

Missing icons when opening a my.home-assistant.io link on iPadOS

Open ghost opened this issue 4 years ago • 13 comments

iOS device model, version and app version

Model Name: iPad (6. Generation) Software Version: 14.5 (18E5164h) App version: 2021.3 (2021.77)

Home Assistant Core Version 2021.3.2

Describe the bug When opening a my.home-assistant.io link on my iPad (not on the iPhone) automatically in the Home Assistant app the icons in the sidebar and on the top are hidden (screenshots)

To Reproduce

  • Open any my.home-assistant.io link on home-assistant.io
  • When the app opens tap on ‚Open link‘
  • Then the link opens the page in Home Assistant, but most of the buttons are missing

Expected behavior All buttons are shown

Screenshots

1E7D12B0-0B08-4DBA-93F9-F5CD0503635D 554B3444-5BB4-4D2F-8ABB-0FF85E0D4D4A 03BDA240-5590-43DB-A3DA-ED3EF0646202 18C644DE-D9CB-402B-A757-41A8DEFCE081

Additional context

ghost avatar Mar 07 '21 10:03 ghost

If you open the my link in Safari instead of the app, does the same thing happen?

robbiet480 avatar Mar 07 '21 19:03 robbiet480

@robbiet480 No, it doesn‘t happen in the Safari browser (see screenshot).

DDA43ACD-3154-41D8-83F3-07EC8FCC6BB3

ghost avatar Mar 07 '21 21:03 ghost

Can you try resetting the App's frontend cache (in app go to App Configuration then it's the bottom option there) and try reopening the my.home-assistant link in the app

TomBrien avatar Mar 07 '21 21:03 TomBrien

@TomBrien Yes, I tried that out, but nothing changed

ghost avatar Mar 07 '21 21:03 ghost

I have the same bug. I’m also missings a lot of icons at my dashboard and some in the sidebar.

i removed HA completely also from phone, nevertheless the result is the same after reinstalling

robiebab avatar May 21 '21 21:05 robiebab

Same issue on iPhone. It seems as though its not just icons, but certain texts, too. Could be a translations failure or similar? The left menu on mine now says "developer_tools" and "config" where it used to say "Developer Tools" and "Configuration".

westonnovelli avatar Aug 20 '21 21:08 westonnovelli

Same issue on iPhone. It seems as though its not just icons, but certain texts, too. Could be a translations failure or similar? The left menu on mine now says "developer_tools" and "config" where it used to say "Developer Tools" and "Configuration".

@westonnovelli your issue looks very similar to an issue that was fixed a little while ago (that was indeed to do with loading translations if I remember correctly). Is you Home Assistant core version up to date?

TomBrien avatar Aug 20 '21 21:08 TomBrien

Is you Home Assistant core version up to date?

I believe so:

Core
Version
  core-2021.8.8
Newest Version
  core-2021.8.8

westonnovelli avatar Aug 20 '21 21:08 westonnovelli

Yep that's up to date? I assume likewise for app? Do you see the same in Safari on iOS?

TomBrien avatar Aug 20 '21 22:08 TomBrien

Yep that's up to date? I assume likewise for app? Do you see the same in Safari on iOS?

Yes, the app is also running latest available. Reinstall of the app did not help. Loading the local or remote HA site in Safari works correctly.

Over the last 2 days, the app was able to load correctly for a brief usage session (i.e. open app, toggle some lights, check the thermostat, close the app). I don't think I did anything different between correct and incorrect behavior.

westonnovelli avatar Aug 23 '21 18:08 westonnovelli

I have had the missing icons issue (and more) for many months, usually when switching from a different app back into the companion app on two different iPads. I filed in the frontend repository and didn't get any useful feedback.

fmonday avatar Sep 11 '21 15:09 fmonday

Same thing happens for me as well.

It seems that this is somehow related to SSL. If I use http://<LOCAL-IP>:8123 as the internal URL, everything is snappy and looks as expected. If I use homeassistant.home (handled by local DNS server) via http, still everything works as expected.

As soon as I switch to https, it is not working anymore on my local network (with an untrusted, self-seigned cert). Switching to a publicly available URL with a Let's Encrypt cert that connects to my HA instance via an SSH Tunnel doesn't change the behaviour.

In these cases icons and texts are missing as mentioned above, and loading times increase like a lot (feels as if things are reloaded on each page!?). I see this loading screen every time I select an entry from the menu.

apauly avatar Nov 02 '21 20:11 apauly

I have had this problem too since three years now. It started with my 10” ipad pro, then later with a current gen 12” pro. Parts of the screen do not redraw when it opens, flicking that area of the screen causes it to redraw and display. In 2019 I discussed this in the mobile apps section of discord with zacwest (I think one of the devs), so multiple devices of different generations and several ios versions it has existed. You can search discord for from user thebatfink around 2019.

I also opened a what the heck as its a little more open this year in the hopes of getting some traction, please vote and reply, maybe it will add visibility of this issue. https://community.home-assistant.io/t/wth-why-does-the-ipad-ha-app-ui-sometimes-not-redraw-on-opening/467810/9

633260DD-9601-4749-8207-F50C20D09456

thebatfink avatar Oct 15 '22 06:10 thebatfink

Is this still an issue with latest versions of app and core? Feel free to reopen if needed

bgoncal avatar Mar 26 '24 12:03 bgoncal