[rekonq] Webshortcuts

Andrea Diamantini adjam7 at gmail.com
Sat Aug 1 02:55:18 CEST 2009


On Friday 31 July 2009 17:54:18 Lionel Chauvin wrote:
> Andrea, can we discuss about webshortcuts ?

Sure..

> With the merge I propose, the url bar works exactly as konqueror url bar.
>
> With you implementation you want overide webshortcuts behavior, and it
> causes problems.

Yes, I know. But my idea is that just in this release, rekonq has not to work 
as konqueror.
My feature wanted is: type a string (eg: cruel string!) and search for it. 
Type an url fast (eg: google.it) and load it.

> When the delimiter is space and the default search engine is google, with
> you implementation and with the query: cruel world
>
> you detect it is relative and it doesn't contain .
> setScheme("gg") adds gg: to the query => gg:cruel world
> as the delimiter is space KUriFilter doesn't detect gg:cruel as a
> webshortcut so it use google and search:  gg:cruel world
>
> Your implémentation works only if the delimiter is colon.

I understood (thank you for this) my implementation was broken. And I 
understood the matter are webshortcuts.
So, for 0.2 implementation I'm proposing a new branch with just simple google 
url (LoadWebShortcuts branch).


> If you replace setScheme("gg") with a function adding gg and a space to
> cruel world => gg cruel world
> Then it will detect gg, but it will not works with other webshortcuts.
>
> What can be done ?

Discussion follows..

-- 
Andrea Diamantini,
rekonq project
WEB: http://rekonq.sourceforge.net
IRC: adjam_AT_freenode
GPG Fingerprint: 57DE 8E32 7D1A 0E16 AA52 59D8 84F9 3ECD DBF9 730F


More information about the rekonq mailing list