Summary: | Search bar content not sent to the search engine | ||
---|---|---|---|
Product: | [Applications] Falkon | Reporter: | nicolas.friess |
Component: | general | Assignee: | David Rosca <nowrep> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 369start, bugskde, come, jurajoravec, justin.zobel |
Priority: | NOR | ||
Version First Reported In: | 3.0.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/network/falkon/-/commit/00a1b8c1009b638aca1a0d41876a317186420741 | Version Fixed In: | 23.08.4 |
Sentry Crash Report: |
Description
nicolas.friess
2020-04-02 09:52:20 UTC
Qwant, Bing and so on are not default Falkon search engines.
How did you add those engines ?
Can you post the url for each engine ?
- You can see the url when you go to
> Manage search engine > [Search engine] > Edit
Here you can see Url and for some engine Post data.
In most cases the search string is passed in url.
So, please send the urls for the engine you believe it is not working.
I've indeed added Qwant. Its url in the menu is www.qwant.com The I've added Bing to check if it had the same behaviour. Its url is www.bing.com StartPage behaves the same way and I don't remember having added it. Its url is https://startpage.com/do/search with "query=%s&cat=web&language=english" in the field just below (named "Données de Post", I guess it should be "Post datas" in english ?) ------------------------------------------------------------------------ In the meantime, an "add Qwant" line appeared in the search menu when I'm on the Qwant page, so I used it and it has been added to the list with a queue to the url : https://www.qwant.com/?q=%s&client=opensearch Now it works fine. The "add" line doesn't show up in the list when I'm on the Bing page I added "?q=essai&client=opensearch" to the line in the menu and now it works well too. On the StartPage page, the "add StartPage" appears. It records the url https://www.startpage.com/do/dsearch?query=%s&cat=web&pl=opensearch&language=francais but that doesn't work. I tried to switch it with https://www.startpage.com/q=%s&client=opensearch but it doesn't work either. > On the StartPage page, the "add StartPage" appears. It records the url
> https://www.startpage.com/do/dsearch?query=%s&cat=web&pl=opensearch&language=francais
> but that doesn't work.
When I try it I get the "same" (apart from language) url and it works just fine.
There should be no post data for this search engine, the url is enough.
The '%s' will be replaced by your search string.
You can also try and add custom search engines by clicking on input field in a form and pressing "Create Search Engine" from context menu.
I do have same problems adding startpage as a search engine. The same problem exists for searx instances, like https://searx.antopie.org/ It seems it is a problem with the support for https://en.wikipedia.org/wiki/OpenSearch by falkon, or by the way it sends POST to the search engine. I had to remove POST data from the search engine configuration, and use GET instead by adding ?q=%s at the end of the URL field. This works. Actually https://searx.antopie.org/opensearch.xml explicitely says GET should be used, not POST, so falkon does something wrong when reading this. I've just tested on 3.1.0 Of the default search engines these worked: DDG Wikipedia Google Startpage does not, it just redirects to their home page, so this will need a fix. I was able to add and use Qwant and Bing without issue. From what I can see in OpenMandriva Falkon is that Duck, duck. go works "correctly" and other search engines do not. StartPage is also included with Falkon in OpenMandriva and is my preference but it is massively irritating to type the same question twice when I use Falkon. Git commit f2460c1f8e3090dd6dace4ee6a05fc25116f0878 by Juraj Oravec. Committed on 26/11/2023 at 23:13. Pushed by jurajo into branch 'master'. Fix StartPage search engine default configuration FIXED-IN: 23.08.4 Signed-off-by: Juraj Oravec <jurajoravec@mailo.com> M +1 -0 CHANGELOG M +3 -4 src/lib/opensearch/searchenginesmanager.cpp https://invent.kde.org/network/falkon/-/commit/f2460c1f8e3090dd6dace4ee6a05fc25116f0878 Git commit 00a1b8c1009b638aca1a0d41876a317186420741 by Juraj Oravec. Committed on 26/11/2023 at 23:25. Pushed by jurajo into branch 'release/23.08'. Fix StartPage search engine default configuration FIXED-IN: 23.08.4 CherryPicked from: f2460c1f8e3090dd6dace4ee6a05fc25116f0878 Signed-off-by: Juraj Oravec <jurajoravec@mailo.com> M +1 -0 CHANGELOG M +3 -4 src/lib/opensearch/searchenginesmanager.cpp https://invent.kde.org/network/falkon/-/commit/00a1b8c1009b638aca1a0d41876a317186420741 |