Public bug reported: The code that parses search suggestions (http://bazaar.launchpad.net /~phablet-team/webbrowser- app/trunk/view/head:/src/app/webbrowser/SearchSuggestions.qml#L55) assumes a given format for the data returned by the search engine, similar to this:
["ubuntu",["ubuntu","ubuntu download","ubuntu 15.04","ubuntu 14.04","ubuntu linux","ubuntu server","ubuntu live cd","ubuntu linux download","ubuntu studio","ubuntu phone"],[],[]] (this is the format for the data we get from all major search engines such as google, yahoo, bing, qwant, wikipedia, …) However it appears that other search engines return their suggestions in a different format. Baidu is one of them. A query to http://suggestion.baidu.com/su?wd=ubuntu returns: window.baidu.sug({q:"ubuntu",p:false,s:["ubuntu 14.04","ubuntu中文输入法","ubuntu 搜狗输入法","ubuntu qq","ubuntu 安装","ubuntu15.04","ubuntu kylin","ubuntu root 默认密码","ubuntu ssh","ubuntu源"]}); The parser needs to be made more flexible to handle both syntaxes (and maybe other syntaxes in the future). ** Affects: webbrowser-app (Ubuntu) Importance: Medium Status: Triaged ** Changed in: webbrowser-app (Ubuntu) Status: New => Triaged ** Changed in: webbrowser-app (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1482313 Title: Search suggestions parser cannot handle suggestions from baidu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1482313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs