Frontend: Flashing icons in entity dropdowns 0.110.0b0

Created on 14 May 2020  路  14Comments  路  Source: home-assistant/frontend

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.

The problem

All entity dropdowns appear to have flashing icons when the dropdown is expanded. You can see this in all of the card editors, the entity dropdown in the States panel, the entity dropdown in Logbook.

image

When selecting an entity in any of the card editors, the icons seem to flash (disappear and reappear) quite a bit. I first noticed it in the glance card but it occurs in all of them as far as I can tell.

Expected behavior


For it to not do this 馃槢

Steps to reproduce


1. Configure UI > open any card editor
2. Select Entity dropdown, icons will be flashing quickly

Environment

  • Home Assistant release with the issue: 0.110.0b0
  • Last working Home Assistant release (if known): 0.109.X
  • Browser and browser version: Chrome
  • Operating system: macOS

State of relevant entities


Problem-relevant configuration


Javascript errors shown in your browser console/inspector


Additional information

bug

All 14 comments

I don't see this, what browser are you using?

Latest Chrome stable on desktop but I saw it on the iOS app too (wasn鈥檛 as noticeable there though).

It鈥檚 not constant flashing like a strobe light or anything, but like every ~2-3 seconds at random times the icons will disappear for a few milliseconds. The text always stays in place and is readable, so this is just the icons only. Just a little distracting that鈥檚 all.

Initially I thought it was the card editors refreshing the preview that was causing the icons to flash but then I noticed it elsewhere (Services panel).

Yeah it seems related to an entity updating, but we can't reproduce it in dev, so let's hope it is fixed in the next version 馃槃

@SeanPM5 still seeing this?

8c054ff902ce22016e686ba949f844e7

https://gyazo.com/8c054ff902ce22016e686ba949f844e7

Link to gif may be able to see it better.

This is set up with the Second ticker automation to update the weather entity

Don't check the preview, that has been fixed in the next beta, but any other entity picker

Still unable to reproduce in dev. But my dev is much faster and only running Core. So it is quite possible that the pull from the DB is happening to slow in production

Maybe keeping the DB connection open is a good idea?

It is client side, so do you use a different browser to do it? :P

I'm able to reproduce in production but not in dev :-/ that sucks

Issue is still there on 0.110.0b3 / 20200515.0
Latest Chrome on MacOS

I do not see the flashing anymore on 0.110.0b4 / 20200518.0

Indeed, seems to be fixed in 0.110.0b4 馃帀

Was this page helpful?
0 / 5 - 0 ratings

Related issues

move[bot] picture move[bot]  路  3Comments

TheZoker picture TheZoker  路  3Comments

SeanPM5 picture SeanPM5  路  3Comments

bmf7777 picture bmf7777  路  3Comments

Depechie picture Depechie  路  3Comments