Bug 264063

Summary: Strange search results with knsrc file
Product: [Unmaintained] kdelibs Reporter: Martin Blumenstingl <martin.blumenstingl>
Component: knewstuffAssignee: Jeremy Whiting <jpwhiting>
Status: RESOLVED NOT A BUG    
Severity: normal CC: gladhorn, martin.blumenstingl
Priority: NOR    
Version First Reported In: 4.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The knsrc file which is causing trouble
The fixed knsrc file with the correct category name

Description Martin Blumenstingl 2011-01-23 12:45:30 UTC
Created attachment 56346 [details]
The knsrc file which is causing trouble

Version:           4.5 (using KDE 4.5.5) 
OS:                Linux

The attached knsrc file shows strange (too many/unrelated) search results.

Reproducible: Always

Steps to Reproduce:
-run "khotnewstuff4 yakuake.knsrc"
-compare the listed elements with the ones from: http://kde-look.org/index.php?xcontentmode=87
-the opendesktop API also lists everything correctly: http://api.opendesktop.org/v1/content/data?categories=87

Actual Results:  
A *LOT* of unrelated elements are shown.

Expected Results:  
Only "skins" from the "Yakuake Skins" category on kde-look.org should be shown.

This has been discussed on kde-devel:
http://lists.kde.org/?t=129453537700001&r=1&w=2
Comment 1 Martin Blumenstingl 2012-04-08 15:31:40 UTC
Created attachment 70237 [details]
The fixed knsrc file with the correct category name
Comment 2 Martin Blumenstingl 2012-04-08 15:32:42 UTC
it looks like the "Categories" field was wrong.

I think kde-look.org uses some kind of "translation" (user friendly display-name) for the categories on the left.
When opening the category (http://kde-look.org/index.php?xcontentmode=87) itself you can see a list of entries, and below each entry there's the category name written: "Yakuake Skin".
-> This seems to be the correct category name for the knsrc file.