See https://github.com/brave/brave-core/pull/6584
The top sites disappear after closing and opening brave
Top sites are gone
Top sites remain where they #were
Easily reproduced
1.13.82 Chromium: 85.0.4183.83 (Official Build) (64-bit)
I also have brave set to delete history after closing the app but that never caused the top sites to disappear before
Seeing this as well in 1 out of 3 desktop linux machines. Top sites, even toggled on and off have disappeared.
cc: @simonhong
@MikeScotty The fix for https://github.com/brave/brave-browser/issues/9929 is landed in stable(1.13).
With this fix, sites that cleared from history will be deleted from top site in NTP because top sites data is generated from history service.
I think we need to provide the way to add sites to top sites tiles in NTP manually and these manually added sites should be managed differently from sites comes from top sites history.
We definitely have some work to do on new tab page ☹️ A while back, @karenkliu had worked with @rebron, @bradleyrichter, and others to put together a spec for new tab page enhancements, specifically with top site tiles (specifically being able to add)
I think the right solution here might be to match the logic Chromium has:
My shortcuts modeMy shortcuts mode will query topsites API and show those results. If there are less than 6 (or whatever maximum number is), show an Add site buttonMost visited sites)We might be able to get all of this logic for free. You can demo yourself by visiting brave://new-tab-page which is the Chromium new tab page and compare this to what Brave is showing. Since our page is React, we might have some implementation work to do- but I think the polymer code is storing the custom tiles as a profile preference. We can make those same calls and eliminate the janky code that we have in place (using Redux)
@rebron @karenkliu WDYT? 😄
@bsclifton Yep - this is pretty much what we had planned in top sites spec and it's just been waiting to be implemented. I agree with most of what you said, except these two points:
Add site buttonIn our spec, we've defined that the default top sites behavior is shown by frecency until the user indicates they would like to customize their shortcuts themselves instead of having it be shown automatically by Brave (this is the way it works in Chrome as well).
While the top sites are shown by frecency, there is a maximum of 6 tiles displayed. But no matter how many displayed, the Add site function is available to the user. Once they add a site, the top sites behavior switches from frecency to user-curated.
Along with that user action, these are the other actions that causes the top sites behavior to switch from frecency to user-curated:
Working through a proof of concept on this. I currently have the NTP showing the same results as Chromium (deleting all of the bug ridden custom code we have for maintaining this list and allowing pinning, etc). Fully matching the Chromium behavior should be quite easy and would be a nice cleanup (will fix a LOT of bugs)
Very early preview work in progress branch viewable here:
https://github.com/brave/brave-core/compare/bsc-top-sites-rework
Will continue to check this out. Thanks for your patience folks 😄
If I finish the work on this branch (above), it should fix:
and then it makes future work easier
So you're saying that in the next version of brave will those problems fixed?
@MikeScotty I can't promise a version, but I am working through this and will try to finish ASAP
@bsclifton ok
Verification passed on
Brave | 1.17.53 Chromium: 86.0.4240.111 (Official Build) dev (64-bit)
-- | --
Revision | b8c36128a06ebad76af51591bfec980224db5522-refs/branch-heads/4240@{#1290}
OS | Windows 10 OS Version 1903 (Build 18362.1139)
Verified passed with
Brave 1.17.69 Chromium: 87.0.4280.60 (Official Build) (x86_64)
Revision 12697cfeb273d7de95cf9b18350d2c457f58224c-refs/branch-heads/4280@{#1352}
OS macOS Version 10.14.6 (Build 18G6042)
Verified test plan from https://github.com/brave/brave-core/pull/6584
Testing notes can be found under https://github.com/brave/brave-browser/issues/9457#issuecomment-712306639
Additional notes that may be helpful: there is no more pinning top site tiles with 1.17.x. Additionally, modifications to top site tiles made with 1.16.x (and before) are not retained when upgrading to 1.17.x.
Has this actually been fixed?
@SXMacdara Nope. The problem is still there.
@MikeScotty why is this closed if the issue is not fixed?
@SXMacdara I have no idea. Maybe because it's been added to the to-do list?
@MikeScotty this will roll out with the 1.17 release which is due to be released today. It's already fixed in Beta and Nightly
Excellent
On Thu, Nov 19, 2020 at 10:42 AM Brian Clifton notifications@github.com
wrote:
@MikeScotty https://github.com/MikeScotty this will roll out with the
1.17 release which is due to be released today. It's already fixed in Beta
and Nightly—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/brave/brave-browser/issues/11500#issuecomment-730564407,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARXAIANVRYPS35HZF7L5TP3SQVRKJANCNFSM4QOODNEA
.
I have version 1.17.73 and the problem is STILL occurring. JSYK I'm using linux mint 20.
@bsclifton I am hoping you are the right person to address about this. I guess I am unsure as to why this is closed. I have the latest version of Brave V1.17.73. Top Sites is not fixed. In this latest version you can't even pin or rearrange your Top Sites anymore. Whatever was done in the way of improvement didn't work. At also appears as if the reviewer above has stated that from their perspective/experience this has not been fixed on their end either.
@SXMacdara the not being able to move will be addressed with https://github.com/brave/brave-browser/issues/7493, which also will allow for adding your own top sites. This is the next work I'll be looking at. Are you experiencing a problem with sites missing?
@MikeScotty I can create a new issue for the problem you're experiencing. After updating to 1.17.73, you're seeing the top sites shown on new tab page be removed every time you quit/relaunch? If this is the case, can you please check to see if you have browsing history clearing on exit? You can see this on brave://settings/clearBrowserData under On exit tab. If history is cleared, I am not sure if there is a way to keep the top sites
Basically, the behavior should be matching Chromium completely now (well, except that Brave is missing customize feature which Chromium has, captured with https://github.com/brave/brave-browser/issues/7493). You can test which tiles Chrome would show by visiting brave://new-tab-page and you should see the same tiles there
@bsclifton I have brave set to delete history when the app closes. And as for that new tab, I don't use google. Maybe make something like that except with duckduckgo or qwant?
@MikeScotty you don't have to use Google - you can open brave://new-tab-page in Brave and just verify the same thing shows for you there (should be the same as brave://newtab)
Most helpful comment
We definitely have some work to do on new tab page ☹️ A while back, @karenkliu had worked with @rebron, @bradleyrichter, and others to put together a spec for new tab page enhancements, specifically with top site tiles (specifically being able to add)
I think the right solution here might be to match the logic Chromium has:
My shortcutsmodeMy shortcutsmode will query topsites API and show those results. If there are less than 6 (or whatever maximum number is), show anAdd sitebuttonMost visited sites)We might be able to get all of this logic for free. You can demo yourself by visiting
brave://new-tab-pagewhich is the Chromium new tab page and compare this to what Brave is showing. Since our page is React, we might have some implementation work to do- but I think the polymer code is storing the custom tiles as a profile preference. We can make those same calls and eliminate the janky code that we have in place (using Redux)@rebron @karenkliu WDYT? 😄