Bug 182449

Summary: Web searchbox does not work correctly when using a space as your query seperator
Product: [Applications] konqueror Reporter: Dennis Noordsij <dennis.noordsij>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: adawit, finex
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dennis Noordsij 2009-01-30 16:34:42 UTC
Version:           4.2.00 (KDE 4.2.0) (using 4.2.00 (KDE 4.2.0), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.27-11-generic

(Collected 2 related bugs here)

Assuming the seperator (settings->web shortcuts) is set to the space (the default is ":")

Bug 1) If do NOT have a default search engine, then when you enter a query ("kde") into the search bar (next to address bar), it will pop up an error message saying "google" is not a supported protocol. If the search seperator is a ":", it works correctly.

Bug 2) If you use a default search engine (Google), and enter a search query, it will search for your query with "gg:" prefixed (so it will actually search google for "gg:kde" instead of "kde"). It works correctly if your seperator is ":".
Comment 1 FiNeX 2009-02-01 00:55:32 UTC
It could be related to bug #109217
Comment 2 Dawit Alemayehu 2011-06-11 08:38:48 UTC
Works fine here, KDE v4.6 and up.
Comment 3 Dawit Alemayehu 2011-06-14 04:24:44 UTC
Actually this should have been closed a won't fix. If you change the separator and use the previous separator you just switched from to perform the tests, then the result you got are all the correct and expected behavior.
Comment 4 Dennis Noordsij 2011-06-14 09:42:02 UTC
It's been 2 years, so not really relevant anymore (and fixed) but IIRC the issue was that entering "gg kde" with a space separator configured ended up googling for "gg:kde", i.e. the ":" was hardcoded somewhere.

The issue was not that "gg:kde" didn't work (because if the separator was a space, this would not have been recognized as a search prefix at all).