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

unable to select Google as default SE for NTP search widget when 3 or more SEs are in the list #42469

Closed
2 of 6 tasks
LaurenWags opened this issue Nov 22, 2024 · 4 comments · Fixed by brave/brave-core#26718
Closed
2 of 6 tasks

Comments

@LaurenWags
Copy link
Member

Description

Found while testing #41789

Unable to select Google as SE for NTP search widget when it's the first of 3 or more search engines.

Works fine on 1.73.91 (current release).

Steps to reproduce

  1. Install 1.74.10
  2. Close/relaunch to pull griffin
  3. Open NTP
  4. Click on Brave logo of search widget
  5. Select "Customize List"
  6. Select (in order): DDG, Google, Bing
  7. De-select Brave
  8. Close customize dashboard modal
  9. Click on DDG logo on search widget
  10. Click on Google from list ---> Google is not selected, remains DDG
  11. Try selecting Bing from the list, this works fine
  12. Now try selecting Google again --> Google is not selected but it switches to DDG

I considered maybe it was a problem with the first SE in the list, but if I use 3 different SEs (ex. DDG, Bing, Qwant), all 3 are selectable.

Actual result

Screen.Recording.2024-11-22.at.4.05.05.PM.mov

Expected result

Google should be able to be chosen like any other SE in the list. Here's an example with 3 different SEs and all can be chosen without issue:

Screen.Recording.2024-11-22.at.4.11.05.PM.mov

Reproduces how often

Easily reproduced

Brave version (brave://version info)

Brave 1.74.10 Chromium: 131.0.6778.85 (Official Build) beta (x86_64)
Revision bdff9e7d7314280ddbce1c3ada3abee4ce4a3b32
OS macOS Version 14.7.1 (Build 23H222)

Channel information

  • release (stable)
  • beta
  • nightly

Reproducibility

  • with Brave Shields disabled
  • with Brave Rewards disabled
  • in the latest version of Chrome

Miscellaneous information

cc @rebron @IanKrieger @brave/qa-team

@MadhaviSeelam
Copy link

Reproduced this issue. Initially when I tested this I may have seen but I couldn't reproduce it because it appears to be order of selection matters.,

Select DDG or any other SE (Qwant)
Select Google
Will encounter above issue

Select Google SE first in the Dashboard
then select any other SE (DDG, Qwant etc.)
Switch between of them
No issues selecting multiple SE

2024-11-29_14h33_11.mp4

@fallaciousreasoning
Copy link

I wonder if this is a result of Google using the "" empty string as the origin for their engine - I guess we're probably doing a !engine check somewhere.

@LaurenWags
Copy link
Member Author

Requires 1.74.15 or higher for verification 👍🏻

@GeetaSarvadnya
Copy link

GeetaSarvadnya commented Nov 28, 2024

Verification PASSED on

Brave | 1.74.15 Chromium: 131.0.6778.85 (Official Build) beta (64-bit)
-- | --
Revision | d1293587128488865fa61e9fa277dd54aa2270b0
OS | Windows 10 Version 22H2 (Build 19045.5131)
Case 1 - Google is not selected first for additional SEs (STR from issue) - PASSED
  1. Install 1.74.15
  2. Close/relaunch to pull griffin
  3. Open NTP
  4. Click on Brave logo of search widget
  5. Select "Customize List"

Image

  1. Select (in order): DDG, Google, Bing
  2. De-select Brave

Image

  1. Close customize dashboard modal
  2. Click on DDG logo on search widget

Image

  1. Click on Google from list ---> confirm Google is selected

Image

  1. Try selecting Bing from the list, this works fine

Image

  1. Now try selecting Google again --> confirm Google is selected

Image

  1. Start typing a search query ex. "Thanksgiving"

Image

  1. Confirm Google search results are returned

Image

Case 2 - Google is selected first for additional SEs - PASSED
  1. Install 1.74.15
  2. Close/relaunch to pull griffin
  3. Open NTP
  4. Click on Brave logo of search widget
  5. Select "Customize List"

Image

  1. Select (in order): Google, Bing, DDG
  2. De-select Brave

Image

  1. Close customize dashboard modal
  2. Click on Google logo on search widget

Image

  1. Click on DDG from list ---> confirm DDG is selected

Image

  1. Try selecting Bing from the list, this works fine

Image

  1. Now try selecting Google again --> confirm Google is selected

Image

  1. Start typing a search query ex. "Thanksgiving sides"

Image

  1. Confirm Google search results are returned

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

6 participants