Tab-to-search doesn't work as expected by the user on wikipedia (by typing "wiki" for example)
Categories
(Firefox :: Address Bar, enhancement, P3)
Tracking
()
People
(Reporter: florencia.diciocco, Assigned: mak)
References
Details
Attachments
(2 files)
Based on the one-off's spec (https://mozilla.invisionapp.com/share/Q7Y89ZTFSTP#/screens/416055948_Search_Shortcuts) I was expecting the aliases to reflect what the images in there show. However, for example, the Amazon alias is 'amazon.com' instead of 'Amazon', and Wikipedia's alias changes depending on the locale instead of being a fixed alias (Wikipedia).
Assignee | ||
Comment 1•4 years ago
|
||
The Amazon.com case is correct, not a bug. Amazon.com is the name of the Search engine, I discussed this with Pablo yesterday and for now there's no plan to cleanup search engine names for the ui yet. And if we do, we shoudl so the same cleanup in Preferences, but then there may be problems of confusing similar engines.
The wikipedia case won't be supported in 83, because it uses localized subdomains. I submitted some comments to the test plan earlier today explaining that. The problem is that wikipedia always redirects to urls like en.wikipedia.org, it.wikipedia.org and so on, thus typing "wiki" won't autofill them, you should type "en.wiki" or "it.wiki". Because tab-to-search only appears when we autofill the search engine origin, it won't appear.
I must note Chromium has the same bug, for the same reason.
We will be looking at this problem in the future.
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Bug 1669529 is investigating a plausible solution for this.
Assignee | ||
Comment 3•4 years ago
|
||
Allow autofill to fill partial search providers domains so that, for example,
en.wikipedia.org can be filled by typing "wiki".
Updated•4 years ago
|
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/7dcf44770714 Tab-to-search doesn't work as expected by the user on some engines. r=adw
Assignee | ||
Updated•3 years ago
|
Comment 5•3 years ago
|
||
bugherder |
Reporter | ||
Comment 6•3 years ago
|
||
Hi,
I tried verifying this on nightly 84.0a1 (2020-11-04) and I noticed that the following case is falling:
- Go to about:preferences#search and set Wikipedia as the default search engine.
- Open a new tab type w then press Tab
Expected result:
The address bar enters in search mode with Wikipedia
Actual result:
The address bar enters in search mode with google because it takes the 'w' as the first letter of www.google.com.
Could you verify this?
Assignee | ||
Comment 7•3 years ago
|
||
The tab to search result appears only when the search engine domain is autofilled, that means for the string you are typing the search engine domain must have the highest score among all the candidates.
In a new profile that is more complicate because no url has built a score yet. The team didn't decide whether we want to ignore the rankings for search engines autofill, so for now they just respect the rules.
Anyway, supposing you are using an en-US build, you should do some searches on Wikipedia, until typing "en" will autofill "en.wikipedia.org".
Then "wi", "wik" or "wiki" should do the right thing.
Whether "w" will also fill wikipedia, depends on its score compared to google, in this case. It's likely it may have a smaller score and thus it won't win the race.
I think we should prefer non-www origins to www origins in autofill when the user types "w", and that is why we have Bug 1610718, that is still not solved unfortunately.
If you have further doubts or question feel free to reach me.
Reporter | ||
Comment 8•3 years ago
|
||
It was explained very clearly, thanks Marco. I've verified that this has been fixed on Windows 10 on FF Nightly 84.0a1 (2020-11-04).
Updated•3 years ago
|
Description
•