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

[Desktop] Address bar search broken in private windows when search provider set by extension #10549

Closed
dharb opened this issue Jul 2, 2020 · 6 comments
Labels
closed/duplicate Issue has already been reported feature/extensions feature/search needs-discussion Although the issue is clear, we haven't yet reached a decision about the right solution. OS/Desktop priority/P4 Planned work. We expect to get to it "soon".

Comments

@dharb
Copy link

dharb commented Jul 2, 2020

Description

Many web extensions set the default search provider via chrome_settings_overrides, for instance

When one of these is installed and allowed in private windows, searching done via the address bar stops working in private windows.

Steps to Reproduce

  1. Install one of the extensions listed above that sets the default search provider
  2. Go to extension details page, flip "Allow in private" toggle to on
  3. Open private window and try to search for something from the address bar

Actual result:

  • if search query is "something", Brave tries to load http://something/
  • if search query contains a non-URI encoded character such as a space, pressing enter doesn't do anything

Expected result:

Searching from address bar should work as it does in normal non-private windows.

Reproduces how often:

Easily reproduced

Brave version (brave://version info)

Brave | 1.10.97 Chromium: 83.0.4103.116 (Official Build) (64-bit)
Revision | 8f0c18b4dca9b6699eb629be0f51810c24fb6428-refs/branch-heads/4103@{#716}
OS | Windows 10 OS Version 1909 (Build 18363.900)

Version/Channel Information:

  • Can you reproduce this issue with the current release? Yes
  • Can you reproduce this issue with the beta channel? Yes
  • Can you reproduce this issue with the dev channel? Yes
  • Can you reproduce this issue with the nightly channel? Yes

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? No
  • Does the issue resolve itself when disabling Brave Rewards? No
  • Is the issue reproducible on the latest version of Chrome? No
@dentistformyeye
Copy link

In an earlier version of Brave turning off "Search privately with DuckDuckGo" in private windows was a workaround, but that doesn't seem to work anymore.

@atahabaki
Copy link

atahabaki commented Aug 4, 2020

Hi!..

I'm facing that too...

I've developed a Chrome extension which uses Chromium's Omnibox API for quickly search anything, anywhere. Then uploaded it to Chrome web store which I called it "smartbox: Smart Searching".

If you're interested in, you can take a look at here.

It works pretty well with Google Chrome (works on incognito mode too). On Brave, it is not working.

Please fix this issue. Maybe this is not an issue but. Make an exception for this to work on both private and Tor sessions too.

Have a great day.

@posita
Copy link

posita commented Oct 28, 2020

I'm getting crashes (two brave://crashes reports submitted this morning) when searching in private tabs with DuckDuckGo's Privacy Extension enabled in private tabs. Originally filed as duckduckgo/duckduckgo-privacy-extension#510, but it sounds like it might actually be related to this issue. Let me know if crash submission IDs would be helpful and how I should provide them. (I'm not sure what information leaks if I post the IDs here.)

@dentistformyeye
Copy link

I'm also getting crashes now with DuckDuckGo Privacy Essentials enabled in private windows.
Brave Version: 1.17.73 Chromium: 87.0.4280.67
Operating System: Mac OS X 10.15.7

With "Search privately with DuckDuckGo" on private window NTP on:
Crash ID: crash/20310000-cf79-6b05-0000-000000000000
Off:
Crash ID: crash/67310000-cf79-6b05-0000-000000000000

@kjozwiak
Copy link
Member

Another +1 from #11947 when using DuckDuckGo Privacy Essentials.

@bsclifton
Copy link
Member

Closing as a duplicate of #10601

@bsclifton bsclifton added the closed/duplicate Issue has already been reported label Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed/duplicate Issue has already been reported feature/extensions feature/search needs-discussion Although the issue is clear, we haven't yet reached a decision about the right solution. OS/Desktop priority/P4 Planned work. We expect to get to it "soon".
Projects
None yet
Development

No branches or pull requests

7 participants