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

Click on Browser back button resets the DDG search button #1490

Closed
GeetaSarvadnya opened this issue Oct 10, 2018 · 5 comments · Fixed by brave/brave-core#826
Closed

Click on Browser back button resets the DDG search button #1490

GeetaSarvadnya opened this issue Oct 10, 2018 · 5 comments · Fixed by brave/brave-core#826

Comments

@GeetaSarvadnya
Copy link

GeetaSarvadnya commented Oct 10, 2018

Description

Click on Browser back button resets the DDG search button

Steps to Reproduce

  1. Launch brave with clean profile from CLI
  2. Open an incognito window
  3. Toggle DDG search button to ON
  4. Do a search on DDG in incognito tab
  5. Click on browser back button

Actual result:

Click on Browser back button resets the DDG search button

pbddg

Expected result:

DDG search button should be in ON state

Reproduces how often:

Always

Brave version (chrome://version info)

Brave 0.55.12 Chromium: 70.0.3538.45 (Official Build) beta (64-bit)
Revision cbdc32e4334458954e9def214d7e5fa1ca1960eb-refs/branch-heads/3538@{#830}
OS Windows

Reproducible on current release:

  • Does it reproduce on brave-browser dev/beta builds? Yes
  • Does it reproduce on browser-laptop? Yes

Website problems only:

  • Does the issue resolve itself when disabling Brave Shields? NA
  • Is the issue reproducible on the latest version of Chrome? NA

Additional Information

@kjozwiak @LaurenWags @btlechowski @srirambv

@kjozwiak
Copy link
Member

Reproduced on macOS 10.13.6 x64 using 0.55.12 Chromium: 70.0.3538.45 (Official Build) beta. DDG still ends up being the default search engine on enabled, but the "switch" looks like it's disabled despite being enabled. Example:

  • launch brave and open an incognito window
  • toggle DDG -> ON
  • type in something in the URL and hit search (DDG is being used)
  • click on Back to return to about:newtab (DDG looks disabled)
  • open a new tab, DDG looks disabled but still using DDG as the default search
  • close/re-open the incognito window and you'll notice DDG is disabled (still uses DDG though)

This could be related to #307 which is basically the same issue but deals with stats.

@kjozwiak
Copy link
Member

@rebron @bbondy as mentioned above, this seems similar to #307 which is a P2 within the 1.x Backlog milestone. Should this be moved there as well as it's almost the exact same issue? If we take this into Releasable builds 0.55.x, I think we should move #307 as well.

@rebron rebron modified the milestones: 0.55.x, 1.x Backlog Oct 11, 2018
@tildelowengrimm
Copy link
Contributor

I think this is #wontfix because we don't have that toggle on the new tab page any more.

@tildelowengrimm tildelowengrimm modified the milestones: 1.x Backlog, Dupe / Invalid / Not actionable Oct 19, 2018
@kjozwiak kjozwiak modified the milestones: Dupe / Invalid / Not actionable, 1.x Backlog Oct 25, 2018
@kjozwiak kjozwiak reopened this Oct 25, 2018
@kjozwiak
Copy link
Member

kjozwiak commented Oct 25, 2018

Re-opening as this is still an issue. Even though the above toggle doesn't exist, we still have a toggle under about:newpage which still has the same bug. Example of the issue occurring:

pbddg

Tested on macOS 10.13.6 x64 using the following build:

Brave 0.57.2 Chromium: 70.0.3538.67 (Official Build) dev (64-bit)
Revision 9ab0cfab84ded083718d3a4ff830726efd38869f-refs/branch-heads/3538@{#1002}
OS Mac OS X

I replaced the old GIF under #1490 (comment) with the one above to highlight that the issue is still happening with the new switch under about:newtab.

@rebron rebron added the priority/P3 The next thing for us to work on. It'll ride the trains. label Nov 2, 2018
@srirambv
Copy link
Contributor

srirambv commented Dec 11, 2018

Verification passed on

Brave 0.58.11 Chromium: 71.0.3578.80 (Official Build) beta(64-bit)
Revision 2ac50e7249fbd55e6f517a28131605c9fb9fe897-refs/branch-heads/3578@{#860}
OS Linux
  • Verified search engine switch doesn't reset when navigated back from search result page

Verified passed with

Brave 0.58.11 Chromium: 71.0.3578.80 (Official Build) beta(64-bit)
Revision 2ac50e7249fbd55e6f517a28131605c9fb9fe897-refs/branch-heads/3578@{#860}
OS Mac OS X
  • Verified STR in description

Verification passed on

Brave 0.58.11 Chromium: 71.0.3578.80 (Official Build) beta (64-bit)
Revision 2ac50e7249fbd55e6f517a28131605c9fb9fe897-refs/branch-heads/3578@{#860}
OS Windows 7 x64

Used STR from OP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment