Bug 144751

Summary: completion list for location field has repeated entries
Product: [Applications] konqueror Reporter: Olivier Vitrat <ovit.debian>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: adawit, aspotashev, samuel.brack
Priority: NOR    
Version: 4.5.4   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 4.9.1
Sentry Crash Report:

Description Olivier Vitrat 2007-04-27 16:17:13 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Debian testing/unstable Packages

reported in Debian BTS at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=415364

The completion list that is shown as a drop-down list when you start
typing an URL may contain repetitions. This is unhelpful and makes you
look twice to check if there is any difference. The list should only
show unique entries.

It seems to happen when the entries are collected from two different
sources, such as the available man pages and the recent list.

For instance, type "man:man" in the URL field. The completion list
shows (depending on installed packages)

  man:man
  man:mandb
  man:manpath
  man:manpage-alert

which is fine. Now press enter to see the manpage for "man" (actually
probably a disambiguation page, but never mind), and again type
"man:man" in the URL field. Now it shows

  man:man
  man:mandb
  man:manpath
  man:manpage-alert
  man:man

It gets even more obvious if the prefix is unique, then you get just
two identical entries.
Comment 1 Philip Rodrigues 2007-04-27 23:35:17 UTC
I see the same
Comment 2 Marcus Better 2008-03-10 18:43:11 UTC
Bug still present in KDE 4.0.2.
Comment 3 Samuel Brack 2011-01-09 23:27:07 UTC
Confirmed in 4.5.4.
Comment 4 Dawit Alemayehu 2011-06-12 00:28:48 UTC
This is caused by a combination of the completion matches and the history items. IOW, Konqueror shows both possible completions as well as previously visited locations in the completion box.
Comment 5 Martin Koller 2012-08-17 19:10:24 UTC
Git commit 7d1f76d3d7e7c8c4f373acc10826028e4a184e2b by Martin Koller.
Committed on 17/08/2012 at 21:02.
Pushed by mkoller into branch 'KDE/4.9'.

avoid duplicate entries in konqueror address completion list

history list is added to completion list giving duplicates.
Avoid this by removing duplicates
FIXED-IN: 4.9.1

M  +1    -0    konqueror/src/konqmainwindow.cpp

http://commits.kde.org/kde-baseapps/7d1f76d3d7e7c8c4f373acc10826028e4a184e2b
Comment 6 Martin Koller 2012-08-17 19:10:25 UTC
Git commit d340e07534e1415e45a646943956c2640c249fa4 by Martin Koller.
Committed on 17/08/2012 at 21:02.
Pushed by mkoller into branch 'master'.

avoid duplicate entries in konqueror address completion list

history list is added to completion list giving duplicates.
Avoid this by removing duplicates
FIXED-IN: 4.9.1

M  +1    -0    konqueror/src/konqmainwindow.cpp

http://commits.kde.org/kde-baseapps/d340e07534e1415e45a646943956c2640c249fa4