Frontend: lovelace turns white and displays no tab content in safari

Created on 17 Jan 2019  路  11Comments  路  Source: home-assistant/frontend

Home Assistant release with the issue:
0.85+

Last working Home Assistant release (if known):
0.84.6

Browser and Operating System:
Safari Version 12.0 (14606.1.36.1.9)
MacOS Mojave

Description of problem:
Lovelace stops working when it is open for a x nr of minutes. First the tabs stop showing content and later the blue theme turned to white.
A refresh of the page or switching from dev-tools back to overview solves the problem as well.

lovelace white bug

At first it thought it was an issue with custom-ui but even with custom-ui disabled this behaviour still happens.

Chrome seems unaffected.

Javascript errors shown in the web inspector (if applicable):
none

Additional information:

Most helpful comment

I think a lot of these 'iOS/Safari only' issues can be traced back to some sort of Lovelace memory leak in webkit.
When profiling a simple Lovelace view I get constantly increasing memory consumption ranging from 800MB to over 2GB sometimes. Even when switching back and forth between views no memory is released whatsoever and looks like the view gets recreated consuming even more memory.
My plan is to dive into this more and create a new issue this weekend.

All 11 comments

Been getting this as well

perhaps it was a caching issue because I haven't seen these white screens for a while now. What about you @fillwe?
edit: hmm I spoke too soon, although I don't see it on my mobile atm (iOS/safari), safari on my mac still goes white

has this been fixed in 0.86.1? @balloob

oops, didn't see your last sense. Thought you couldn't repro

I think a lot of these 'iOS/Safari only' issues can be traced back to some sort of Lovelace memory leak in webkit.
When profiling a simple Lovelace view I get constantly increasing memory consumption ranging from 800MB to over 2GB sometimes. Even when switching back and forth between views no memory is released whatsoever and looks like the view gets recreated consuming even more memory.
My plan is to dive into this more and create a new issue this weekend.

@thomasloven found an issue with hui-generic-row and I just opened PR #2636 to attempt to fix it.

Also, hi @NovapaX 馃憢 , long time no see !

Did 0.87 memory leak fixes resolve this for people?

Yeah I haven't had this issue since 0.87

i'll start testing as well

no issues on my side. Hurray!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Misiu picture Misiu  路  3Comments

SeanPM5 picture SeanPM5  路  3Comments

aaron9060 picture aaron9060  路  3Comments

Fusseldieb picture Fusseldieb  路  4Comments

agneevX picture agneevX  路  3Comments