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

top site tiles go missing #12027

Closed
LaurenWags opened this issue Nov 18, 2017 · 3 comments · Fixed by #12470
Closed

top site tiles go missing #12027

LaurenWags opened this issue Nov 18, 2017 · 3 comments · Fixed by #12470

Comments

@LaurenWags
Copy link
Member

LaurenWags commented Nov 18, 2017

Test plan

See #12470

Original issue description

Description

Using 0.19.95, each time I open a new tab after close/reopen of Brave, a top site tile goes missing. Meaning, I start with 6 tiles, then next time I open Brave again and open a new tab, I only have 5 top site tiles.

Steps to Reproduce

  1. Use a profile where you have enough visits to sites that the top site tiles are not the defaults.
  2. Open Brave.
  3. Open a new tab. (you will encounter top site tiles momentarily display defaults before showing actual ones #12026)
  4. Note number of tiles displayed. Close new tab.
  5. Close/Reopen Brave.
  6. Open another new tab.
  7. You have one less tile than you did previously and encounter top site tiles momentarily display defaults before showing actual ones #12026 again)
  8. If you continue to repeat, you will have one less tile after each close/reopen.
    Note - it doesn't matter if you close the new tabs or leave them open, top site tiles disappear regardless.

Actual result:
A top site tile goes missing from the new tab display on each close/reopen of Brave.
https://drive.google.com/a/brave.com/file/d/1RP64tyzv8eCkZuNFZbzyhE7J8-IvRTES/view?usp=sharing

Expected result:
Top site tiles should not go missing.
https://drive.google.com/a/brave.com/file/d/1RxeV2U5v5-6Kp6M-f13fZqAAtkZHfzC2/view?usp=sharing

Reproduces how often:
Easily

Brave Version

about:brave info:
0.19.95

Reproducible on current live release:
yes

Additional Information

Could not reproduce on 0.19.88, only seems to happen with 0.19.95.

Additionally, you can reproduce this with a clean profile but the steps are a little different:

  1. Clean profile.
  2. Visit a couple of sites that are not in default tiles.
  3. Open a new tab, you will see your top site tiles change to reflect sites.
  4. Close/Reopen Brave.
  5. Default top site tiles are displayed and don't change.
  6. Go back to some of the sites.
  7. Click on new tab again.
  8. You will issue described in top site tiles momentarily display defaults before showing actual ones #12026 and then your tiles will change but be one less than you had before.

https://drive.google.com/open?id=1RxeV2U5v5-6Kp6M-f13fZqAAtkZHfzC2

@cezaraugusto
Copy link
Contributor

I did a regression check and can confirm this is older than 0.19.88. From browser-laptop side, there were no changes in this area ranging between 0.19.88 and 0.19.95, while I still can reproduce the bug almost 100%.

Given the above, I'm moving this and #12026 to 0.20.x, where it should match #11102 together with other big changes in this logic. Let me know if you think otherwise and we'll find a way. Thanks @LaurenWags

@cezaraugusto
Copy link
Contributor

note to self:

latest working version is prior to 5017bdd.

TODO:

@luixxiul
Copy link
Contributor

luixxiul commented Nov 22, 2017

Maybe we should consider to remove skip on d44f35f#diff-0a9ec054c57d2a0b36c47fff4c08c704R90 on newTabTest.js (on master; https://github.com/brave/browser-laptop/blame/master/test/about/newTabTest.js#L93).

The issue to track that flag has been closed for a long time ago (#6408); I am wondering if the flag has been tracked on somewhere else.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants