Skip to content
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

Thorium overwrites any Web Data file it did not generate #647

Open
awsms opened this issue Apr 24, 2024 · 2 comments
Open

Thorium overwrites any Web Data file it did not generate #647

awsms opened this issue Apr 24, 2024 · 2 comments

Comments

@awsms
Copy link

awsms commented Apr 24, 2024

System Details

  • OS: EndeavourOS
  • Thorium version: 122.0.6261.132 (Official Build) stable, built on Ubuntu (64-bit)

Problem
I'm not sure if this should be a feature request or a bug, but Thorium immediatly overwrites the 'Web Default' file which contains various customized options (such as custom search engines).
I was able to flawlessly migrate this file between different chromium-based browsers (Chromium, ungoogled-chromium, Brave), but Thorium overwrites it at launch.

@awsms awsms changed the title Thorium overwrites any Web Data file it hasn't generated Thorium overwrites any Web Data file it did not generate Apr 24, 2024
@Alex313031
Copy link
Owner

@awsms This is probably because of the extra search engines that I added to thorium. As part of that, an integer called "kProfileDataVersion" is set, and this number is always one version ahead of official Chromium, specifically so that people migrating from older Chromium/Thorium versions will get the new search engines, and get the new favicons with the search engines.

@awsms
Copy link
Author

awsms commented Apr 25, 2024

@awsms This is probably because of the extra search engines that I added to thorium. As part of that, an integer called "kProfileDataVersion" is set, and this number is always one version ahead of official Chromium, specifically so that people migrating from older Chromium/Thorium versions will get the new search engines, and get the new favicons with the search engines.

That's what I assumed from the README (with the search engine changes), but why not add them to the Web Data file, instead of replacing any not-thorium made file?
I wasn't able to find the kProfileDataVersion property, is that in a config file? Or the Web Data sqlite one? A bit lost here :(

edit: if someone is looking to achieve for the same thing as me (ie, transferring the custom search keywords), simply open both Web Data dbs in DB Browser for SQLite, then copy paste the whole keywords table as an SQL statement (only select the short_name, keyword, favicon_url and url attributes), then paste it in the thorium db, then execute the query.
I was a bit surprised to find that everything else was properly imported from my ungoogled-chromium profile (history, open tabs, extensions and their settings). Thanks for making thorium!

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

No branches or pull requests

2 participants