-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import only history is adding duplicated entries #1247
Comments
Reproduced on Linux. |
Also reproducible under `macOS 10.13.6 x64 using the following build:
However, not always getting three copies, sometimes it's just duplicates. Either way, it's always three or two copies of the same history entry that's imported into b-c. Couldn't check if it's an issue with Chrome/Canary as they don't list Brave as one of the export options. |
The browser-laptop importer only appears to be triplicating or duplicating history entries: actually, it's importing all of the history entries from the Chromium/Muon history backend, which is a superset of the history entries that are listed in For example:
As we can see, only the final URL in the redirect chain is stored in Chromium similarly stores every navigated URL in the History db, but filters visits into "visible visits" (VisitDatabase::GetVisibleVisitsForURL) when displaying the history to the user. I did some further testing and confirmed that this issue also affects Amusingly, since the original Muon implementation of |
I have considered the following potential fixes:
I prefer the second proposal, because it should fix the issue for both ChromeImporter and BraveImporter. I think the fixes are probably equivalent, but have not yet dug into the browser-laptop source to confirm. |
I would agree as well regarding using the second method. In the past, we've seen CCing @bsclifton as he has a lot of experience dealing with |
After chatting with @bsclifton on Slack, it seems it would be best to import history for browser-laptop from |
Verification Passed on
Verified passed with
Verification passed on
|
Description
Import only history from b-l is adding history records trice in Brave Core
Steps to Reproduce
Actual result:
Press ctrl+h to check the history, history page shows the imported sites trice
Expected result:
Imported history sites should display only once in b-c
Reproduces how often:
Always
Brave version (chrome://version info)
Reproducible on current release:
NA
Website problems only:
Additional Information
@kjozwiak @LaurenWags @btlechowski @srirambv
The text was updated successfully, but these errors were encountered: