Bug 264063 - Strange search results with knsrc file
Summary: Strange search results with knsrc file
Status: RESOLVED NOT A BUG
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: knewstuff (other bugs)
Version First Reported In: 4.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-23 12:45 UTC by Martin Blumenstingl
Modified: 2012-04-08 15:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The knsrc file which is causing trouble (80 bytes, text/plain)
2011-01-23 12:45 UTC, Martin Blumenstingl
Details
The fixed knsrc file with the correct category name (83 bytes, application/octet-stream)
2012-04-08 15:31 UTC, Martin Blumenstingl
Details

Note You need to log in before you can comment on or make changes to this bug.
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.