Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

My top sites are tripping out ....... #2945

Closed
sarracini opened this issue Jul 24, 2017 · 4 comments
Closed

My top sites are tripping out ....... #2945

sarracini opened this issue Jul 24, 2017 · 4 comments

Comments

@sarracini
Copy link
Contributor

So I had no pinned top sites, and then I pinned a top site and all of a sudden:
screen shot 2017-07-24 at 2 58 01 pm

And then the extra 3 wouldn't go away no matter how many times I opened a new tab......

cc @dmose @k88hudson @Mardak @rlr any idea what could be going on here?

@Mardak
Copy link
Member

Mardak commented Jul 24, 2017

Did you pin just one? There was an issue filed at some point where multiple top sites were pinned? Notice the "extra" ones after 12 are also pinned. Perhaps there's some logic making sure pinned sites are always visible?

@sarracini
Copy link
Contributor Author

yeah I had pinned the first one in the second row and then my top sites updated to that. I'm guessing the three that are pinned at the bottom were perhaps pinned from tiles, but didn't show up in activity stream until I kicked it with pinning one that showed up in top sites

@piatra
Copy link
Contributor

piatra commented Jul 25, 2017

My thought: On pinning the website we hit this case statement which does not call slice. If you previously had pinned sites (not one of the 12 already presented) in NewTabUtils.pinnedLinks.links they will all be added resulting in more than 12 topsites.

@piatra
Copy link
Contributor

piatra commented Aug 2, 2017

I managed to reproduce the issue and confirm it's the problem described in the previous comment.
screen shot 2017-08-02 at 21 29 17

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Development

No branches or pull requests

4 participants