Bug 166185 - kickoff show double search results
Summary: kickoff show double search results
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-kickoff (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-10 00:10 UTC by Martin Klapetek
Modified: 2009-07-19 19:24 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
double search results (65.35 KB, image/png)
2008-07-10 00:13 UTC, Martin Klapetek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Klapetek 2008-07-10 00:10:58 UTC
Version:            (using KDE 4.0.83)
OS:                Linux

When I search for something using kickoff's top search bar, the found applications are showed twice, but I noticed, that only KDE4 applications are shown twice. For example if I search for Firefox, it shows only one result, but if that's any K4 application, it's always twice there. And it is NOT twice in the menu itself, I mean if I browse through the Applications menu, it's only once in there.
Comment 1 Martin Klapetek 2008-07-10 00:13:49 UTC
Created attachment 25997 [details]
double search results

Here you can see the double results only for KDE4 applications. The 'IDE pro
vyvoj KDE' - KDevelop - is from KDE3 and the rest is either GTK or WINE apps.
Comment 2 Martin Klapetek 2008-07-10 00:17:53 UTC
Yeah and I'm using KDE from Fedora Rawhide repository, version KDE 4.00.85 (KDE 4.1 >= 20080703)
Comment 3 Aaron J. Seigo 2008-07-10 02:42:59 UTC
do you have kde3 installed as well?
Comment 4 Martin Klapetek 2008-07-10 11:24:21 UTC
Well I would say I do, but Fedora 9 comes with KDE 4 only, but there are also installed packages like kdelibs3, kdebase3 and a few other kde*3.
Comment 5 Martin Klapetek 2008-07-14 13:09:44 UTC
Bug still present in Fedora's rawhide packages version 4.0.98 (4.1 RC1)
Comment 6 Aaron J. Seigo 2008-07-14 19:41:34 UTC
do the duplications start the kde3 and the kde4 versions? (meaning they aren't really dupes at all, but different versions of the same application)
Comment 7 Luca Beltrame 2008-07-14 19:52:22 UTC
I noticed this too while playing around with a demo of Crossover Office 7. The entries (added by the CX installer after installing a windows application) appear twice in the search results. I can post a screenshot if needed.
Comment 8 Martin Klapetek 2008-07-14 20:08:29 UTC
Aaron: No, both of them starts the kde4 version. In fact, KDE3 apps (only few like Amarok, K3B, Kdevelop or few others) are not shown twice in the search results. Nor are the GNOME apps. Only the KDE4 applications as you can see on the screenshot I posted. And I also checked both results for version and they are both the same app (and same version of course). I guess it must be search bug, because the apps are not present twice when browsing categories normally through Applications tab.
Comment 9 Alex Merry 2008-08-11 21:31:58 UTC
Do you still get this with 4.1?

If so, do you get the same issue using KRunner (press ALT+F2, and type in the search term there)?

Also, can you please paste the output of
ls ~/.local/share/applications
for us?

Thanks
Comment 10 Martin Klapetek 2008-08-11 21:40:44 UTC
Yeah, I'm still getting this error with 4.1. And KRunner is not showing double results. And here's the output:

$ ls ~/.local/share/applications/
gimp.desktop  mimeapps.list  preferred-mail-reader.desktop  preferred-web-browser.desktop  wine


I'm thinking that the bug might be caused by previous installation of KDE 4.0.5 (as Fedora 9 was shipped with) and later then I just updated KDE to 4.1 from Rawhide repository and I'm thinking, that the original menu files (from 4.0.5) weren't overwritten by this update, but the update created new menu files instead.
Comment 11 Cédric Boutillier 2008-09-18 10:46:05 UTC
Hi !

I am experiencing a similar problem on Debian with KDE 4.1.1. But I finally came up with an explanation: the duplication is caused by the "Debian menu".

 A folder "Debian" is inserted in the Kde menu, with menu entries inserted at the installation of packages. These menu entries must refer to icons in the 32x32 xpm format, that are included with the package. That explains also why the icons are different and old-fashioned when compared to oxygen icons.

Maybe the other distributions have a similar complementary menu system ?

Cédric
Comment 12 Dario Andres 2008-12-08 23:23:54 UTC
Have you experienced this bug again with a recent KDE version ( 4.1.3 / 4.2beta1 / 4.2svn)? Thanks :)

Here(using KDE4.1.3 and KDE4.2svn (kdelibs svn rev.893007 /kdebase svn rev.893019), I can't reproduce it.
Comment 13 Colin J Thomson 2008-12-08 23:37:27 UTC
I cannot reproduce this error now since I updated to 4.1.80 (KDE 4.2 Beta1) Fedora 10/kde-redhat
Comment 14 Dario Andres 2008-12-08 23:38:32 UTC
If anyone can reproduce this bug with recent versions, I suppose this could be closed as WORKSFORME :)
Comment 15 Martin Klapetek 2008-12-09 11:47:02 UTC
Nope, it's gone for me - Fedora 10/KDE 4.1.3
Comment 16 Qiuye Wang 2009-07-19 19:24:24 UTC
Hi,

I'm experiencing this issue again. Now the duplication is not only in search bar of kickoff but also in krunner. 

Cédric has mentioned that the cause of the duplication is "Debian-menu", so I'm here wondering if this is just a distribution issue, because I'm also using Debian and I've realized, if I remove all files in /var/lib/menu-xdg/applications/menu-xdg/, which relates to Debian menu system, the duplication is just gone. However, every time I install a new application, the menu would be updated and all files in that folder are there again. Thus, the duplication happens again.

Here is the version-info: Debian GNU/Linux squeeze/sid | KDE 4.2.4

Qiuye