On win10 x64, when I select the Open Tor Window option from the sync menu, the open Tor window uses google as the search engine.
Expected Tor default search engine:
Tor default, global (except for France & Germany): duckduckgo.com
Tor default, France & Germany: qwant.com
sync menu
Google.com results.
DDG results (global, except for France and Germany)
Qwant results (France, Germany)
100%
Brave | 0.55.5 Chromium: 70.0.3538.16聽(Official Build)聽dev聽(64-bit)
-- | --
Revision | 16ed95b41bb05e565b11fb66ac33c660b721f778-refs/branch-heads/3538@{#306}
OS | Windows
JavaScript | V8聽7.0.276.9
Flash | (Disabled)
User Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.16 Safari/537.36
Command Line | "C:\Program Files (x86)\BraveSoftware\Brave-Browser-Dev\Application\brave.exe" --enable-tab-audio-muting --disable-domain-reliability --disable-chrome-google-url-tracking-client --no-pings --enable-features=EnableEmojiContextMenu,DesktopPWAWindowing,fill-on-account-select,NewExtensionUpdaterService --disable-features=SharedArrayBuffer --flag-switches-begin --flag-switches-end
no
cc: @mkarolin
I'll take a look at this issue - I implemented private search engine in private window feature.
@simonhong tor window is different than private window. It is a type of guest window with only persistent search engine setting. I recommend setting kDefaultSearchProviderDataPrefName when tor profile created and prevent ProfileManager::SetNonPersonalProfilePrefs from clearing it.
https://github.com/brave/brave-core/pull/529 partially fixes this so that we don't use Google in Tor windows, which (I think) is the only release-blocking part of this because Google's captcha inundation makes it unusable in Tor, so I'm removing the release/blocking (and feature/tor/leakproofing -- not actually a leak, just usability) labels. It does not address the part about choosing between DDG and Qwant, so I'll leave this open.
Qwant for France & Germany should be posted as different issue because it is not tor specific but applies for all profiles
Even so, we still can't close this until https://github.com/brave/brave-core/pull/529#discussion_r222366899 is solved
This looks fixed to me on 0.55.12 on both Linux and Windows. Default search engine shown when typing search term in URL is DDG.
@kjozwiak @LaurenWags to confirm once on macOS.
Can this be closed ?
@srirambv
Right now DDG is the default search engine in Tor on all platforms, we didn't close this because users should be able to change their default search engine in Tor per https://github.com/brave/brave-browser/issues/1226#issuecomment-426696785.
We could probably open a specific issue for the ability to change the default search engine in Tor to avoid confusion here. (And one for qwant part too)
Agreed. DDG is default similar to b-l. so this can be closed and new issue can be logged for user settings for search engines in Tor windows.
@kjozwiak @LaurenWags to confirm once on macOS.
Yup, same results on macOS. Thanks for checking Win/Linux @srirambv! Going to add the appropriate flags and close this off as discussed above.
Also created the following issues:
We could probably open a specific issue for the ability to change the default search engine in Tor to avoid confusion here.
Created https://github.com/brave/brave-browser/issues/1513
Qwant for France & Germany should be posted as different issue because it is not tor specific but applies for all profiles
Created https://github.com/brave/brave-browser/issues/1514
@yrliou please feel free to re-open if something was missed 馃憤
Most helpful comment
I'll take a look at this issue - I implemented private search engine in private window feature.