Bug 182060

Summary: search in KDE4 Kickoff menu returns duplicates of all items; Lancelot launcher widget is OK
Product: [Unmaintained] plasma4 Reporter: pgnet <pgnet.dev+kde>
Component: widget-kickoffAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: arichardson.kde, asraniel, faure, milan, pBakhuis, ruchir.brahmbhatt, rutgert, toddrme2178
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: duplicate search results in kickoff menu

Description pgnet 2009-01-27 06:38:10 UTC
Version:            (using KDE 4.1.96)
OS:                Linux
Installed from:    SuSE RPMs


Search in the KDE4 Kickoff menu returns duplicates of all/(most?) items.

This is reproducibly seen with KDE4 Kickoff menu, but NOT in Lancelot widget menu.

i'm running:
opensuse 11.1
uname -a
  Linux server 2.6.27.7-9-xen #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux

with

 Version 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)) "release 78.1"

all are fully updated from the repos.

I've previously submitted more info @:

 https://bugzilla.novell.com/show_bug.cgi?id=468696). 

Also, this has been reported previously as a KDE bug:

 "KDE menu has many duplicates"
  http://bugs.kde.org/show_bug.cgi?id=170500

but, for the OP, was RESOLVED with no cause determined.
Comment 1 Todd 2009-01-28 02:45:31 UTC
Same problem here in KDE 4.2 with opensuse 11.1
Comment 2 Ruchir Brahmbhatt 2009-01-31 19:50:47 UTC
Created attachment 30792 [details]
duplicate search results in kickoff menu

I also confirm this on kde 4.2 in opensuse 11.1
Comment 3 Beat Wolf 2009-01-31 21:46:25 UTC
i never saw this and also can't confirm this with selfcompiled trunk
Comment 4 Alex Richardson 2009-02-01 21:58:01 UTC
I've got the same problem after updating to KDE 4.2 on opensuse 11.1
Comment 5 David Faure 2009-02-04 16:35:15 UTC
SVN commit 921138 by dfaure:

Backport r915356+915400+915818:
fix duplicated applications in the K menu and in keditfiletype, because kded was
creating kservices with absolute paths and not letting local ones override global ones.
BUG: 179946
BUG: 179462
BUG: 182060


 M  +2 -4      kdecore/services/kservice.cpp  
 M  +7 -0      kdecore/services/kservice_p.h  
 M  +1 -1      kdecore/sycoca/ksycoca.cpp  
 M  +6 -2      kdecore/sycoca/ksycocaentry.cpp  
 M  +8 -1      kdecore/sycoca/ksycocaentry.h  
 M  +3 -1      kdecore/sycoca/ksycocaentry_p.h  
 M  +2 -6      kdecore/sycoca/ksycocafactory.cpp  
 M  +46 -21    kded/kbuildservicefactory.cpp  
 M  +2 -1      kded/kbuildservicefactory.h  
 M  +1 -1      kded/kbuildsycoca.cpp  
 M  +3 -3      kded/vfolder_menu.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=921138
Comment 6 Stephan Binner 2009-02-05 14:59:48 UTC
*** Bug 180689 has been marked as a duplicate of this bug. ***
Comment 7 Ruchir Brahmbhatt 2009-02-06 10:51:11 UTC
This is no longer producible after latest update.
Comment 8 Rutger 2009-02-17 15:31:26 UTC
(In reply to comment #7)
> This is no longer producible after latest update.

The update did resolve the majority of duplicates.  Unfortunately, there are duplicates still for all applications installed via CrossOver Linux (http://www.codeweavers.com/products/cxlinux/).  (I have Microsoft Office and Visio installed via CrossOver.)
Comment 9 David Faure 2009-02-18 21:55:10 UTC
Then crossover is installing desktop files with different names... look into the dirs listed by the following commands, and find those that were created by crossover:
kde4-config --path xdgdata-apps
kde4-config --path apps  
 (legacy dirs)
Comment 10 Milan 2013-09-02 09:25:38 UTC
I'm had the same issue with Opensuse 12.3, linux 3.10 and KDE 4.10.

It turned out the 'applications' plugin was loaded twice in krunner. 

I solved it as follows:
Open krunner
Click on wrench icon
uncheck one of the two loaded 'applications' plugins