Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Taco Bell favicon flashes on mouseover #13487

Closed
petemill opened this issue Mar 17, 2018 · 12 comments
Closed

Taco Bell favicon flashes on mouseover #13487

petemill opened this issue Mar 17, 2018 · 12 comments
Labels
0.22.x issue first seen in 0.22.x priority/P5 Cosmetic. Spelling, copy, layout. New features (which should also be part of an initiative). regression stale wontfix

Comments

@petemill
Copy link
Member

Description

Introduced with #12565. Haven't been able to reproduce on any other sites apart from tacobell.com.
Thanks for the find @bsclifton

Steps to Reproduce

  1. Have a tab with tacobell.com's favicon
  2. Mouse over tab

Actual result:

  1. Icon flashes on and off

Expected result:
Icon remains visible

Reproduces how often:

Brave Version

about:brave info:

Reproducible on current live release:

No

Additional Information

@petemill petemill added regression 0.22.x issue first seen in 0.22.x labels Mar 17, 2018
@petemill petemill added this to the 0.22.x (Beta Channel) milestone Mar 17, 2018
@petemill petemill self-assigned this Mar 17, 2018
@alexwykoff alexwykoff added the priority/P5 Cosmetic. Spelling, copy, layout. New features (which should also be part of an initiative). label Mar 20, 2018
@petemill petemill modified the milestones: 0.22.x (Beta Channel), Backlog (Prioritized) Mar 27, 2018
@kjozwiak
Copy link
Member

Also noticed this happening on https://badssl.com/ when QAing 0.22.13.. Example:

icoflash

@jayyyin
Copy link

jayyyin commented Apr 5, 2018

if it's ok I'd like to look into this...

@petemill
Copy link
Member Author

petemill commented Apr 5, 2018

@jayyyin go for it - please! Would be great to try and reproduce on something like codepen.io in order to experiment with fixing in a small reproducible scenario. It's possible that the gradient is interfering with certain types of favicon image encoding, as you've found in #13746. Forcing the favicon to paint on a new layer may help, but I think I tried that in initial investigation and promptly gave up for the time being!

@jayyyin
Copy link

jayyyin commented Apr 6, 2018

@petemill yah, I found basically disabling the gradient fixes the issue, but I'm pretty sure that's not the way to go, how would I go about trying to paint it on a separate layer?

@jayyyin
Copy link

jayyyin commented Apr 6, 2018

note the Favicon also "flashes" when you initially move the mouse into the tab area

@jayyyin
Copy link

jayyyin commented Apr 12, 2018

This issue, seems to be related https://bugs.chromium.org/p/chromium/issues/detail?id=387146

@petemill
Copy link
Member Author

@jayyyin actually I don't think that's related. This looks to me a css display / painting issue. The chromium issue you linked to is literally Chromium changing the favicon when the Url changes via pushState.

@jayyyin
Copy link

jayyyin commented Apr 12, 2018

@petemill yah, I realized that after further investigation, I found another lead, the icon isn't cached correctly and is being redownloaded constantly, you can see using the networks tab that it is for some reason, any idea where the icon is being loaded?

@jayyyin
Copy link

jayyyin commented Apr 12, 2018

I found that the cache-control for the headers of those files contain the 'no-cache' tag, I'm currently looking into how this could be handled, but this issue was in chromium at some point it seems but I can't seem to find how it was handled code wise, I'm having some trouble navigating the structure of the code to find where the code to download the favicons are, some help would be appreciated

@jayyyin
Copy link

jayyyin commented Apr 19, 2018

@petemill, ok so from what I've learned making a new layer should fix the issue, since the icon shouldn't be getting invalidated anymore along with the CSS change for the gradient, so thus the no-cache issue won't affect it, but this should be noted for future reasons.

@jayyyin
Copy link

jayyyin commented Apr 20, 2018

@petemill @kjozwiak TO sum up what I've found so far heres a blog post http://jyopensource.blogspot.ca/2018/04/brave-laptop-dev-interesting-issue-part.html

@petemill
Copy link
Member Author

petemill commented Apr 20, 2018 via email

@bsclifton bsclifton removed this from the Backlog (Prioritized) milestone Sep 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
0.22.x issue first seen in 0.22.x priority/P5 Cosmetic. Spelling, copy, layout. New features (which should also be part of an initiative). regression stale wontfix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants