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

[cr135 follow up] Fixes duplicated Startpage search engine. #28293

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

mkarolin
Copy link
Collaborator

@mkarolin mkarolin requested a review from simonhong March 24, 2025 21:59
@mkarolin mkarolin self-assigned this Mar 24, 2025
@mkarolin mkarolin requested a review from a team as a code owner March 24, 2025 21:59
Copy link
Member

@simonhong simonhong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++

The duplication can be seen in the search engine choice dialogs in the
settings and in the search engine NTP widget customization.

The duplication happens on upgrade from previous version (cr134) because
in the prior version Startpage engine was saved in prefs with ID we
created for it, but after the upgrade we were using the new ID that
Chromium added. That merged the new engine and the old engine into the
list.

To fix we should continue to use our old ID for Startpage instead of
switching to the Chromium's id for the engine.
@mkarolin mkarolin force-pushed the maxk-fix-startpage-engine-dupe branch from d5417c1 to a02f9bb Compare March 25, 2025 00:43
@mkarolin mkarolin merged commit b94073a into master Mar 25, 2025
18 checks passed
@mkarolin mkarolin deleted the maxk-fix-startpage-engine-dupe branch March 25, 2025 02:28
@github-actions github-actions bot added this to the 1.78.x - Nightly milestone Mar 25, 2025
mkarolin added a commit that referenced this pull request Mar 25, 2025
The duplication can be seen in the search engine choice dialogs in the
settings and in the search engine NTP widget customization.

The duplication happens on upgrade from previous version (cr134) because
in the prior version Startpage engine was saved in prefs with ID we
created for it, but after the upgrade we were using the new ID that
Chromium added. That merged the new engine and the old engine into the
list.

To fix we should continue to use our old ID for Startpage instead of
switching to the Chromium's id for the engine.
@brave-builds
Copy link
Collaborator

Released in v1.78.64

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