Bug 57310 - URI bar autocomplete odd behaviour
Summary: URI bar autocomplete odd behaviour
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-16 11:06 UTC by Nathanael Majoros
Modified: 2011-01-31 15:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathanael Majoros 2003-04-16 11:06:13 UTC
Version:           3.1.0 (using KDE KDE 3.1)
Installed from:    Mandrake RPMs
Compiler:          design/feature bug, doesn't matter 
OS:          Linux

I honnestly think there is a design flaw in the algorithm for autocompleting the typed URI in the URI  bar : if I like to visit http://www.cnn.com/ for my daily dose of propaganda and then click through some links and go to http://www.cnn.com/saddamhusseinatebabies.html , the next time I will type http://www.cn... the first thing on the autocomplete list will be http://www.cnn.com/saddamhusseinatebabies.html and I think it is wrong. 

Another example is when I type http://www.goo... , I will get in my list all the previous queries, instead of http://www.google.com/ as I would expect. 

In other words, absolute priority should be given either to the most visited URI, either to the most visited typed URI, not to what apparently is the most recently visited URI.

I am sure this feature bug has been reported zillions of time, but the buzilla won't let me search for less than 4 letter words, like "URL", "URI" or "bar"
Comment 1 Datschge 2003-04-16 13:00:31 UTC
I can confirm and agree. In general it would be nice to have the server 
URL and its subfolders before any full paths so it's easy to narrow down 
the choices withouth having to writing everything or deleting large 
chunks of full paths. 
Comment 2 Lubos Lunak 2003-04-16 13:26:43 UTC
I think the problem is that the completion works on the history (of all visited URLs) and not on 
the history of typed URLs. 
 
Comment 3 Carsten Pfeiffer 2003-04-17 06:48:35 UTC
The list of completions is weighted by the number of times you visited a 
specific URL. If you type "cnn.com" a few times and visit articles on subpages 
only once, then cnn.com will always be the first entry in the completion popup. 
 
I don't think it is wise to have all paths of a URL in the completion popup, 
because they're not necessarily valid pages on the server. I.e. try 
http://www.cnn.com/2003/US/West/04/16/remains.found/ and 
http://www.cnn.com/2003/US/West/04/16/ 
 
The latter will give you a server error, not even a 404. 
 
Comment 4 Nathanael Majoros 2003-04-17 08:19:30 UTC
This *might* be too simplistic : some sites, http://www.everything2.com for 
instance, rely heavily on dynamic pages that do everything. on 
e2, "http://www.everything2.com/index.pl" always comes first in my list 
(action="post", so the URI doesn't change), eventhough I never type that URI. 
It's not a catastrophe as that URI itself leads to the site's root anyway, but 
that not the case for anything.
Comment 5 Datschge 2003-04-17 17:53:06 UTC
Again I think the server URL and its subfolder should have priority over any full path. 
For avoiding what Carsten described in comment #3 I'd suggest to only include server 
and subfolder URLs which are in the history already. 
Comment 6 Oswald Buddenhagen 2003-05-06 15:11:09 UTC
another note on this: when i type foobar.com without having any urls with this prefix 
in the history, http://www.foobar.com/ is offered as a possible completion. if otoh i 
already have an url like http://foobar.com/some/url.html in the history, the "top level 
completion" is not offered. i find this highly annoying. 
 
Comment 7 elbows 2004-06-03 02:57:08 UTC
For an example of how to do this right, look at firefox... I have no idea what their algorithm is, but it almost always gives me what I expect. Someone from the konqueror team should go steal their code.